Next Article in Journal
Cross-Modal Sentiment Sensing with Visual-Augmented Representation and Diverse Decision Fusion
Previous Article in Journal
Influence of Pitch Angle Errors in 3D Scene Reconstruction Based on U-V Disparity: A Sensitivity Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Feature-Based Sentimental Analysis on Public Attention towards COVID-19 Using CUDA-SADBM Classification Model

1
Department of CSE, KLEF, Vaddeswaram, Guntur District, Guntur 522502, Andhra Pradesh, India
2
Department of Mathematics, Alagappa University, Karaikudi 630003, Tamil Nadu, India
3
Department of Computer Science and Engineering, Sejong University, Seoul 05006, Korea
4
Seculayer Company, Ltd., Seoul 04784, Korea
*
Authors to whom correspondence should be addressed.
Sensors 2022, 22(1), 80; https://doi.org/10.3390/s22010080
Submission received: 13 October 2021 / Revised: 11 December 2021 / Accepted: 15 December 2021 / Published: 23 December 2021
(This article belongs to the Section Sensor Networks)

Abstract

:
The COVID-19 pandemic has spread to almost all countries of the World and affected people both mentally and economically. The primary motivation of this research is to construct a model that takes reviews or evaluations from several people who are affected with COVID-19. As the number of cases has accelerated day by day, people are becoming panicked and concerned about their health. A good model may be helpful to provide accurate statistics in interpreting the actual records about the pandemic. In the proposed work, for sentimental analysis, a unique classifier named the Sentimental DataBase Miner algorithm (SADBM) is used to categorize the opinions and parallel processing, and is applied on the data collected from various online social media websites like Twitter, Facebook, and Linkedin. The accuracy of the proposed model is validated with trained data and compared with basic classifiers, such as logistic regression and decision tree. The proposed algorithm is executed on CPU as well as GPU and calculated the acceleration ratio of the model. The results show that the proposed model provides the best accuracy compared with the other two models, i.e., 96% (GPU).

1. Introduction

Human expertise and emotions are two crucial factors of human nature. Artificial intelligence researches study and understand the underlying behavioral mechanisms of humans. Computer systems and applications can perceive human components like feelings, which provides human behavior, and verbal exchange capabilities, which play an important role in human–computer interaction (HCI). Picard, who created the concept of emotional computing [1], gave the relevance of emotion in HCI and was applied for computer technology, cognitive technology, and other psychological studies about human emotion. An emotional calculation enables computers to recognize the emotional state and behavior, and build systems and apps that may track, examine, understand, and exploit users’ emotional states to bridge the gap between emotional human beings and computers [2]. As of 2019, there has been an outbreak of Coronavirus Disease (COVID-19). The World Health Organization (WHO) declared that the virus had spread to every country. WHO encourages people not to panic by taking preventative steps, like wearing masks, taking steam often, sanitizing their surroundings, and maintaining social distance. The new wave is getting increasingly difficult to manage because the Government has temporarily stopped lockdowns in some areas, and people started moving freely, including hotels, schools, travel, and entertainment. In this circumstance, there is a need for a model that forecasts the precise condition regarding the pandemic and alerts individuals about the importance of not getting infected by this deadly virus. Opinion or emotion process or sentiment analysis (SA) is a tool that uses machine learning to define emotion [3] as subjective data. Machine Language is one of the most prominent disciplines in natural language processing (NLP) and allows many individuals to see and assess opinions. It is a useful resource for all sorts of individuals, much like Facebook [4] and Twitter, and other social media sites. These are popular social networking sites where people can freely exchange their ideas, opinions, and feelings anytime, anywhere. One of the fundamental issues of Natural Language Processing (NLP) is analyzing an emotional representation or interpretation of an opinion [5]. For example, based on the ideas and feedback received from many individuals, entrepreneurs can understand how to sustain themselves in the market and make a vision for the future [6]. As a result, these individuals seek to develop their market or website by providing the highest quality information. Twitter and Kaggle are among those from which the data set is gathered.

2. Literature Survey

Online social platforms [7], such as Facebook, Linked In, and Twitter, are the various sources used for collecting datasets to perform sentiment analysis. The Twitter dataset provides much information on a person’s attitude, sentiments, and opinions. At the beginning of the epidemic, many researchers started analyzing data or reviews provided by various persons affected with COVID-19 [8] using various machine learning approaches. Worldwide investigations have been conducted to determine why this virus is spreading so quickly from person to person and why the number of deaths has increased. As a result, people began to worry about the virus’s spread as well as its consequences. To analyze this, we need a model which produces better accuracy by predicting the data collected from the Kaggle repository. This dataset consists of various opinions or reviews posted by the people affected by this deadliest coronavirus disease. The intelligence analysis method of text or opinion is used to extract the characteristics of sentiment analysis. The coronavirus pandemic has caused a massive disturbance to public welfare, health, etc. worldwide [9], which has affected people both financially and mentally. After several investigations, scientists determined that this virus is spreading due to a lack of immunity power, and also the individuals who were suffering from chronic disease [10], and by the end of 2020, this number may reach 132 million.
Aside from the viral outbreak, many bogus statements and criticisms of the movement continue to circulate on social media addressing health information and public attention. As part of this paper, we used a dataset of Indians who had been infected with this virus. A new quantitative classification model for text data analysis has been built to achieve the objective. For this, we used some existing machine learning (ML) algorithms [11], like Naive Bayes (NB) and Support Vector Machine (SVM), as base classifiers [12] and compared them with the proposed model. Therefore, from the obtained results, it is concluded that the proposed algorithm gave a better result when compared with the other two. The proposed model is based on cascading of both bagging and boosting techniques. Bagging: Bagging or batch processing is a procedure that can include the results of multiple models (such as any decision tree) to produce meaningful results. Bootstrapping is one of the sampling techniques used to generate analytic subgroups from the original dataset. The size of the subset is the same as the size of the original dataset. Multiple subsets are generated from the original dataset by selecting alternate cases. A baseline model (weak model) was built for each of these subgroups. Moreover, these models work together in parallel. All estimates are mixed to produce the final prediction.
Boosting: Loading or Boosting is a sequential operation where the next model replaces the errors in the previous model. This article deals with a hybrid algorithm that combines both bagging and boosting and is executed on GPU. Due to its hybrid nature [13], this algorithm produces a classifier that removes bias at each learning level while adjusting for overfitting. While working with the proposed algorithm for achieving better results, a few questions were encountered, which were to be appropriately answered. Q1: What are the popular keywords in Indian reviews? Q2: How do these reviews affect the public health system? Q3: How does the proposed algorithm help analyze people’s emotions or feelings [14]? Q4: How is the proposed classification model better than the other two traditional existing models.
Guo et al. proposed a novel approach by applying logistic regression and a linear discriminant model, which produced the best accuracy compared with an existing model. Guven et al. [15]. proposed an algorithm named n-stage LDA, which was the most successful algorithm for predicting emotional analysis [16]. The proposed algorithm best suits analyzing the market data using TSS (Twitter Sentiment Score), which predicts future stock market prices. Kaur et al. proposed the comparison of three basic classifiers by considering the reviews posted by the people on Twitter regarding the coronavirus in which it has been executed on CPU [17]. Chandra and Krishna proposed an algorithm for multi-labeled sentiment classification like LSTM [18] with global vector embedding and the BERT model for predicting the tweets containing more than one opinion that can be expressed at once. This paper shows that chatbots were more likely to be used for negative connections with the situation. During this pandemic, many social websites posted various reviews with some false information that made many people afraid and panic. Many gossips and false articles about the coronavirus are circulating in the media, and it is becoming challenging to distinguish them. Therefore, to fill the research gaps in Tweet approval, we proposed an enhanced model which increases the accuracy by executing it on both CPU and GPU and comparing the results with existing classifiers. The results show that the proposed model gives less acceleration ratio and higher accuracy than the other models when running on both CPU and GPU [19]. Table 1 presents the comparison of algorithms used and their accuracy.

3. Methodology

This section examines how to utilize the API to collect information and the preliminary procedures taken for the research. The reviews or data range from December 2019 to December 2020. These reviews are from the Kaggle repository and were conducted by the state government of India. The second part of the information set consists of a series of daily individual assessments. Figure 1 depicts the model’s architecture.
Illegal actions on the Internet became a worldwide issue. Although false news is not a primary issue, it has become a serious issue. The scenario with the coronavirus epidemic demonstrates the significance of new information which has to be collected daily. Obviously, spreading misleading information impacts people’s opinions and changes the viability of Government-approved countermeasures. Inaccurate data on social media may cause tension among coronavirus patients. Twitter is a popular online media platform and microblog environment where people can post and suggest messages called “tweets”. Approximately 500 million tweets appear on Twitter every day [20], and 200 billion tweets appear every year because it has become an important information center for online media to discuss social, global, and societal problems. Chakraborty K. et al. described in 2020 that most tweets about the coronavirus are speculation, but people are usually busy spreading it. When evaluating word repetitions in tweets, they found that the tweets sounded negative and only a few positive words. Therefore, people started worrying and getting panicked by reading these reviews or tweets; thus, in this situation, it is necessary to propose a predictive model that predicts the polarity of the tweets and gives better results to make people aware of COVID-19 mentally and physically. Furthermore, make them take necessary precautions without getting affected by this deadliest virus.

Dataset

The records or dataset used in this paper includes the statistics of Indian tweets from the Twitter website (online) taken during the Coronavirus lockdown implemented across the country. The informational index comprising 90,000 tweets has been extracted from kaggle.com, accessed on 10 October 2021, and it includes clean tweets on particular words like coronavirus, COVID, lockdown, etc. The dataset [21] is comprising of eliminated tweets from the original dataset taken into consideration for examination.
Figure 2 shows how we allocated the collected comments or tweets to a certain length and mainly divide the information according to the tags [22] like panic, frustration, anger, and funny. These values are mapped to 4 class labels, called 1, 2, 3, and 4, where (1 = panic, 2 = frustration, 3 = irritated, 4 = interesting). In the data set, the ratings are rated as positive, negative, or neutral, some of them are like “good” and “excellent” and some bad sentences like “dying”, “killing”, “panic”, “sadness”, etc. Based on emotions that are conveyed through the use of unique characters in the dataset, we have implemented the process diagram, as shown in Figure 2. It shows the percentage of sentences and emotions in the dataset (NLP). Generally, NLP uses various methods to extract text content to make information easier to retrieve. Such as noise reduction, prevention or buzzwords, etc. Therefore, the suggested model gives better results when compared with other classifiers.

4. Compute Unified Device Architecture (CUDA) and Programming

Compute Unified Device Architecture (CUDA) was designed for general computing using NVIDIA’s graphics processing unit, which acts like parallel programming (GPU) [23]. CUDA helps developers speed up computer-intensive programs by using the capacity of the GPU to perform parallel calculations. In 2003, some set of people proposed Compute Unified Device Architecture (CUDA), an extension of C with parallel processing of data. Compute Unified Device Architecture (CUDA) has various applications used to boost the program’s speed by dividing the instruction into various threads. It is known as computing unified device architecture, which contains predefined library functions or methods for boosting the processing speed. It works on the principle called parallel computing to increase speed as well as performance. The second principle for why we chose parallel computing is multicore processing. In parallel processing, the code is divided into several threads in which each thread works effectively, providing a better acceleration ratio. CUDA on NVIDIA graphics card, which runs on a peculiar compiler called nvcc. This nvcc gives instructions for both the host and GPU, which in turn communicate the data between them. Figure 3 shows how an architecture of GPU and CPU will be like.
In parallel processing, it is impossible to access memory directly, and also CPU cannot access the GPU memory, so in that case, we require data to copy explicitly using CUDA predefine library functions or methods [24]. In the CUDA hierarchy, the code is divided into threads, which in turn forms a block of thread, which in turn these blocks together forms grids like Grid0, Grid1...., with corresponding per-thread private, per-block shared, and per-application global memory spaces. Basically, the working of GPU is quite different when compared with CPU. Modern GPUs are very efficient in performing various applications like image processing, machine learning, etc. These applications are embedded as firmware on the mainboard itself so that the processing time could take less when compared with the CPU. CUDA is a parallel programming model along with some instructions set. Therefore, in this paper, we used CUDA 2.1 with C language for obtaining the results and the CPU used is Intel i7 5th generation with 2.25 GHz speed processor for comparing the results both on GPU as well as CPU which is discussed in Performance Evaluation Measures section.Generally CUDA contains CPU code with atleast one kernel, i.e., void returning module need to be implemented by GPU. This architecture contains some predefined keywords for ex __global__ is a kernel function called by CPU [25], and we executed on our GPU.and the __device__ is used for calling the threads which are executing on GPU.The __host__ is a keyword used for calling function only by CPU.While working on parallel computing we can combine both __host__ and __device__ [26].

GF108 Architecture

The GF108 is the core of GT 525 m which is combined or connected with GF100 core which in turn forms Geforce GTX 480 M which provides 128 bit memory bus with 96 shaders for SSD VRAM3 [27]. NVIDIA’s GF108 uses Fermi architecture made up with 40 nm process production at TSMC. Which contain a die with size approximately 116 mm 2 along with transistors of about 585 million.To perform GPU computing Open CL along with CUDA 2.1 is used which contains 96 shaders with 16 texture mapping and 8ROP’s.Unlike GF108 cores will be considerably adjusted when compared with GF100. In GF108 the shaders will be in the form 3 × 16 instead of 2 × 16 along with textures 8 instead of 4 along with special unit called SFU.Nvidia uses special super scalar processor which forms parallelism called instruction level parallelism on a single processor so that the utilization of shaders per SM will be more effective.

5. Proposed Method

Logistic Regression: It is one of the ML algorithms which is used for the classification of data. This algorithm gives the possible outcome of the model by using a logistic function [28]. The main advantage of using this model is how various independent variables affect a single outcome variable. It is commonly used when the taken dataset has only two outputs, i.e., 0 or 1. It is used when the data is categorical. Figure 4 shows the count of reviews, and Figure 5 shows the word cloud of a review.

5.1. Making Predictions with Logistic Regression

Using an LR model, we make predictions that are as simple as giving values to the logistic regression equation [29] and calculating the result. Let us use a simple example to make it easier to understand. Suppose we have a model which has to predict whether a review given by a person is positive or negative [30]. About COVID-19 (completely fictitious), based on the review, we calculate the polarity of that review by considering the coefficients of b0 = −0.05 and b1 = 0.05. With the above equation, we can calculate the probability that a person’s formal P (human|review 0.05 ) is considered negative if P (human|review ≥ 0.05) is considered positive.
In general, we can use the probabilities directly as the probabilities are of binary class value, for example,
0 if p (review) < 0.05
1 if p (review) ≥ 0.5
Finally, the machine learning algorithm is used for predictive modeling. The LR model provides better predictions than just interpreting the result. Figure 6 shows how the data is classified, and as long as the model is robust and works well, we can break some assumptions. (1) Binary output. (2) Elimination of noise. (3) Use of the Gaussian distribution. (4) Elimination of correlated I/P.

5.2. Decision Tree

In general, decision trees may be used to solve classification or regression models that predict the output based on feature-based split [31]. A decision tree contains the following terms: root node, split, decision node, leaf node, and pruning. Basically, it starts with the root and divides the dataset into smaller and smaller subsets while gradually developing a coherent decision tree that ends with a decision provided by leaf nodes [32]. A decision node, such as Review, may contain two or more branches: positive, negative, and neutral. Leaf nodes, such as interested, confident, and panic, represent categories or solutions. The node with maximum entropy that will be considered the best predictor in the tree is called the root node. A decision tree can handle categorical and numerical data. Figure 7 shows the decision tree of a review. The base algorithm to implement a decision tree is ID3, which follows the top-down approach without backtracking. It uses a strategy called entropy and Info gain. In which the ZeroR model contains no predictor, and the OneR model includes the single best predictor.

5.2.1. Entropy

In the decision tree, we follow the top-down approach, i.e., from the root node, and divides the data into subsets consisting of several instances with homogenous values. Entropy has to be calculated for the given sample input in the ID3 algorithm. If the O/P is single, then entropy is considered as 0. It is considered as 1 if the sample I/P is divided equally. The following are the figures used to show how we can calculate the entropy of a review shown in Equation (1), and how the review’s polarity along with its frequency represented in histogram which is shown in Figure 8, and also how the positive and negative words for a sample review can be calculated shown in Figure 9. And finally in Equation (2) shows how to calculate entropy for 2-attributes.
E n t r o p y ( P ) = i = 1 N P i l o g 2 P i
To construct a decision tree, we may construct two frequency tables. 1. Frequency table to find entropy with single attribute:
Then Entropy is calculated as Entropy (Review) = Entropy (5,9) = Entropy (0.36,0.64) = 0.94 2. Frequency table to find entropy with 2 attributes: Entropy (Label, Review) = 0.71
E n t r o p y ( T , X ) = C = 1 X P ( C ) E ( C )

5.2.2. Information Gain

The use of information gain is to reduce entropy caused by the partition of the examples based on the specified attribute after it is splitted.To construct any decision tree, find the best attribute which gives us the best info gain. To find the information, gain we have certain steps to follow.
  • Find the entropy of the target attribute.
  • Entropy of every branch is calculated to find the best split.
  • Select attribute with high info gain and recursively repeat the same for all the remaining branches.
  • If entropy is zero, then consider all of them as a leaf node; else, continue splitting.
  • Repeat all the above steps until data is classified.

5.3. Proposed Compute Unified Device Architecture (CUDA) Sentimental Analysis Database Miner Classifier

This article aims to predict the model’s accuracy when executed on GPU, with less processing time than CPU. Furthermore, with the increase in the acceleration ratio, the model’s accuracy gets increased compared with the existing classifiers. Data mining is an approach for collecting data from a wide range of real-world data. Our methodologies, such as rating, categorizing, etc., are long-established. We used some typical ratings in the suggested technique. It comprises numerous characteristics in the COVID-19 data from the Kaggle repository. The dataset includes numerical and categorical details, such as viewing, location, timing, summary text, etc. It is based on the notion of IF-THEN. The suggested SADBM works in two stages: In Algorithm 1, a decision tree based on extracting the functionalities utilized to determine the polarity of each review posted will be generated. From the obtained confusion matrix, some standard measures for predicting the accuracy like precision, recall, F-score of the model in Algorithm 2 are calculated in the second phase [33].
Algorithm 1: Decision Tree Building Algorithm
Sensors 22 00080 i001
Algorithm 2: Accuracy Prediction Algorithm
Call: xgboost()
M= x.xgbClassifier()
m.fit(X_train,Y_train)
Call: ConstructTree()
c= confusion_matrix (Y_test,Y_pred)
Calculate: Accuracy = Number of correct predictions/total predictions
Return accuracy
Stop

6. Implementation and Results

The classifiers, as mentioned earlier, like Decision Tree, SADBM, and Logistic Regression, are executed with the help of GPU, i.e., CUDA programming, where all the algorithms gave less processing time compared with CPU processing time. In this paper, the SADBM and the other two algorithms were executed on GPU with the help of CUDA [34], and then we calculated the acceleration ratio of every algorithm, in which the proposed model gave the best accuracy compared with the other two. Table 2 shows the number of threads and the time taken to process those threads. Figure 10 tells that how local CPU/host resources bind with the shader and also how data mapping is done in the GPU memory into the local Tensor vector.
As the number of threads getting increased, the time taken to process the data is getting decreased, which is why GPU computing is very effective compared to CPU. Table 3 shows the acceleration ratio to classify the records (data) using SADBM.

6.1. Acceleration Ratio

To calculate the performance of GPU we have to find out the acceleration ratio of GPU, i.e., (Speed-Up time) which is given as
g a m m a = t C P U t G P U
where Gamma is the total processing time taken by the CPU, divided by the total processing time taken by GPU. We calculate the CPU time by adding random value generating time, time for data sort, and time for classification. Whereas for GPU, it is calculated with inter-transfer of data, i.e., from host to device and device to host. For evaluation measures, we applied CUDA-SADBM along with Logistic regression and Decision tree. We compared the accuracy where CUDA-Sentimental Analysis Database Miner Classifier (SADBM) produced better accuracy when compared with the other two, which when executed on GPU.

6.2. Performance Evaluation Measures

Precision is a metric used to measure performance and data retrieval. This metric quantifies the total positive predictions given by the classifier. Mathematically it can be presented as follows:
P r e c i s i o n = T P ( T P + F P )
Recall is a metric that is used to measure the performance and also for data retrieval. This type of metric quantifies the fractional part between and is manually classified, i.e., (true positive + false negative) given by the classifier. Mathematically it can be presented as follows:
R e c a l l = T P ( T P + F N )
F-score: It is defined as the harmonic mean between precision and recall. Mathematically F-score is given as
F m e a s u r e = 2 P r e c i s i o n R e c a l l P r e c i s i o n + R e c a l l
Finally, accuracy is given as the proportion of T P , T N , F P , and F N . Mathematically it is given as
A c c u r a c y = T P + T N ( T P + T N + F P + F N )
The result of the proposed model is evaluated with the help of a confusion matrix and then we calculated precision, recall, F-score. Finally, the obtained confusion matrix is shown in Figure 11, in which the accuracy of the proposed classifier is high with less processing time. Moreover, after executing the proposed algorithm on GPU the accuracy is compared with the other two base classifiers shown in Figure 12.
Table 4 shows the logistic classifier for multiclass classification. Table 5 and Table 6 show the decision tree classifier for multiclass classification and the Computer Unified Device Architecture-Sentimental Analysis Database Miner Classifier for multiclass classification.

7. Conclusions and Future Work

This article is based on the reviews or opinions given by various people across India during the COVID-19 pandemic that assist the decision-makers in helping the needy. We proposed a CUDA-SADBM classifier that can classify datasets when it is implemented in parallel computing(GPU) using a large number of attributes. We collected the reviews from kaggle repository to analyze the proposed model, and trained the data, and finally tested with three classifiers. After executing all the three classifiers on GPU the results shows that the proposed algorithm gave best accuracy when compared with logistic regression and decision trees, i.e., the acceleration over time is calculated, where GPU mining improves accuracy with less processing time. Experimental results show that the accuracy of the proposed method is 96%, whereas the accuracy rate of logistic regression is 82%, and the decision tree is 89% only. The proposed method is limited to a smaller dataset. However, if the size of the dataset is increased, the processing time increases, resulting in a decrease in accuracy. This can be mitigated by changing a few parameters. Tuning for better results in an extensive database remains for future works.

Author Contributions

Conceptualization, S.K.P.; Data curation, N.A.; Formal analysis, S.K.P.; Funding acquisition, G.P.J. and J.Y.; Methodology, N.A.; Project administration, G.P.J. and J.Y.; Resources, G.P.J. and J.Y.; Software, N.A.; Supervision, G.P.J. and J.Y.; Validation, J.Y.; Visualization, S.K.P.; Writing—original draft, S.K.P.; Writing—review and editing, G.P.J. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government(MSIT) (No. 2020-0-00107, Development of the technology to automate the recommendations for big data analytic models that define data characteristics and problems).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

Anbazhagan would like to thank RUSA Phase 2.0 (F 24-51/2014-U), DST-FIST ( SR/FIST/MS-I/2018/17), DST-PURSE 2nd Phase programme (SR/PURSE Phase 2/38), Govt. of India.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Picard, R.W.; Vyzas, E.; Healey, J. Toward machine emotional intelligence: Analysis of affective physiological state. IEEE Trans. Pattern Anal. Mach. Intell. 2001, 23, 1175–1191. [Google Scholar] [CrossRef] [Green Version]
  2. Pathuri, S.K.; Anbazhagan, N. Basic Review of Different Strategies for Sentiment Analysis in Online Social Networks. Int. J. Recent Technol. Eng. 2019, 8, 3392–3396. [Google Scholar]
  3. Shiva, T.; Kavya, T.; Reddy, N.A.; Bano, S. Calculating The Impact Of Event Using Emotion Detection. Int. J. Innov. Technol. Explor. Eng. 2019, 8, 183–189. [Google Scholar]
  4. Ortigosa, A.; Martín, J.M.; Carro, R.M. Sentiment analysis in Face book and its application to E-Learning. J. Comput. Hum. Behav. 2014, 31, 527–541. [Google Scholar] [CrossRef]
  5. Singh, A.J. Sentiment Analysis: A Comparative Study of Supervised Machine Learning Algorithms Using Rapid miner. IJRASET 2017, 5, 80–89. [Google Scholar]
  6. Sreedevi, E.; Premalatha, V.; Sivakumar, S.; Nayak, S.R. A comparative study on new classification algorithm using NASA MDP datasets for software defect detection. In Proceedings of the 2019 International Conference on Intelligent Sustainable Systems (ICISS), Palladam, India, 21–22 February 2019; pp. 312–317. [Google Scholar]
  7. Atmakur, V.K.; Siva Kumar, P. A prototype analysis of machine learning methodologies for sentiment analysis of social networks. Int. J. Eng. Technol. 2018, 7, 963–967. [Google Scholar] [CrossRef] [Green Version]
  8. Chandra, R.; Krishna, A. COVID-19 sentiment analysis via deep learning during the rise of novel cases. PLoS ONE 2021, 16, e0255615. [Google Scholar] [CrossRef]
  9. Videla, L.S.; Ashok Kumar, P.M. Fatigue Monitoring for Drivers in Advanced Driver-Assistance System. Examining Fractal Image Process. Anal. IGI Glob. 2020, 170–187. [Google Scholar] [CrossRef]
  10. Sivakumar, S.; Nayak, S.R.; Vidyanandini, S.; Kumar, J.A.; Palai, G. An empirical study of supervised learning methods for breast cancer diseases. Opt.-Int. J. Light Electron Opt. 2018, 175, 105–114. [Google Scholar]
  11. Mazzonello, V.; Gaglio, S.; Augello, A.; Pilato, G. A Study on Classification Methods Applied to Sentiment Analysis. In Proceedings of the 2013 IEEE Seventh International Conference on Semantic Computing, Irvine, CA, USA, 16–18 September 2013; pp. 16–18. [Google Scholar]
  12. Razia, S.K.; Narasingarao, M.R. A Neuro computing frame work for thyroid disease diagnosis using machine learning technique. J. Theor. Appl. Inf. Technol. 2017, 95, 1996–2005. [Google Scholar]
  13. Devi, S.A.; Kumar, S.S. A hybrid document features extraction with clustering based classification framework on large document sets. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 364–374. [Google Scholar] [CrossRef]
  14. Videla, L.S.; Rao, M.N.; Anand, D.; Vankayalapati, H.D.; Razia, S. Deformable facial fitting using active appearance model for emotion recognition. Smart Intell. Comput. Appl. 2019, 104, 135–144. [Google Scholar]
  15. Guo, X.; Li, J. A novel twitter sentiment analysis model with baseline correlation for financial market prediction with improved efficiency. In Proceedings of the 2019 Sixth International Conference on Social Networks Analysis, Management and Security (SNAMS), Granada, Spain, 22–25 October 2019; pp. 472–477. [Google Scholar]
  16. Güven, Z.A.; Diri, B.; Çakaloğlu, T. Comparison of n-stage Latent Dirichlet Allocation versus other topic modeling methods for emotion analysis. J. Fac. Eng. Archit. Gazi Univ. 2021, 35, 2135–2145. [Google Scholar] [CrossRef]
  17. Kaur, C.; Sharma, A. COVID-19 Sentimental Analysis Using Machine Learning Techniques. Prog. Adv. Comput. Intell. Eng. 2021, 1299, 153–162. [Google Scholar]
  18. Anila, M.; Pradeepini, G. Least square regression for prediction problems in machine learning using R. Int. J. Eng. Technol. 2018, 7, 960–962. [Google Scholar]
  19. Baig, M.M.; Sivakumar, S.; Nayak, S.R. Optimizing Performance of Text Searching Using CPU and GPUs. Adv. Intell. Syst. Comput. 2020, 141–150. [Google Scholar] [CrossRef]
  20. Golbeck, J.; Robles, C.; Edmondson, M.; Turner, K. Predicting personality from twitter. In Proceedings of the IEEE Third International Conference on Social Computing, Boston, MA, USA, 9–11 October 2011; pp. 149–156. [Google Scholar]
  21. PremaLatha, V.; Sreedevi, E.; Sivakumar, S. Contemplate on internet of things transforming as medical devices- The internet of medical things (IOMT). In Proceedings of the International Conference on Intelligent Sustainable Systems ICISS, Palladam, India, 21–22 February 2019; pp. 276–281. [Google Scholar]
  22. Bruce, R.F.; Wiebe, J.M. Wiebe. Recognizing Subjectivity: A Case Study in Manual Tagging. Nat. Lang. Eng. 1999, 5, 187–205. [Google Scholar] [CrossRef] [Green Version]
  23. Sivakumar, S.; Periyanagounder, G.; Sundar, S. A MMDBM classifier with CPU and CUDA GPU computing in various sorting procedures. Int. Arab. J. Inf. Technol. 2017, 14, 897–906. [Google Scholar]
  24. Nguyen, H. GPU Gems 3; Addison-Wesley Professional: Boston, MA, USA, 2007. [Google Scholar]
  25. CUDA Best Practices Guide; NVIDIA Corporation, 2010. Available online: https://www.classes.cs.uchicago.edu/archive/2011/winter/32102-1/reading/CUDA_C_Best_Practices_Guide.pdf (accessed on 10 October 2021).
  26. CUDA C Programming Guide; NVIDIA Corporation, 2014. Available online: https://docs.nvidia.com/cuda/pdf/CUDA_C_Programming_Guide.pdf (accessed on 10 October 2021).
  27. Nickolls, J.; Buck, I.; Garland, M. Scalable Parallel Programming with CUDA. ACM Queue 2008, 6, 40–53. [Google Scholar] [CrossRef] [Green Version]
  28. Razia, S.K.; Narasingarao, M.R. Development and Analysis of Support Vector Machine Techniques for Early Prediction of Breast Cancer and Thyroid. J. Adv. Res. Dyn. Control Syst. 2017, 9, 869–878. [Google Scholar]
  29. Razia, S.; Prathyusha, P.S.; Krishna, N.V.; Sumana, N.S. A Comparative study of machine learning algorithms on thyroid disease prediction. Int. J. Eng. Technol. 2018, 7, 315–319. [Google Scholar] [CrossRef]
  30. Kumar, P.; Pradeepini, G.; Kamakshi, P. Feature Selection Effects on Gradient Descent Logistic Regression for Medical Data Classification. Int. J. Intell. Eng. Syst. 2019, 12, 278–286. [Google Scholar] [CrossRef]
  31. Videla, S.; Kumar, P.M.A. Modified Feature Extraction Using Viola Jones Algorithm. J. Adv. Res. Dyn. Control Syst. 2018, 10, 528–538. [Google Scholar]
  32. Banker, S.; Patel, R. A brief review of sentiment analysis methods. Int. J. Inf. Sci. Tech. (IJIST) 2016, 6, 89–95. [Google Scholar] [CrossRef]
  33. Pathuri, S.K.; Anbazhagan, N.; Narayana, N.S.; Sridhar, W. A Novel classification model for feature-based sentimental analysis on public attention towards COVID-19. J. Cardiovasc. Dis. Res. 2021, 12, 176–187. [Google Scholar]
  34. Pathuri, S.K.; Anbazhagan, N. Feature-Based Sentimental Analysis on Product Review System Using CUDA-BB Algorithm. Int. J. Emerg. Trends Eng. Res. 2018, 8, 6380–6386. [Google Scholar]
Figure 1. Architecture of the model.
Figure 1. Architecture of the model.
Sensors 22 00080 g001
Figure 2. The work flow of the proposed model.
Figure 2. The work flow of the proposed model.
Sensors 22 00080 g002
Figure 3. General architecture of GPU versus CPU.
Figure 3. General architecture of GPU versus CPU.
Sensors 22 00080 g003
Figure 4. Review count based on polarity.
Figure 4. Review count based on polarity.
Sensors 22 00080 g004
Figure 5. Word cloud of a review.
Figure 5. Word cloud of a review.
Sensors 22 00080 g005
Figure 6. Data classification.
Figure 6. Data classification.
Sensors 22 00080 g006
Figure 7. Decision tree of a review.
Figure 7. Decision tree of a review.
Sensors 22 00080 g007
Figure 8. Polarity vs. frequency.
Figure 8. Polarity vs. frequency.
Sensors 22 00080 g008
Figure 9. Finding positive and negative words for Sample review.
Figure 9. Finding positive and negative words for Sample review.
Sensors 22 00080 g009
Figure 10. Sample kernel code.
Figure 10. Sample kernel code.
Sensors 22 00080 g010
Figure 11. Obtained Confusion matrix for Trained Data.
Figure 11. Obtained Confusion matrix for Trained Data.
Sensors 22 00080 g011
Figure 12. Comparison of 3 algorithms.
Figure 12. Comparison of 3 algorithms.
Sensors 22 00080 g012
Table 1. Literature survey.
Table 1. Literature survey.
AuthorAlgorithms UsedFeature-SelectionData SourceAccuracy
Gualtiero Bcolombo (2015)Graph miningTF-IDFWeb forums(Twitter Data)84%
Dmytro Karamshuk (2017)Glove word vector, Conventional classification, DTConsistency LabelPublic Twitter85%
Tong Liu (2017)Support vector Machine (SVM)TF-IDF, N-GramsHistorical Twitters posts88%
Bridianne O’Dea (2015)SVM, Logistic regressionTF-IDF wih filter and without filter and no filter, Data pointsCSIRO80%
Pete Burnap (2015)SVM, Naïve Bayes (NB), Decision Tree (DT), Rotation forestLexical, Structural, Emotive, Psychological TF-IDF, N-Grams,Web forums (Twitter Data)75%
Benjamin. L (2016)Logistic regressionN-Grams, Linguistic contextKaggle82%
Mia Johnson Vioules (2017)NB, Sequential minimal optimization (SMO), Decision tree (J48),NBB, Multinomial L-R, RF 80%
Scott R Braithwaite (2016)Decision Tree (DT)Linguistic, word countAmazon Mechanical Turk (AMT)76%
Munmum De Choudhury (2013)SVM with a radial-basis function (RBF) kernelDepression setCrowdsourcing86%
Ramit Sawhney (2018)Ensemble, Linear classificationTwitter streaming API 81%
Bart Desmet (2018)Parallel ComputingBag of words, polarity lexiconKAGGLE92%
Shaoxiong Ji (2018)SVM, random forest, gradient boost classification, XGboostTF-IDF, semantics and syntactic, statistics, Linguistic featuresReddit and Twitter blogs89%
Jingcheng Du (2018)CNN binary classificationLinguistic featuresTwitter streaming API74%
Table 2. Number of threads versus time taken.
Table 2. Number of threads versus time taken.
No of ThreadsTime Taken
1285.12
2564.14
5123.12
10242.69
Table 3. Acceleration ratio to classify the records using SADBM.
Table 3. Acceleration ratio to classify the records using SADBM.
SADBM GPU TimeNo ofNo ofNo ofNo ofNo of
RecordsRecordsRecordsRecordsRecords
s/12,000s/32,000s/52,000s/72,000s/92,000
Classification Time0.5521.0201.7052.0522.742
CPU-Time0.7101.1301.7402.35002.900
GPU-Time0.5501.0101.6402.2302.490
Acceleration Ratio1.2961.1181.0641.0541.1649
Table 4. Logistic Classifier for multiclass classification. Training accuracy Score: 0.9269020501138952. Validation accuracy Score: 0.8156025267249757.
Table 4. Logistic Classifier for multiclass classification. Training accuracy Score: 0.9269020501138952. Validation accuracy Score: 0.8156025267249757.
PolarityPrecisionRecallF-ScoreSupport
00.790.820.772467
10.8840.810.845765
Accuracy 0.818232
MacroAvg0.810.820.818232
WeightedAvg0.810.810.818232
Table 5. Decision Tree Classifier for multiclass classification. Training accuracy Score: 0.9469020501138952. Validation accuracy Score: 0.8856025267249757.
Table 5. Decision Tree Classifier for multiclass classification. Training accuracy Score: 0.9469020501138952. Validation accuracy Score: 0.8856025267249757.
PolarityPrecisionRecallF-ScoreSupport
00.890.840.882899
10.8840.910.895333
Accuracy 0.898232
MacroAvg0.870.880.878232
WeightedAvg0.890.890.898232
Table 6. CUDA-SADBM Classifier for multiclass classification. Training accuracy Score: 0.9869020501138952. Validation accuracy Score: 0.9656025267249757.
Table 6. CUDA-SADBM Classifier for multiclass classification. Training accuracy Score: 0.9869020501138952. Validation accuracy Score: 0.9656025267249757.
PolarityPrecisionRecallF-ScoreSupport
00.9530.9430.9242882
10.9500.9480.9465350
Accuracy 0.968232
MacroAvg0.960.960.9568232
WeightedAvg0.9550.9610.9598232
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pathuri, S.K.; Anbazhagan, N.; Joshi, G.P.; You, J. Feature-Based Sentimental Analysis on Public Attention towards COVID-19 Using CUDA-SADBM Classification Model. Sensors 2022, 22, 80. https://doi.org/10.3390/s22010080

AMA Style

Pathuri SK, Anbazhagan N, Joshi GP, You J. Feature-Based Sentimental Analysis on Public Attention towards COVID-19 Using CUDA-SADBM Classification Model. Sensors. 2022; 22(1):80. https://doi.org/10.3390/s22010080

Chicago/Turabian Style

Pathuri, Siva Kumar, N. Anbazhagan, Gyanendra Prasad Joshi, and Jinsang You. 2022. "Feature-Based Sentimental Analysis on Public Attention towards COVID-19 Using CUDA-SADBM Classification Model" Sensors 22, no. 1: 80. https://doi.org/10.3390/s22010080

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop