Harnessing the power of ML and NLP for decision making in education sector from social media data

Автор: Murthy H., Lamkuche H.

Журнал: Cardiometry @cardiometry

Рубрика: Original research

Статья в выпуске: 22, 2022 года.

Бесплатный доступ

The active social media users across the globe have passed the 3.8 billion mark. Platforms like Facebook, Reddit, Instagram, Twitter, and more are an ocean full of opinions and views. With over 500 million tweets being generated daily, this enormous volume of data can offer very prominent insights and allow organizations and businesses to make strategic decisions. The COVID-19 pandemic has changed the landscape of learning and education dramatically. With a sudden deviation from the classroom in many parts of the world, some wonder if the adoption of online learning will continue with the outbreak of the post-epidemic epidemic and how such a change could affect the global education market. The crux of the problem is how we need to analyze vast amounts of data efficiently. We chose to employ advanced ML and NLP techniques to analyze the sentiment of the masses on digital learning and important extracting demographic information from them. In this paper, we will make an effort to understand the orientation of the academicians towards the recent online education adoption. We will collect the data from the tweets using the trending tags of COVID-19 and Online classes.

Еще

Social media, tweets, pandemic, nlp, covid-19, sentiment analysis, education

Короткий адрес: https://sciup.org/148324623

IDR: 148324623   |   DOI: 10.18137/cardiometry.2022.22.415420

Текст научной статьи Harnessing the power of ML and NLP for decision making in education sector from social media data

Harshita Murthy, Hemraj Lamkuche. Harnessing the power of ML and NLP for decision making in education sector from social media data. Cardiometry; Issue 22; May 2022; p. 415420; DOI: 10.18137/cardiometry.2022.22.415420; Available from: harnessing_power_ML_NLP

The term ‘Social Media Analytics’ means the science of extracting important hidden information with large amounts of informal and poorly constructed social media data to enable informed and insightful decisions.

A study suggests that the current active social media users across the globe in 2020 is around 3 billion and is predicted to only grow in the coming years. These users are spread across social media platforms such as Twitter, Facebook, Reddit, etc. With the backing up of vast amounts of data at our disposal, it is only smart to design and engineer a tool scientifically to analyze the data containing people’s views and opinions and use them to make decisions. In these extraordinary times of the COVID-19 pandemic rattling the world, it becomes extremely important to study and understand the sentiments and behavior of the people across the world engaged in various sectors [1].

One among the various sectors, which have been badly affected by the pandemic, is the Education sector. In this pandemic, how physical teaching has dramatically moved towards virtual learning is noticeable and has resulted in divided opinion among people voicing their views positively, negatively, and some being neutral. With the adoption of online learning, it is important to study and analyze how this major rehaul in education has impacted its people. With the recent development in social media usage, the generated data is being used in multiple areas like politics, sports, health, entertainment, shopping, education, and more. Social media is used by businesses to get insights into customers’ feedback, likings, and more; there are several benefits of Social Media: Communication, Information sharing, Research Media, Business Marketing, Discussion platforms, Reviewing, and more [2].

The Data Analysis applies satirical methods to evaluate data and draw significant insights. Some of the statistical methods used to conclude the data provided include multiple regressions, Logistics regression, ANOVA, etc. The architecture and the tools used for the analysis play a vital role in the analysis outcome [3]. Every type of method requires different forms of data to be fed. Hence, the pre-processing of the data is varied from method to method. Some of the popular transformation and extraction tools used in social media analytics are- IBM’s many eyes, Google trends,

Google Fusion Tables, Twitter Feeds, Zoho Reports [4].

2    Literature review

With increasing attention towards the sentiment analysis in social media, various researches on the users’ attitude are being analyzed using the hash tags such as #Coronavirus Outbreak, #COVID19 using the algorithms Naïve Bayesian Classifier and NLP library nltk for Python [5].

Social media is a great source of information and opinions for many users. It is a great spring of public perception and behavior analysis on social trends. The data can be derived from the APIs and further analyzed in Google Colab notebook using Python [6].

A huge crisis of coronavirus pandemic has invaded the world. People are bursting with panic and mass fear as time progresses, which call for discovering effective analytical methods to extract mass sentiments using machine-learning algorithms by using the abundant twitter data available [7].

With the increase in the ease of internet access, people wanting to learn while earning and in their free time, the scope of online education has widened. It is considered that as time progresses, the majority of the institutions will start providing a full-fledged online course for higher education [8]. Everyone who wants to learn is a potential student. The course assessment designed for an online course is relatively easier to pass. It could be a disservice to involved people. With the drastic increase in social media users, it is considered a very important source of data. Businesses analyze the social view of their product or service. Due to the COVID-19 pandemic, social media is even more active, and hash tag topic searching is efficient and an effective way to analyze data using Twitter API. Further, sentiment analysis can be carried out [9]. A study was conducted on several students, who were asked to attend the classroom teaching, and further tests were conducted. Further, a similar evaluation was on students who attended a fully online course and the key factors- All these factors may not directly result in higher grades in the exams but have a stable GFI-Goodness-of-fit index that makes it a good judgment criterion. It was concluded that classroom teaching was more effective than a fully online course. However, the quality of education of an online course could be improved by developing better note-making practices and a better learning environment [10].

The extraction and usage of geospatial data on Twitter can be used to produce valuable information. The extraction and analysis are done through several stages, including crawling, storing, analyzing, and visualization [11]. The study focuses on exploratory processes and the development and improvement of extraction techniques, steps, and analysis of the geospatial Twitter data. The open-source and the public nature of the data allow easy and effective trend analysis possible [12]. The trend analysis is very effective on the data generated by Facebook and helps in topic analysis. Based on the evaluations, the applied clustering algorithm to detect the trending topics was very greedy. Further usage of algorithms like LDA models, which perform LSA- latent semantic analysis and data tracking for a longer duration, results in a better result; Pablo experimented with multiple variations of the Naïve Bayes classifier to analyze the polarity of the tweets generated by Twitter. The most famous variations are Baseline and Binary. In baseline, the model classified tweets as positive, negative, and neutral. At the same time, in binary, the classification was done only as positive or negative [13].

Support Vector Machine (SVM), Bayesian Networks (BN), and Decision Trees (DT) are the most used techniques in the area of social media analytics, according to the research papers and articles between 2003 and 2015. The major domains in which various data mining techniques are used for research and analysis are- Business and Management, Education, Finance, Medicine and Health, Government, and the Public sector [17]. The experiments carried out by M. S. Neethu show that the Naïve Bayes classifier performs best over Maximum Entropy in classification. Pak and Paroubek suggested it, using a model that categorizes tweets as positive, negative, and neutral using Twitter API, based on the Naïve Bayes model and using features like N-gram, similar to the practices of this paper. Emoticons or emesis add up as noise to the input of the Classification Model. It has a huge impact on an SVM classifier, but not much on a Naive Bayes classifier. Sentiment Analysis can be divided into the following tasks

  • •    Subjectivity Classification

  • •    Sentiment Classification

Subjective classification is further divided into Object Holder Extraction and Object/Feature Extraction.

Subjective classification deals with the classification of sentences into opinionated and indifferent/ neutral sentences. In contrast, Sentiment Classification deals with the type of emotion- positive, negative, and neutral. Using Twitter data, Cross-lingual sentiment analysis can also be carried. Cross-lingual sentiment classification refers to acquiring the sentimental resources from a resource-abundant language to a language lacking resource. Text blob library available in Python is one of the easiest ways to do sentiment analysis on large data quality. Using the Tweedy library, tweets can be directly downloaded from Twitter.

The rapid propagation of opinions and negative reviews on a product can impact the company or service majorly. There have been multiple cases in which the companies have faced heavy losses in their businesses and services. They have again used social media to do damage control to understand the root of the prob- lem and fix the crises by formalizing and analyzing big data generated by social media. Consumers can use sentiment analysis methods to find out about the products they want to buy reviews on the product’s website can be deceiving. However, Twitter’s analysis of the overall product will give a much-unbiased result. The challenges faced by social media analytics are as discussed below-

  • •    Scrapping: Even though the data generated by the social media platforms is huge, informative, and rich, it is not easily and freely available to businesses, like they are available for research and academics.

  • •    Data Cleaning: The data generated by social media is unstructured, and data cleaning is a tedious process that takes up most of the time.

  • •    Data Analytics: The researchers face many issues while analyzing the data that has been procured, dealing with the foreign words, slangs used short forms of the words, as the nature and form of the language is ever-evolving.

  • 3.2    Data preparation and sentiment analysis

Various ensemble techniques can be used for modeling text data. The ensemble can be done in two methods - Fixed rule ensemble and Meta classifier. In a Fixed rule, ensemble there is a common rule for a combination of results from individual models that include voting rule, addition rule, max rule, and product rule. In the Meta classifier, the outputs from the models, the class labels are observed as the new features being learned. Considering many models and evaluating them based on the sliding window Kappa Statistics, Stochastic Gradient Descent (SGD) based models perform the best when used with appropriate learning function.

Opinion mining on the huge data generated by Social media presents a great opportunity to target specific marketing like age, gender, locality, etc. In broad terms, Opinion Mining is the science of using textual analysis to understand the drivers of social emotions.

3    Methodologies 3.1    Data description and collection

The data was collected from the social media platform Twitter. It was done by using the API Key and Secret Keys provided by the Twitter Developers platform. The tweets are a humongous source of opinions. The tweets have been retrieved using the trending hash tags, which were online education-related and trending. The Twitter developer platform allows users to openly access APIs, tools, and resources that enable the interested developers to harness the Twitter data. Standard APIs are available to developers whose accounts are accepted by Twitter when provided with a genuine reason for usage. With the standard APIs functions like tweet retrieval, post-retrieval, pull public account information, retrieve trends and follow, search and get users. Premium API is an advanced and paid platform with scalable and advanced functions. Other commercial APIs available are Enterprise API, Ads API, Twitter for websites, Twitter Developer Labs.

All of the Twitter data that was trending and included the hash tag provided was a desirable source. The tweets were downloaded using the Tweedy library in Python into a json file format. All the trending tweets containing the hardcoded hash tag were downloaded and passed on further to sentiment analysis.

The emotion determination behind the words is sentiment analysis; this is done by assigning strength to the words and assigning polarity to positive, negative, and neutral words, automatically carried out by many libraries like Text Blob, NLTK, spacey and more. Here, Text Blob was used. The following flowchart explains the overall steps involved in the sentiment analysis of the tweets as shown in Figure 1.

4    Results and discussion

Twitter is a very rich source of social opinions and thoughts. Daily, the data generated by tweets is very high. Understanding and interpreting the shift towards the likes and dislikes of the people towards online education resulting from the pandemic crises is analyzed using the sentiments displayed by the people as tweets. Hash tags like “#online education #pandemic,” “#on-line classes failed,” “study from home,” “elearning,” etc., when analyzed, show much opposition towards the now popular method of online education. It indicates that the people are not satisfied with the classes that are conducted online for students.

Digging a little deep into the individual tweets, we can say that people feel that student dedication, interaction, and seriousness are prominent in classroom teaching and is fairly absent in online education.

With the rise in COVID-19 cases and the increase in deaths, people’s general viewpoint and conduct are to stay in their safety zones. They prefer staying at home and get done with their commissions, includ-

Fig. 1. Flowchart of various steps involved in sentiment analysis of tweets ing education. So, we notice that under the hash tags like “Online Clases” and “Online Education,” we find much positive inclination towards online education.

Table 1 shows the compares the three most popular libraries in Natural Language Processing in Python- NLTK, Text Block, and SpaCy. NLTK (Natural Language Toolkit) is used for token making, lemma-tization, stemming, parsing, POS marking, etc. This library contains tools for almost all NLP activities. It is one of the oldest and the bulkiest python libraries. NLTK does not analyze/split the sentences according

Table 1

Comparing few python libraries

Libraries

Features

NLTK

slow

steep learning curve

Plenty of options

complicated

tokeniza-tion is fast

TextBlob

fast

gentle learning curve

Optimal options

simple

tokeniza-tion is slow

SpaCy

fast

gentle learning curve

Best options

simple

tokeniza-tion is fast

^ boring boring practical practical        unjust tfl r и                               internet

£               bad

“ inefficient inefficient

adverse adverse p,h challenging challenging hands on discipline discipline unsatisfactory unsatisfactory commitment unhealthy .. _        .       . ■ -        .

'distracting distracting difficult doubts

Interaction frustrated frustrated

to the semantics structure of the text. SpaCy is a great NLTK contestant. These two libraries can be used for the same purposes. It has a reserved number of languages available; it collects the most suitable and quickly usable text analytic tools. Text Blob is a Python library for processing text data. It provides a consistent API for accessing common language processing functions (NLP) such as tagging in the speech part, noun phrase removal, sentiment analysis, and more.

The word cloud was created by using the tweets retrieved under the positive and negative sentiment category also removing the stop words, as shown in Figures 2 and Figure 3. It can be said that people supporting online education say that the online mode of education is safe, easy, effective, flexible, cost-efficient, and comfortable. While others argue that the online education model was inefficient, lacked discipline, was prone to dropouts, difficult, doubts were not cleared much effectively, required immense commitment, interactions were low, and most importantly, a practical way of learning was missing. Not many users agreed on online education being as efficient as classroom teaching.

Fig. 2. Positive

Fig. 3. Negative

5    Conclusions

Natural Language processing enriches the possibility of better decision-making in a sector. It is a rich source of behavior and sentiment analysis, enabling the decision-makers to understand the needs, demands, and orientation of the users and customers.

Multiple hash tags were used to understand the inclination of public interest towards the recent shift in education. The extracted tweets using the hash tags were categorized into positive, negative, and neutral. After inputting several trending hash tags regularly and noting the percentage record of the tweet types over some time, the negative response percent exceeded the negative and neutral sentiment percentage.

From this, it can be concluded that most people support classroom education over online education. When a few tweets were further analyzed, it was observed that the users found that classroom education was more binding than online education because of various distractions and lack of concentration. Many Twitter users argued that online education is the future in the present situation where social distancing is an important norm.

  • 6    Future scopes

This paper’s scope was to understand people’s opinions to change the trend and method of education using Twitter analysis. The analysis method used can be improved by multiple folds. The algorithm used can be developed to detect sarcastic tweets also and categorize them as negative or positive. Further improvements can be done by making use of schematic analysis of the tweets. Often, the tweets do not include any adjectives, so they are categorized as neutral, even though they are not; by analyzing the schematics of the sentence, they can be properly categorized. Fur- ther, the platforms like Facebook, Reddit, and Tumbler can be used for an even broader perspective.

Statement on ethical issues

Research involving people and/or animals is in full compliance with current national and international ethical standards.

Conflict of interest

None declared.

Author contributions

The authors read the ICMJE criteria for authorship and approved the final manuscript.

Список литературы Harnessing the power of ML and NLP for decision making in education sector from social media data

  • Pak, P . Paroubek. Twitter as a Corpus for Sentiment Analysis and Opinion Mining, Proceedings of the Seventh Conference on International Language Resources and Evaluation, (2010)
  • Bifet, E. Frank, Sentiment Knowledge Discovery in Twitter Streaming Data,” Proceedings of the 13th International Conference on Discovery Science, Berlin, German, (2010)
  • Chengang Zhu, Guang Cheng (senior member, IEEE) and Kun Wang (senior member, IEEE) Big data analytics for program popularity prediction in broadcast TV industries, (2017)
  • AlecGo, R. Bhayani, L. Huang, Twitter Sentiment Classification Using Distant Supervision, Stanford University, Technical Paper, (2009)
  • Irena Pletikosa Cvijikj, Florian Michahelles, Monitoring Trends on Facebook, Ninth IEEE International Conference on Dependable, Autonomic and Secure Computing, (2011)
  • Jim Samuel 1, G. G. Md. Nawaz Ali 2, Md. Mokhlesur Rahman 3, EkEsawi 4 and Yana Samuel 5 COVID-19 Public Sentiment Insights and Machine Learning for Tweets, (2020)
  • Mohammad Noor Injadat, FadiSalo, Ali Bou Nassif, Data mining techniques in social media: A survey, Neurocomputing- ScienceDirect, (2016)
  • M.S, Neethu, R. Rajashree, Sentiment Analysis in Twitter using Machine Learning Techniques, IEEE, Tiruchengode, (2013)
  • Noviyanti. P(1), Fra siskus Dian Arianto(2), Social Media Analysis: Utilization of Social Media Data for research on COVID-19, (2020)
  • P. Noviyanti, Fra siskus Dian Arianto Social Media Analysis: Utilization of Social Media Data for research on COVID-19, (2020)
  • Pablo Gamallo, Marcos Garcia Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets, 8th International Workshop on Semantic Evaluation, Dublin, (2014)
  • J.V. Praneeth Sai, Bhuvaneswari Balachander, Sentimental Analysis of Twitter Data Using Tweepy and Textblob, International Journal of Advanced Science and Technology, (2020)
  • Prashant Sahatiya Big Data Analytics on Social Media Data: A Literature Review, International Research Journal of Engineering and Technology, Gujarat, India, (2018)
  • Raghava Rao Mukkamala, Jannie Iskou Sørensen, Abid Hussain and Ravi Vatrapu, Social Set Analysis of Corporate Social Media Crises on Facebook, IEEE EDOC 2015, South Australia, (2015)
  • Saeideh Shahheidari, Hai Dong, and Md Nor Ridzuan Bin Daud , Twitter sentiment mining: A multi-domain analysis, CISIS Seventh International Conference IEEE, (2013)
  • A. Vishal, S.S. Kharde, Sonawane, Sentiment Analysis of Twitter Data: A Survey of Techniques,” International Journal of Computer Applications,139, 0975 – 8887, (2016)
  • Zhunchen Luo, Miles Osborne, Ting Wang, An effective approach to tweets opinion retrieval, Springer Journal on WorldWideWeb, (2013)
Еще
Статья научная