Views: 0 | Downloads: 0
Predicting future events has always been an interesting task — from predicting weather
and natural catastrophes to predicting sport outcomes, election results, and stock market
assets. It seems that it is in the human nature to try to guess or calculate what will
happen next. Moreover, with the advancement of computer science and methodologies for
data analysis, predicting future trends and events has become easier and more accurate.
Motivated by these phenomena and earlier studies, this dissertation investigates whether
the opinions expressed in Twitter microblogging posts (tweets), which discuss selected
companies, can indicate their future stock price changes. To detect expressed opinions we
rely on sentiment analysis, a research area concerned with detecting opinions, attitudes,
and emotions in texts.
In order to adjust sentiment analysis to the specific nature of Twitter messages, the
thesis first presents the experiments which resulted in selecting the most suitable sentiment
analysis algorithm and determining the best Twitter preprocessing setting.
An analysis whether tweets sentiment can be used for predicting stock market prices
is presented in two settings: the static and the dynamic setting. In the static setting,
the sentiment classifier is trained once and remains unchanged, while the dynamic setting
allows its adaptation to streams of continuously arriving Twitter messages. The adaptation
is performed using active learning, which periodically asks an oracle to manually label a
selected set of instances. The labeled instances are used for updating the classifier.
Due to the fact that tweets do not necessarily express positive or negative opinions,
the concept of neutral zone was used, which allowed us to employ a binary Support Vector
Machine (SVM) classifier to classify tweets into three sentiment categories of positive,
negative, and neutral (instead of positive and negative only). The thesis presents two
definitions of the neutral zone, i.e., the fixed neutral zone and the relative neutral zone.
Moreover, an indicator for predictive tweet sentiment analysis in finance, positive sentiment
probability, is formalized. In the static setting, the Granger causality test showed
that sentiments in stock-related tweets could be used as indicators of stock price movements
a few days in advance, where improved results were achieved by employing the neutral
zone, especially for the case of the relative neutral zone. These findings were adopted
in the development of a new methodology for stream-based active learning approach to
sentiment analysis, applicable in incremental learning from continuously changing streams
of Twitter posts. A series of experiments was conducted to determine the best active
learning setting for sentiment analysis in streams of tweets discussing finances of a given
company.
Selected parts of the study were made publicly available through the ClowdFlows
interactive data mining platform. Our sentiment analysis methodology is used also in the
PerceptionAnalytics platform, which provides insights into happenings on popular social
media Web sites.
The developed sentiment analysis methodology was successfully used in real-world applications
for montoring the public sentiment related to Slovenian and Bulgarian elections.