Skip to content

Commit

Permalink
add visualizations
Browse files Browse the repository at this point in the history
  • Loading branch information
markallenthornton committed Aug 11, 2018
1 parent a5c2cae commit 55c8f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file added 3daffect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions validate_dict.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ cor(sdict[,2],norms$A.Mean.Sum)
# dominance vs. rationality
cor(sdict[,3],norms$D.Mean.Sum)



# plot valence
plot(sdict[,3],norms$V.Mean.Sum,pch=20,xlab="SVM valence prediction",ylab="Valence ratings")
abline(lm(norms$V.Mean.Sum~sdict[,3]))
# validate sentences/passages ---------------------------------------------

# validation data sets from here: https://archive.ics.uci.edu/ml/datasets/Sentiment+Labelled+Sentences
Expand Down

0 comments on commit 55c8f3a

Please sign in to comment.