analyze and predict sentiments expressed in text data
sentiment analysis is the process of classifying text by identifying subjectivities expressed in it.
sentiment analysis is used in almost all industries for applications such as analyzing customer surveys and social media reviews and making trading decisions using sentiment scores estimated from financial reports and news articles.
sentiment analysis techniques
building a classifier for sentiment analysis can be done using machine learning and deep learning algorithms in one of the two ways:
- using a prebuilt dictionary of words categorized into different sentiments
- using a set of prelabeled documents already classified into different sentiments
in matlab®, you can use built-in function calls such as and to perform sentiment analysis. alternatively, you can build your own sentiment analysis classifier by using various machine learning and deep learning algorithms. in addition, you can generate a domain-specific lexicon such as for finance or biomedical applications, and then perform sentiment analysis with the trained domain-specific sentiment classifier.
sentiment lexicon in word clouds generated from 10-k and 10-q reports.
to learn more about importing, exploring, visualizing, and building models with text data including sentiment analysis, see text analytics toolbox™.
examples and how to
software reference
see also: natural language processing, word2vec, n-gram, stemming, lemmatization, text mining with matlab, data science, deep learning, deep learning toolbox™, statistics and machine learning toolbox™, recurrent neural network