Applying Clustering Techniques For Efficient Text Mining in Twitter Data
Applying Clustering Techniques For Efficient Text Mining in Twitter Data
Abstract- Knowledge is the ultimate output of decisions on a Mining is similar to data mining, for storing information in
dataset. The revolution of the Internet has made the global structured manner and on the contrary text mining uses texts
distance closer with the touch on the hand held electronic that are unstructured or semi-structured. The data is collected
devices. Usage of social media sites have increased in the past through World Wide Web, Linked In, government portals, face
decades. One of the most popular social media micro blog is book, twitter, blog, news articles, digital libraries, electronic
Twitter. Twitter has millions of users in the world. In this mail and so on. Approximately 80% of the organizational
paper the analysis of Twitter data is performed through the text information is stored in unstructured form [5].
contained in hash tags. After Preprocessing clustering
algorithms are applied on text data. The different clusters B. Applications and Issues in Text Mining
formed are compared through various parameters.
Visualization techniques are used to portray the results from Text mining has its roots in almost all the areas. Text is used
which inferences like time series and topic flow can be easily everywhere and has to be mined for information retrieval and
made. The observed results show that the hierarchical knowledge gathering. It is applied in fields like publishing,
clustering algorithm performs better than other algorithms. media, telecommunications, research, banks, insurance,
finance, government administration, legal documents, health
Keywords- Text mining, Visualization, Twitter, Clustering, care, business intelligence, national security, etc. All these
Time series analysis, Social media. fields have been improved and still waiting for betterment. The
major challenge arises from the natural language processing of
I. INTRODUCTION large information to extract required knowledge. Complexity
of extraction and computational cost initiates the need for
The communication of people has greatly changed in recent further improvement. Unstructured and multiple forms of text
years, one of the most important being social media documents makes the retrieval process challenging. Research
networking [1]. Nowadays, social media is not only used for work is still in need on issues like text mining that uses
personal networking but also for commercial purposes. different intermediate forms, integration of domain knowledge,
Happenings in the real world is shared and communicated via analysis of social media network, etc [6].
Internet. Internet forms a bridge between the users irrespective
of the global distance. The most popular social sites includes C. Integration of Text Mining and Visualization
Face book, Twitter and You tube [2]. The social media has
opened up many research opportunities because of the Visualization aids in better understanding of the extracted
increased amount of information. content from the raw database. It further gives a clear picture
of the information that has to be delivered. Text mining
A. Background integrated with visualization provides a better and fast
understanding of interpreted results. Text visualization has two
This paper deals with the analysis of the topic and event forms, Topic based and Feature based. In Topic based method,
detection on the social micro blogs. Particularly, Twitter which topics and events are visualized through visualization
is widely used and fast growing in real world blog. More than techniques. Some of the techniques include Tag clouds which
500 million users are assessing twitter and above 302 are active depict the keywords or named entities. They use features like
users which generate about 340 million messages everyday [1] colour, size and layout based on usability and importance.
[3]. People upload their opinion and real world happenings in Information landscape provides a geographical view of large
this public site. Current topics and trends are the main features set of documents for analysis. Text Flow method combines
of twitter. Twitter provides “hash tag (#)”, which is used for topic mining and interactive visualization techniques to
providing topics for tweets. If this hash tag is used by many visually analyze the evolution of topics in due course. In
people then the topic becomes the current trending topic [4]. Feature based method, Word clouds are commonly generated
Hence gathering, mining and analyzing tweets has its own to provide an intuitive visual summary of documents by
importance in all areas. This paper aims in analyzing the displaying the keywords in a compact layout. Facet Atlas
efficient text mining algorithms via clustering techniques. method integrates node-link diagram with density map to
visually analyze the multifaceted relations of the document
Text Mining- Text mining, also known as text data mining or [7].The organization of the paper is as follows. Section II deals
knowledge discovery process from the textual databases is with the recent research. Section III tells about the
generally the process of extracting interesting and non-trivial methodology and algorithms used. Section IV explains the
patterns or knowledge from unstructured text documents. Text
77
Integrated Intelligent Research (IIR) International Journal of Web Technology
Volume: 04 Issue: 02 December 2015 Page No.77-80
ISSN: 2278-2389
experimental results and discussions and finally in Section V
Authors Technique(s) used Year
conclusion is given. Observations
II. LITERATURE REVIEW Kaleel et K-means algorithm improved
al.[12] is used to form accuracy and
Recent research work on Twitter data has been in various detecting and runtime.
topics. Density based clustering, naïve based and other trending events
techniques used in research along with their observations are form twitter
listed in Table 1. clusters. Word cloud
and Google maps
Table 1: Review of the Related Work are used.
The twitter dataset is taken from the Sentiment 140 website for
academics [20]. R language and environment for statistical
computing and graphics is used to provide a wide variety of
statistical and graphical techniques, and is highly extensible.
Tweets are preprocessed through text preprocessing methods
and then applied on the clustering algorithms. K-means,
Entropy Weighted K-means and Hierarchical clustering
algorithms form clusters of similar data. The words that are
similar in tweets are grouped together in single cluster and
dissimilar words are grouped in different clusters. These
clusters formed are evaluated based on the internal cluster
validation parameters that are commonly used. Parameters like
Average Between, Average Silhouette Width, Pearson gamma,
Dunn and Dunn2 are calculated for all the three algorithms and
compared to find the best applying algorithm. The experiment
was performed on cluster size increasing from 2 to 20, on
preprocessed twitter data but the optimal and standard values
for the data set have been obtained for cluster size 6 to 10. The
optimal cluster size was obtained based on experiments
conducted. Table 2 lists observed values of these parameters
for the clustering algorithms used.It is clear from Table 2 that
Hierarchical algorithm performs better than the other two (a)
clustering algorithms for clusters of size ranging from 6 to 10.
In this research work visualization methods are applied to the
results interpreted from Hierarchical clustering algorithm.
Word cloud is used to display the frequency of words that
occur in twitter data. Time series analysis is one important
issue in the current scenario. The day to day happenings are
recorded and interpreted for knowledge discovery, information
retrieval and decision making. Area plot is created using Plotly
package in R language. This shows the time line of the topic
that is tweeted. The frequency of a topic that is currently
tweeted decides on the current trending news which is given
through 2D Histograms. Figure 2(a) shows the word cloud of
tweets, Figure 2(b) shows the time series visualization of
(b)
twitter data and Figure 2(c) shows the topic frequency of
twitter data. The interpreted results are visualized through
visualization methods.
REFERENCES
[1] Samar M.Alqhtani, Suhuai Luo and Brain Regan, “Fusing Text and
Image for Event Detection in Twitter,” The International Journal of
Multimedia and Its Applications (IJMA), vol.7, No.1, pp.27-35, February
2015.
[2] J.Mingers, “The paucity of multimethod research: a review of the
information systems literature,” Information Systems Journal, vol.13,
pp.233-249, July 2003.
[3] Twitter: https://en.wikipedia.org/wiki/Twitter.
[4] Rischan Mafrur, M Fiqri Muthohar, Gi Hyun Bang, Do Kyeong Lee,
Kyungbaek Kim and Deokjai Choi “Twitter Mining: The Case of 2014
Indonesian Legislative Elections,” International Journal of Software
Engineering and Its Applications, vol. 8, No. 10, pp. 191-202, 2014.
[5] AurangzebKhan, Baharum Baharudin, Lam Hong Lee, Khairullah
Khan“A Review of Machine Learning Algorithms for Text-Documents
Classification,” Journal of Advances in Information Techonology, vol.1,
No.1, Feburary 2010.
[6] K.L.Sumathy ,M.Chidambaram, “Text Mining: Concepts, Applications,
Tools and Issues – An Overview,” International Journal of Computer
Applications, vol. 80, No.4, pp. 29-32, October 2013.
[7] Guo-Dao Sun, Ying-Cai Wu, Rong-Hua Liang and Shi-Xia Liu “A
Survey of Visual Analytics Techniques and Applications:State-of-the-Art
Research and Future Challenges,” Journal of Computer Science and
Technology, vol. 28, No.5, pp. 852-86, September 2013.
[8] Chung-Hong Lee “Mining spatio-temporal information on microblogging
streams using a density-based online clustering method,” Expert Systems
with Applications, Elsevier, vol. 39, No. 10, pp. 9623–9641, August
2012.
[9] Farhan Hassan Khan, Saba Bashir, Usman Qamar “TOM: Twitter
opinion mining framework using hybrid classification scheme,” Decision
Support Systems, Elsevier, vol. 57, pp. 245–257, January 2012.
[10] Isti Surjandari, Muthia Szami Naffisah and M. Irfan Prawiradinata “Text
Mining of Twitter Data for Public Sentiment Analysis of Staple Foods
Price Changes,” Journal of Industrial and Intelligent Information,
Engineering and Technology Publishing ,vol. 3, No. 3, doi:
10.12720/jiii.3.3.253-257, September 2015.
[11] Janez Kranjc, Jasmina Smailovic, Vid Podpecan, Miha Grcar , Martin
Znidarsic, Nada Lavrac “Active learning for sentiment analysis on data
streams: Methodology and workflow implementation in the ClowdFlows
platform,” Information Processing and Management, Elsevier, vol. 51,
No.2 , pp. 187–203, March 2015.
80