Tableau 's R integration for sentiment analysis

£可爱£侵袭症+ 提交于 2019-12-12 03:16:46

问题


could you help me. I saw on youtube the video about sentiment analysis in R, and the man showed how integrate R in Tableau, but he used another package , namely "sentiment", it does not suit me. And he used classify _ function from sentiment package and when he wrote formula in "calculate field" in tableau, he entered this

SCRIPT_STR('classify_polarity(.arg,algorithm="Bayes",verbose=TRUE) [,4]',

ATTR([CommentText]))

link https://boraberan.wordpress.com/2013/12/24/sentiment-analysis-in-tableau-with-r/

But for various reasons, i work with code, which specified here

http://chengjun.github.io/en/2014/04/sentiment-analysis-with-machine-learning-in-R/

And i don't know , on the basis of this code, what formula i must write in the calculate field. Please tell me, what i need write.


回答1:


As far as i know sentiment has been removed from the cran. but you would find sentiment analysis version of jeffery breen most suitable. Check this link for more info.

Sentiment analysis using R



来源:https://stackoverflow.com/questions/32034830/tableau-s-r-integration-for-sentiment-analysis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!