Abstract

AbstractIn finding prediction in a range of domains, sentiment classification of the Twitter and NEWS data has been applied successfully. However, it is still difficult and continuing research to use sentiment classification to forecast stock market factors. Sentiment analysis is complex and essential task that must be done, and natural language processing and machine learning all are concerned. The purpose of this research is to compare accuracy of the three feature extraction techniques (TF-IDF, CountVectorizer, Word2Vec) and three machine learning classifiers (logistic regression, random forest, and Naive Bayes classifier) in order to provide stock-related tweets and news data with positive, negative, and neutral sentiment. The experimented results show that random forest algorithm provides highest accuracy and logistic regression algorithm with the less accuracy.KeywordsSpark NLP pipelinePreprocessingTokenizerFeature extractionMachine learning classifierSentiment classification

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.