<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Electoral Predictions with Twitter: a Machine-Learning approach</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>M. Coletto</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>C. Lucchese</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Orlando</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>R. Perego</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IMT Institute for Advanced Studies</institution>
          ,
          <addr-line>Lucca</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>ISTI-CNR</institution>
          ,
          <addr-line>Pisa</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University Ca' Foscari of Venice</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Several studies have shown how to approximately predict public opinion, such as in political elections, by analyzing user activities in blogging platforms and on-line social networks. The task is challenging for several reasons. Sample bias and automatic understanding of textual content are two of several non trivial issues. In this work we study how Twitter can provide some interesting insights concerning the primary elections of an Italian political party. State-of-the-art approaches rely on indicators based on tweet and user volumes, often including sentiment analysis. We investigate how to exploit and improve those indicators in order to reduce the bias of the Twitter users sample. We propose novel indicators and a novel content-based method. Furthermore, we study how a machine learning approach can learn correction factors for those indicators. Experimental results on Twitter data support the validity of the proposed methods and their improvement over the state of the art.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The use of the Twitter micro-blogging platform as a tool to predict the outcomes of
social phenomena is a recurrent task in the recent social network analysis literature.
Successful studies can be found in different contexts using Twitter for predictive tasks:
from prediction of stock market [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] to movie sales [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and pandemics detection [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
Indeed, social systems can be studied through sophisticated models being validated
through online social networks and blogging platforms, since these new digital contexts
provide large scale data sets including millions of users. Computational Social Science
is becoming a leading research area in understanding communication patterns and
social behaviors, in tracking tastes and in predicting opinions [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. A relevant context
which received a lot of attention is the prediction of elections and opinions on
political events and decisions. Many articles propose quantitative approaches to predict the
electoral results in different countries: US [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], Germany [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], Holland [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], Italy [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
In particular, we distinguish two classes of methods used in literature: volume-based
approaches and content-based approaches.
      </p>
      <p>
        The first class refers to metrics consisting in counting tweets, users, mentions for
a given candidate or a political party. [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] shows that volumes of mentions of parties
reflects the distribution of votes in the election among six parties in 2009 German
elections. Similar results were achieved by other studies [
        <xref ref-type="bibr" rid="ref16 ref3">16, 3</xref>
        ]. Counting users, instead of
tweets, is effective as we can consider each user to be a single elector [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Similar
approaches were applied to Facebook data as well [
        <xref ref-type="bibr" rid="ref10 ref20">10, 20</xref>
        ]. For instance, the number of
Facebook supporters can be used as an indicator of electoral success. Other works
highlight some concerns about using tweet volumes to predict elections [
        <xref ref-type="bibr" rid="ref14 ref17 ref9">17, 14, 9</xref>
        ], showing
how in practical cases these approaches may under-perform the baseline. For instance,
in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] it is shown that some arbitrary choices (e.g., the set of considered parties, the
time frame, etc.) strongly affect the results, exhibiting a not consistent predictive
behavior.
      </p>
      <p>
        The second class of methods aims at exploiting text information in tweets, and
most approaches are based on sentiment analysis [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In this context sentiment
indicates the degree of agreement expressed in a tweet in relation to a political party or
candidate. A few studies applied a machine learning approach to classify tweets
according to their polarity, either by training on a manually annotated sample [
        <xref ref-type="bibr" rid="ref16 ref3">16, 3</xref>
        ] or
through dictionary-based unsupervised methods [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Sentiment analysis methods have
been used to improve the predictive results of counting methods, but they still are an
open research challenge due for instance to the not trivial identification of sarcasm and
irony.
      </p>
      <p>
        Results of both approaches seem not to be consistent across datasets [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Predictions
vary significantly in relation to the observation period, the data collection and
cleansing methods, and the performance evaluation strategy. In fact, all predictive studies
have been performed after the outcomes, thus evaluating correlations but not prediction
power [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], and scientific papers are mostly biased towards positive results and they do
not report negative ones [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Finally, the predictive power of Twitter is very sensitive to
the bias of its users, as Twitter users are not a representative sample of users involved in
the elections, neither of people in general. In particular, [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] discusses this issue,
stating that demographic groups can have different political opinions not equally detectable
from new social media. [
        <xref ref-type="bibr" rid="ref16 ref8">16, 8</xref>
        ] proposed some de-biasing strategies.
      </p>
      <p>
        In this work we adopt as baselines the approach used in [
        <xref ref-type="bibr" rid="ref16 ref19">19, 16</xref>
        ], i.e., counting the
mentions of the political candidates in the election, and the one used in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], i.e., counting
unique users mentioning a candidate. We analyze a data set of tweets related to the 2013
primary elections of the major Italian political party. The data set is partitioned on the
basis of the twenty Italian regions from which the tweets were posted; since we know
the electoral results per each region, we can study them as independent election events.
      </p>
      <p>First, we evaluate and discuss state-of-the-art methods based on tweet and user
volumes. We, then, propose several new predictors that exploit some enhanced
classifications of tweets based on hash-tags. We show that, by properly classifying tweets, it is
possible to reduce the error of baseline methods by a factor of 25%.</p>
      <p>We also address the bias issue. We propose to learn the degree of bias of each
candidate using external polls on expected demographic distribution of voters, so that
the prediction can be adjusted accordingly. It turned out that our data set is biased
mainly towards young people between 25 and 44 years old and we show that by learning
the Twitter bias degree, the electoral ranking outcome can be correctly predicted in 75%
of the Italian regions. We conclude that machine learning approaches can be exploited
successfully to learn correcting factors for the prediction if training data is available.
In this work we investigate the echo on Twitter of the primary elections of the Italian
major political party: the “Partito Democratico”. Our study is conducted on a data set
of 1.7 million tweets. The election took place on December 8th 2013, and the
dataset covers about 10 days before and 5 days after the election day. We considered only
the geo-located tweets in Italian. In Fig. 1 we report a chart with the daily volumes of
collected geo-located tweets.</p>
    </sec>
    <sec id="sec-2">
      <title>Political context</title>
      <p>The “Partito Democratico” is the greatest social-democratic political party in Italy.
Three candidate were selected to run for the primary election that took place on
December 8th 2013: Mr. Renzi, Mr. Cuperlo, and Mr. Civati. They appeared in the
traditional media (TV shows and Press interviews), and they also invested a lot of effort on
social media, including Twitter, in order to create hype and discussions. The candidates
received 67.55%, 18.21% and 14.24% of votes, respectively. This result is difficult to
predict if we simply base the prediction on Twitter data volumes, because, as shown
in the following sections, the presence of Mr. Cuperlo is quite limited compared to the
other two candidates. This makes this data set very challenging. Note that Mr. Renzi
and Mr. Civati were leading emerging and younger factions in the party.</p>
    </sec>
    <sec id="sec-3">
      <title>Data collection and cleansing</title>
      <p>The data used in the case study was collected through Twitter API by querying a list of
keywords related to the elections and the candidates 4. The selection of keywords and
hash-tags was large enough to guarantee a good coverage of the elections5.</p>
      <p>
        Data cleansing is a core activity to analyze reliable data. Our initial dataset
contained about 1.7 million tweets. We deleted partial data and irrelevant tweets provided
by Twitter APIs. We selected the Italian tweets on the basis of the language declared
by Twitter users and the language detected by a machine learning classifier by
Twitter. Only about 8 thousand tweets provided GPS information, whereas the remaining
tweets were geo-located by matching the user profile location with the Italian cities and
regions. We finally filtered 95,627 geo-located tweets across the 20 regions of the
country, taking into consideration only the tweets published before the election day. The
final data set size ( 95 thousand) is comparable with the data sets used in literature,
in particular, considering our baseline approaches: namely [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] where the authors
analyzed about 104 thousand tweets covering one month preceding the German elections
4 Data were collected by Michelangelo Puliga, IMT for Advanced Studies. We thank IMT and
      </p>
      <p>
        LinkaLab for the courtesy.
5 The list of users (through mentions), hash-tags and keywords tracked is the following:
matteorenzi, cuperlo, civati, giannicuperlo, vvattuone, giannipittella, pippocivati,
giuseppecivati, renzi, primarie pd, partito democratrico, primariepd, iovotoperche´, pd, matteorisponde,
congressopd, PrimariePD2013, cambiaverso, pdnetwork, ilconfrontopd,iostoconcivati, ciwati,
segretario, pittella, insultacivati, d’alema, massimoleaderpd, dalema, giuseppecivati.
in 2009, and [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] where the authors compared different predictive approaches on a data
set of about 114 thousand tweets, covering the three months before U.S. congressional
election of 2010. The time window considered in our work is limited to only 10 days
before the elections, in line with other works which consider a short time range before the
election date being more relevant for predictive tasks, for instance [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] (1 week). Fig. 2
shows the amount of data collected per region before the election date, and the
percentage of mentions of each candidate. Fig. 3 shows the distribution of hash-tag occurrences
of candidate names over time, before and after the election date. We investigated those
users with the highest posting rate to remove anomalous users. From our evaluation,
even the most active users (more than 1 thousand tweets, written in the 10 days before
the election) posted meaningful tweets, different from one another, indicating a human
behavior. Surprisingly more active users turned out to be individual supporters or local
organized groups, not newspapers or official institutional pages.
In the following we evaluate several estimators, or predictors. A predictor produces
an estimate (c) of the share of votes that the candidate c will receive. Each predictor is
normalized over the set of candidates C before the evaluation. The normalized version
(c) is defined as:
We used three different evaluation measures to assess the approaches discussed in
this work. The most commonly used evaluation measure is the Mean Absolute Error
(MAE). We also report the Root Mean Squared Error (RMSE), as it is more
sensitive to large estimation errors. Finally, since we are also interested in the capability of
predicting the correct ranking of the candidates, we also introduced the Mean Rank
Match (MRM) measure, i.e., the mean number of times that the correct ranking of all
the candidates was produced. Note that we conducted a per-region analysis, meaning
that a prediction is produced for every region by exploiting the regional data only. The
presented results are averaged across the 20 Italian regions.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Baseline methods</title>
      <p>
        A basic approach is described in [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. They estimated the share of votes of a political
party as the share of tweets mentioning it. Let T be set of tweets in the observed period,
and let C be the set of parties, the popularity f (c) of a party is defined as:
(c) = f (c) = jft 2 T j c 2 tgj
where c 2 t holds iff the tweet t mentions the party c (in our case study we consider
different candidates in a primary election, which are assimilated to parties running in
a political election). Understanding whether a tweet discusses a given political party
may not be straightforward. In [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], a tweet is considered to mention a given political
party if its text contains the party acronym or th name of selected politicians of the
party. This simple estimator achieved a MAE of 1.65% and it was able to predict the
correct ranking of the elections. Authors concluded that f (c) can be used as a plausible
estimation of vote shares, and they show that this estimator is very close to traditional
election polls.
      </p>
      <p>
        Users count, instead of tweet counts, were considered in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Let U be the set of
twitter users, the popularity u(c) of a party is defined as the number of users mentioning
c at least once in the observed period:
      </p>
      <p>(c) = u(c) = jfu 2 U j 9tu 2 T ^ c 2 tugj
where tu denotes a tweet t authored by user u. The u(c) predictor showed to be only
marginally better. We named the above two methods TweetCount and UserCount
respectively.</p>
      <p>In our analysis, we considered a tweet to mention a candidate if it contains a
hashtag with his family name, i.e., #renzi, #cuperlo or #civati. The performance
measures on our data set are reported in Table 1. The performance of the first two
methods are very close both in terms of MAE and RMSE. We can observe some
improvement in terms of MRM, suggesting the focusing on Twitter users as estimators of
the behavior of voters is a valuable approach. Considering the full text instead of
hashtags with these predictors did not provide any significant benefit, and therefore results
are not reported here. We exploit the full text in some content-based predictor presented
later.</p>
    </sec>
    <sec id="sec-5">
      <title>Exploiting tweet/user classification</title>
      <p>We first propose an improvement over the UserCount strategy. According to
UserCount, the relation according to which one Twitter user corresponds to one voter is
not satisfied as users mentioning more than one candidate are taken into consideration
multiple times. We correct this behavior with a normalization by the number of
candidates mentioned. We say that a user u 2 U is likely to vote for candidate c 2 C with
probability P (cju), defined as:</p>
      <p>P (cju) =</p>
      <p>If9tu 2 T ^ c 2 tug
jfc0 2 Cj9tu 2 T ^ c0 2 tugj
where Ifxg is equal to 1 if x is true and 0 otherwise. Clearly, 8u 2 U ; Pc2C P (cju) =
1. We thus estimate the number of users likely to vote candidate c as:</p>
      <p>UserShare(c) =</p>
      <p>X P (cju)
u2U
In the following we propose some enhanced classification of tweets polarity for the
candidates. We try to evaluate what is the probability that mentioning a hash-tag h
leads to a vote for a given candidate c. We introduce an approximation here, with the
usual assumption that mentioning a candidate is equivalent to voting a candidate. Then,
we can easily estimate P (cjh) as follows:</p>
      <p>P (cjh) =</p>
      <p>P (c; h) = jft0 2 T jc 2 t0 ^ h 2 t0gj</p>
      <p>P (h) jft0 2 T jh 2 t0gj
This has the effect of smoothing the impact of very frequent hash-tags which are likely
to occur frequently with every candidate mention, thus not providing any significant
signal. By focusing on the subset of the 100 most frequent hash-tags H, each tweet
t 2 T is associated with a candidate c 2 C according to the score:</p>
      <p>SH(cjt) =</p>
      <p>X P (cjh)
According to SH(cjt) every hash-tag in t may contribute to strengthen the relation with
a given candidate c 2 C. We can now use SH(cjt) to label a tweet with a candidate. We
say that t is labeled with c, or equivalently H(t) = c, if c = arg maxc02C SH(c0jt).
Whenever H(t) is non uniquely defined, i.e., multiple candidates have the same score,
t is assigned to c with probability f (c), where f (c) is the normalized tweet count. We
finally introduce a new indicator measuring the count of tweets labeled with a given
candidate:</p>
      <p>ClassTweetCountH(c) = jft 2 T j c =</p>
      <p>H(t)gj
This indicator is extended to consider users rather than tweets. We say that u is labeled
with c, or equivalently H(u) = c, if c = arg maxc02C jftu 2 T jc0 = H(tu)gj.
Whenever H(u) is non uniquely defined, i.e., multiple candidates have the same score,
u is assigned to c with probability f (c). We therefore define an indicator counting the
number of users labeled with a given candidate:</p>
      <p>ClassUserCountH(c) = jfu 2 U j c =</p>
      <p>H(u)gj
We finally found interesting to focus on the candidates mentions only instead of the set
of hash-tags H. Analogously to ClassTweetCountH and ClassUserCountH, we can
define new labeling functions C based on a new score function SC:</p>
      <p>SC(cjt) =</p>
      <p>X P (cjh)
h2t\C</p>
      <sec id="sec-5-1">
        <title>Given</title>
        <p>C, we thus define the following strategies:</p>
        <p>ClassTweetCountC(c) = jft 2 T j c =</p>
        <p>ClassUserCountC(c) = jfu 2 U j c =</p>
        <p>C(t)gj
C(u)gj
One of the assumptions of this work is that Twitter users are not a representative sample
of the voters population. Even if we were able to correctly classify each Twitter user, we
would not be able to make a reliable estimate of the voting results as (i) several Twitter
users may not vote, (ii) several voters are not present on Twitter, and (iii) the voters of
each candidate have a different degree of representativeness in Twitter.</p>
        <p>Given a predictor (c), we aim at learning a set of weights wc, one for each
candidate, such that wc (c) improves the estimate of actual votes received. The weights
wc should act as a bridge correcting an estimate based on Twitter users to fit real world
users behavior.</p>
        <p>We aim at learning the weights wc. For each region of Italy and for each candidate c,
we create a training instance hyc; xci, where yc is the target variable being equal to the
percentage of votes actually achieved by c in the given region, and xc is the input
variable equal to a given estimator (c). In general, a vector of input variables can be used.
We thus have a training data set with 60 training instances coming from 20 regions and
3 candidates. To conduct a 5-fold cross validation the data set was split region-wise in
training and test sets. The training set was used to learn a weight wc via linear regression
that minimizes (yc wc (c))2. We applied this approach to the two most performing
predictors evaluated so far, i.e., UserShare and ClassTweetCountC. We name the
corresponding machine learned strategies ML-UserShare and ML-ClassTweetCountC.
As reported in Table 3 these new approaches provide a significant improvement
according to all metrics. The improvement is of about 15% in terms of MAE and 10% in
RMSE. A huge improvement is observed according to the MRM metric. For instance,
ML-UserShare is able to provide the correct candidate ranking in 15 out of 20 regions.
This means that we were able to reduce the prediction error on the votes share (both
MAE and RMSE) up to the point of being able to correctly predict the final ranking
of the candidates. By inspecting the weights learned by the ML-UserShare strategy,
we see that Renzi, Cuperlo and Civati have weights 1:02, 1:24 and 0:70 respectively.
This means that the second candidate is under-represented in the Twitter data, and
symmetrically for the third candidate. In Fig. 4 we show the actual voting results and the
estimations produced by UserShare and ML-UserShare. The correcting weights of
ML-UserShare have sometimes the effect of inverting the rank generated by
UserShare of the two candidates Cuperlo and Civati, in agreement with the actual election
results.</p>
        <p>The drawback of this approach is that it requires a training data where to learn the
correction weights wc. This makes it not possible to directly apply the method before
the election takes place. On the other hand, we can assume that weights are sufficiently
stable, i.e., that the degree of representativeness of the Twitter sample for a specific
sample does not change abruptly. If this is the case, then we can learn those weights
by exploiting data from previous events. Indeed, it would be possible exploit elections
at municipality, regional and European level to learn a proper set of weights for
national elections. Another interesting case is that of a two-round voting system, where
the model could be trained after the first round and used to predict the outcome of the
second. Yet another option is to complement prediction with traditional polls data.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Including Content-Based Analysis</title>
      <p>The above approach is very general as several features about a candidate can be
considered altogether by extending the input variable x to a vector of input variables. We
propose to include text analysis and semantic analysis as follows. We considered the top
100 words (not only hash-tags) most frequently occurring in the data set after stop-word
removal and stemming. These 100 words W where used to build a content-based feature
vector. For each candidate and for each region, we computed the number of occurrences
of each word in W normalized by the number of tweets in the region considered. This
new feature vector include the names of the candidates, but it is also likely to include, if
frequent, other significant names, topics or catch-phrases which are relevant to estimate
the reach of a candidate.</p>
      <p>Similarly as for ML-UserShare, we built a new training data set where for each
training instance hyc; xci, xc contains the content-based feature vector for c, to which
we also included the predictor UserShare. The resulting model should be able to blend
text analysis with the predictor UserShare. The weight vectors for each candidate were
learned with LASSO linear regression. The resulting predictor is named
ContentAnalysis. As shown in Table 3, ContentAnalysis achieves the best MAE and RMSE, and
a good value of MRM.</p>
    </sec>
    <sec id="sec-7">
      <title>Demographic analysis</title>
      <p>We think that the main issue of any social network analysis, aiming at
understanding public opinion, is that social networks are not a representative sample of people,
or, in this context, of the voters. The bias introduced by Twitter should be carefully
taken into consideration. From the data we collected, it was not possible to infer details
about users, e.g., age, education or other. We resorted to analyze the Twitter
demographical bias through external polls on the age distribution of voters6. We compared
the UserShare predictor against the expected result of 5 age range classes. The results
are reported in Table 4 ordered by MAE, showing that UserShare is more accurate
in predicting the votes of people in the range of 25-44 years old. It is known that the
average age of an Italian Twitter user is 32 years (larger than the world average age
which is 24), according to a report of Pew Research published in 2013, confirming
our preliminary results. This suggests that Twitter analyses and traditional polls can be
complemented together in order to achieve a wider coverage.
Finally, in order to provide a full picture of our analysis, we provide estimations at
national level, i.e., by considering the whole data-set without partitioning by region
without machine learning approach.</p>
      <p>
        Table 5 shows the performance of TweetCount [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] and UserShare. We also
report the average error of the electoral polls made by different polling institutes (period
26 Nov - 04 Dec), as it is reported in termometropolitico.it, a website which collects
and comments political polls before elections.
      </p>
      <p>The two methods TweetCount and UserShare are very close to the polls error, and
we can explain this error with the age sampling bias which is discussed in the previous
section. Note that we didn’t use any machine learning to improve the prefiction in this
case. Finally, recall that the cost of traditional polling is obviously higher that the cost
of twitter monitoring.</p>
      <sec id="sec-7-1">
        <title>6 Data from polls performed by Quorum (polling Institute).</title>
        <p>In this work, we tackled the problem of providing accurate estimation of real world
phenomena through social network analysis with three novel contributions.</p>
        <p>First, we evaluated counting-based state-of-the-art methods, and we proposed an
enhanced user centered predictor that models every single user with a voting probability
across the candidates. This predictor improved by 25% the baseline methods.</p>
        <p>Then, we addressed the main issue of the social network sample bias. We proposed
a few machine learning approaches, also including content-based analysis, with the
goals of learning bias correcting factors. In our case, we were able to estimate the over
or under representativeness of each candidate in our data. We believe that exploiting
machine learning, both for an improved classification of users and for correcting the
sample bias is a crucial task in social network analysis. The main drawback of such
techniques is that they require training data. We believe that such drawback can be
overcome by exploiting continuous analysis over time leveraging related events, e.g.,
political elections at any level. How to transfer the knowledge gained in one analysis to
other scenarios is an open research problem.</p>
        <p>In conclusion, we believe that major improvements in the field can be achieved
by integrating several sources of information, such as traditional polls, multiple social
networks, demographic data, historical data, analyses of related events, content-based
and network-based properties. Such wealth of information can be exploited altogether
through machine learning approaches. The integration of all of these approaches may
open up new research challenges and opportunities in the field.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Asur</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huberman</surname>
            ,
            <given-names>B.A.</given-names>
          </string-name>
          :
          <article-title>Predicting the future with social media</article-title>
          .
          <source>In: Web Intelligence and Intelligent Agent Technology (WI-IAT)</source>
          ,
          <year>2010</year>
          IEEE/WIC/ACM International Conference on. vol.
          <volume>1</volume>
          , pp.
          <fpage>492</fpage>
          -
          <lpage>499</lpage>
          . IEEE (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bermingham</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smeaton</surname>
            ,
            <given-names>A.F.</given-names>
          </string-name>
          :
          <article-title>Classifying sentiment in microblogs: is brevity an advantage?</article-title>
          <source>In: Proceedings of the 19th ACM international conference on Information and knowledge management</source>
          . pp.
          <fpage>1833</fpage>
          -
          <lpage>1836</lpage>
          . ACM (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bermingham</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smeaton</surname>
            ,
            <given-names>A.F.</given-names>
          </string-name>
          :
          <article-title>On using twitter to monitor political sentiment and predict election results (</article-title>
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bollen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mao</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zeng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Twitter mood predicts the stock market</article-title>
          .
          <source>Journal of Computational Science</source>
          <volume>2</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Caldarelli</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chessa</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pammolli</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pompa</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Puliga</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riccaboni</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riotta</surname>
          </string-name>
          , G.:
          <article-title>A multi-level geographical study of italian political elections from twitter data</article-title>
          .
          <source>PloS one 9</source>
          (
          <issue>5</issue>
          ),
          <year>e95809</year>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>DiGrazia</surname>
          </string-name>
          , J.,
          <string-name>
            <surname>McKelvey</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bollen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rojas</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>More tweets, more votes: Social media as a quantitative indicator of political behavior</article-title>
          .
          <source>PloS one</source>
          <volume>8</volume>
          (
          <issue>11</issue>
          ),
          <year>e79449</year>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Fanelli</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Do pressures to publish increase scientists' bias? an empirical support from us states data</article-title>
          .
          <source>PloS one 5</source>
          (
          <issue>4</issue>
          ),
          <year>e10271</year>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gayo-Avello</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Don't turn social media into another'literary digest'poll</article-title>
          .
          <source>Communications of the ACM</source>
          <volume>54</volume>
          (
          <issue>10</issue>
          ),
          <fpage>121</fpage>
          -
          <lpage>128</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Gayo-Avello</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Metaxas</surname>
            ,
            <given-names>P.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mustafaraj</surname>
          </string-name>
          , E.:
          <article-title>Limits of electoral predictions using twitter</article-title>
          .
          <source>In: ICWSM</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Giglietto</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>If likes were votes: An empirical study on the 2011 italian administrative elections</article-title>
          . (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Jungherr</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Ju¨ rgens,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Schoen</surname>
          </string-name>
          , H.:
          <article-title>Why the pirate party won the german election of 2009 or the trouble with predictions: A response to tumasjan, a</article-title>
          ., sprenger, to, sander, pg, &amp;
          <article-title>welpe, im “predicting elections with twitter: What 140 characters reveal about political sentiment”</article-title>
          .
          <source>Social Science Computer Review</source>
          <volume>30</volume>
          (
          <issue>2</issue>
          ),
          <fpage>229</fpage>
          -
          <lpage>234</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Lampos</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Bie</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cristianini</surname>
          </string-name>
          , N.:
          <article-title>Flu detector-tracking epidemics on twitter</article-title>
          .
          <source>In: Machine Learning and Knowledge Discovery in Databases</source>
          , pp.
          <fpage>599</fpage>
          -
          <lpage>602</lpage>
          . Springer (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Lazer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pentland</surname>
            ,
            <given-names>A.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Adamic</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Aral</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barabasi</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brewer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Christakis</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Contractor</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fowler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gutmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , et al.:
          <article-title>Life in the network: the coming age of computational social science</article-title>
          .
          <source>Science</source>
          (New York, NY)
          <volume>323</volume>
          (
          <issue>5915</issue>
          ),
          <volume>721</volume>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Metaxas</surname>
          </string-name>
          , P.T.,
          <string-name>
            <surname>Mustafaraj</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gayo-Avello</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>How (not) to predict elections</article-title>
          .
          <source>In: Privacy, security, risk and trust (PASSAT)</source>
          ,
          <source>2011 IEEE third international conference on and 2011 IEEE third international conference on social computing (SocialCom)</source>
          . pp.
          <fpage>165</fpage>
          -
          <lpage>171</lpage>
          . IEEE (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>O</given-names>
            <surname>'Connor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Balasubramanyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Routledge</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.R.</given-names>
            ,
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.A.</surname>
          </string-name>
          :
          <article-title>From tweets to polls: Linking text sentiment to public opinion time series</article-title>
          .
          <source>ICWSM 11</source>
          ,
          <fpage>122</fpage>
          -
          <lpage>129</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Sang</surname>
            ,
            <given-names>E.T.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bos</surname>
            ,
            <given-names>J.: Predicting</given-names>
          </string-name>
          <article-title>the 2011 dutch senate election results with twitter</article-title>
          .
          <source>In: Proceedings of the Workshop on Semantic Analysis in Social Media</source>
          . pp.
          <fpage>53</fpage>
          -
          <lpage>60</lpage>
          . Association for Computational Linguistics, Stroudsburg, PA, USA (
          <year>2012</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>2389969</volume>
          .
          <fpage>2389976</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Skoric</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poor</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Achananuparp</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lim</surname>
            ,
            <given-names>E.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jiang</surname>
          </string-name>
          , J.:
          <article-title>Tweets and votes: A study of the 2011 singapore general election</article-title>
          .
          <source>In: System Science (HICSS)</source>
          ,
          <year>2012</year>
          45th Hawaii International Conference on. pp.
          <fpage>2583</fpage>
          -
          <lpage>2591</lpage>
          . IEEE (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>A.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rainie</surname>
          </string-name>
          , H.:
          <article-title>The Internet and the 2008 election</article-title>
          . Pew Internet &amp;
          <string-name>
            <surname>American Life Project</surname>
          </string-name>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Tumasjan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sprenger</surname>
            ,
            <given-names>T.O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sandner</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welpe</surname>
            ,
            <given-names>I.M.:</given-names>
          </string-name>
          <article-title>Predicting elections with twitter: What 140 characters reveal about political sentiment</article-title>
          .
          <source>ICWSM 10</source>
          ,
          <fpage>178</fpage>
          -
          <lpage>185</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Williams</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gulati</surname>
          </string-name>
          , G.:
          <article-title>What is a social network worth? facebook and vote share in the 2008 presidential primaries</article-title>
          .
          <source>American Political Science Association</source>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>