1. Introduction
Internet has modified the mode in which how individuals portray their convictions and sentiments about items or administrations, occasions, themes, communications, and so on. It is predominantly done by means of informal organizations, audit sites, web gatherings, online journals, and Internet remarks [1-3]. These writings are highly sentimental and are hence valuable for organizations or people willing to further develop their item advertising methodologies and react with them. Strategies programmed for sentiment analysis (SA) are regularly picked for this reason. SA has been utilized for investigating sentiments of tweets on healthcare area [4], assess educators capacity and foresee understudy execution distinguish relevant extremity of medications, film, and eatery audits, inspect popular assessment on items and administrations and cultural issues, characterize e-students and their subjects of revenue in their informal organization's communications, perform assessment mining in tweets, break down sentiment direction of microblogs, and conjecture stock costs from sentiments of information signals in the monetary business sectors [5, 6]. These days, SA just as data mining is comprehensively explored research regions [7]. It utilizes natural language processing (NLP) and text mining to separate individuals' feelings or feelings towards an occasion, item, or others [3, 4]. As a rule, SA forces distinguishing four components containing element, its angle, assessment holder, and his sentiment [5]. The extricated suppositions can be ordered to one or the other level headed or emotional content. The abstract content additionally can be arranged to positive or negative sentiments [8]. Fig. 1 shows the generic process involved in SA.
The issue of SA is a hot research subject. Despite the fact that SA is a significant region and right now has a wide scope of uses, it unmistakably is anything but a clear errand and has many difficulties identified with regular language handling (NLP). Late examinations on SA keep on confronting hypothetical and specialized issues that block their general exactness in extremity location [9, 10]. Hussein et al. considered the connection between those issues and the sentiment structure, just as their effect on the exactness of the outcomes. This work confirms that precision involves high worry among the most recent examinations on SA and demonstrates that it is influenced by certain difficulties, like tending to invalidation or area reliance. Web-based media are significant wellsprings of information for SA. Interpersonal organizations are ceaselessly growing, producing considerably more unpredictable and interrelated data. A few examinations center around building incredible models to settle the persistently expanding intricacy of huge information, just as to extend SA to a wide scope of utilizations, from monetary anticipating [11] and showcasing techniques [7] to medication analysis and different regions [12-14].
van Atteveldt et al. [15] gives a comprehensive evaluation of SA approaches utilizing a validation set of Dutch economic presents for comparing efficiency of manual annotation, crowd coding, several dictionaries and ML utilized combine classic and DL techniques. The 3 important assumptions are: (1) An optimum efficiency has been still reached to trained human/crowd coding; (2) All of the above utilized dictionaries come closer to suitable levels of validities; and (3) ML, particularly DL, significantly exhibits dictionary based techniques however decreases short of human efficiency.
Wang et al. [16] present a new technique to aspect level SA dependent upon the newly projected paradigm of Gradual Machine Learning (GML) that allows perfect machine labeling with no condition to manual labeling work. It starts with any simple examples from the task that is automatically labeled with machine thorough higher accuracy, afterward, slowly labels the further issues samples with iterative factor graph inferences. Mendon et al. [17] introduce a structure for analyzing user sentiment on Twitter over natural disasters utilizing the data pre-processed approaches and hybrid of ML, statistical modeling, and lexicon based method. It can be elect TF-IDF as well as K-means to sentiment classifier amongst affinitive and hierarchical clusters. The Latent Dirichlet Allocation, a pipeline of Doc2Vec as well as K-means utilized for capturing themes, next execute multi-level polarity indices classifier and their time series exploration.
In [18], an optimized based ML technique was presented for classifying the Twitter data. The procedure has been completed in 3 phases. The primary phase data was gathered and pre-processing, the second phase data was optimizing by removal required features, and the third phase the upgraded trained set was classified as to distinct classes with executing varying ML approaches. El-Affendi et al. [19] present a new DL based multilevel parallel attention neural (MPAN) method which utilized an easy positioning binary embedding scheme (PBES) for concurrently calculating contextualized embedded at the character, word, and sentence level. The MPAN technique then calculates multi-level attention vector as well as concatenate them at the output levels for producing reasonable accurateness.
This paper presents a new K-means clustering with hybrid metaheuristic algorithm (KMC-HMA) for SA and classification. The proposed KMC-HMA technique initially performs data preprocessing to remove the unwanted words from the product reviews. In addition, K-means clustering technique is used for the clustering of the massive quantity of the applied product reviews. Moreover, the clustered data are fed into the classification model based on hybrid ant colony optimization (ACO) with dragonfly algorithm (DFA). The ACO algorithm is used for the classification of product reviews and the performance of the ACO algorithm can be optimally tuned by the use of DFA. The performance validation of the KMCHMA technique is validated using two datasets such as Canon and ipod.
2. The Proposed Model
In this study, an effective KMC-HMA technique is derived for SA and classification. The proposed KMC-HMA technique initially performs data preprocessing to remove the unwanted words from the product reviews. Next, clustering and classification processes are carried out as elaborated in the following areas.
2.1 Preprocessing
The unwanted noise elements like URLs, stop words, hash tags, multiple spaces, etc. needs to be removed prior to extracting features. The URLs are removed using regular expression matching. The hash tag (#), punctuation marks like /, _, \is eliminated and more number of white spaces is replaced by white space. Next, all the words in the online review are transformed to lowercases. The stop word (an, a, is, the, an) also the word that doesnβt begin with the alphabet are eliminated. Stop word dictionaries and acronym dictionaries are also used to enhance the accuracy of the data set.
2.2 K-Means Clustering
K-means clustering [20] is a popular information clustering technique which groups n data point to K cluster with the minimization of distance of data point from K CHs in an iterative manner. The distance is computed by cosine measure/Euclidean distance. In K -means method, the process of selecting the values of K for a dataset with unidentified numbers of classes is a difficult task. In those situations, elbow technique, information criterion method, silhouette method, etc. are employed to choose K value. The normalized feature vector is applied to KMC-HMA algorithm, which incorporates K-means and ACO techniques for clustering the information. Since K-means are the simplest and efficient clustering technique, it is widely used in various fields. But, it suffers from the drawbacks of trapping to initial clusters. The created clusters can be employed for additional investigation. So, in such cases, the created cluster from K-means are employed in ACO technique to optimize the cluster-heads. The number of online product reviews is increasing day by day and the dataset size becomes very large. Since the larger dataset may increase the burden of ACO and stuck to less classification accuracy. Hence, the presented approach modifies the initial procedure of ACO method that leads to fast convergences and improved classification accuracy. For KMC-HMA method, the solution attained from K-means is applied for initialization of KMC-HMA method.
Let n represent the number of online product reviews which are clustered to N classes. Every online product review is denoted as a featured vector which holds S numbers of features as well as all the features were measured in [0, T]. The likelihood sharing of all features are computed by
where I indicate ith feature value (0 β€πβ€π) and π! represents the overall amount of online product reviews has ith feature value.
Any online product review is categorized into classes π·% where it contains minimal Euclidean distance. So, the likelihood of existence π€% of classes are equated as,
The mean of class π·% is computed as
The interclass variances are normally determined by:
For the clustering process of various online product reviews, the interclass variances displayed in Eq. (5) must be increased.
2.3 Data Classification
ACO algorithm is developed by [21], based on the foraging nature of real nature of real ants. In ACO based data classification process, the ant finds the shortest path between two points. The ants select the feasible path using a probability function, which is obtained by the amount of pheromones present in the heuristic and path function. Once the ant passed all the available routes, the route with maximum quantity of pheromones and the heuristic values through high likelihood would be preferred. Once ant enters a route, the pheromones begin to increase. When enough number of ants use the same paths, it becomes a candidate rule. The candidate rules will become discover rules only if the qualities are better. The ACO algorithm is used for the classification of product reviews and the performance of the ACO algorithm can be optimally tuned by the use of DFA. DFA is a recently developed bio-inspired optimization method deployed by [22]. It is mainly evolved from static and dynamic performances of dragonflies swarm behavior.
Because of this behavior, 5 important attributes that affect the individualsβ upgrading location are Alignment, Separation, Attraction towards food source, Distraction of enemy, and Cohesion. Such attributes are explained numerically given below.
Separation: This parameter is measured by the given formula:
where πmeans the individualβs recent place, π, denotes the location of kth neighbouring individuals and πdefines the overall count of neighbouring separations.
Alignment: It shows that mean of velocities which are determined by given expression:
where π,implies the velocity of kth neighbouring individuals.
Cohesion: the attributes are evaluated by:
Attraction towards a food source: It signifies a distance among location of present individual and location of food source (π-) and it can be determined by the provided notion:
Distraction outwards an enemy: It means a distance among position of recent individual and location of an enemy (π.) which is measured by:
In dragonfly, nature is a unification of 5 variables. Then, 2 vectors are employed for upgrading dragonfliesβ place in a search space, such as step vectors (β³π) and location vectors (Y). Step vectors are illustrated by:
where π means the alignment weight, π΄!refers to the position of ith individuals, π denotes the separation weights, π!implies differentiation of ith individuals, πdefines cohesion weights, πΆ!represents cohesion of ith individuals, π depicts enemies weights, πΈ!defines location of enemies in ith individuals, πsignifies the food weight, πΉ!showcases food sources of ith individuals, π€ shows the inertia weightiness, also π‘ exhibits the described as iteration number.
3. Performance Validation
In this section, the performance validation of the KMC-HMA technique on the two datasets namely Canon and ipod. Table 1 and Fig. 2 reports the detailed comparative study of the KMC-HMA technique with compared models on Canon dataset. On examining the results interms of sensitivity, it is obvious that the CSKA and SVMA techniques have resulted in poor outcomes with the lower sensitivity of 0.842 and 0.854. In line with, the PSOA and NNA techniques have reached a slightly increased sensitivity of 0.867 and 0.867. Then, the ACOA and ACO-K techniques have accomplished a moderately reasonable outcome with the sensitivity of 0.982 and 0.986. But the proposed KMC-HMA technique has offered a higher sensitivity of 0.989.
In addition, on investigating the outcomes with respect to specificity, it can be clear that the CSKA and SVMA techniques have resulted in poor results with the lesser specificity of 0.515 and 0.544. Also, the NNA and PSOA methods have attained a somewhat improved specificity of 0.587 and 0.641. Afterward, the ACOA and ACO-K methods have accomplished a moderately reasonable outcome with the specificity of 0.901 and 0.935. However, the presented KMC-HMA methodology has obtainable a superior specificity of 0.945.
Moreover, on examining the results interms of accuracy, it is apparent that the CSKA and SVMA methods have resulted in the least result with the lower accuracy of 0.775 and 0.803. Similarly, the NNA and PSOA techniques have achieved somewhat higher accuracy of 0.819 and 0.825. Afterward, the ACOA and ACO-K techniques have accomplished a moderately reasonable outcome with the accuracy of 0.964 and 0.975. Finally, the projected KMC-HMA technique has existing an improved accuracy of 0.980.
Finally, on scrutinizing the results with respect to F-score, it can be stated that the CSKA and SVMA methods have resulted in worse outcomes with the minimum F-score of 0.856 and 0.879. Similarly, the NNA and PSOA approaches have obtained a slightly superior F-score of 0.888 and 0.890. In addition, the ACOA and ACO-K techniques have accomplished a moderately reasonable outcome with the F-score of 0.977 and 0.984. Lastly, the proposed KMC-HMA technique has accessible a maximum F-score of 0.994.
Table 2 and Fig. 3 offer the detailed comparative study of the KMC-HMA manner with compared techniques on iPod dataset. On investigative the results with respect to sensitivity, it can be evident that the PSOA and SVMA manners have resulted in to least outcome with the lesser sensitivity of 0.807 and 0.820. Also, the CSKA and NNA techniques have reached a somewhat higher sensitivity of 0.822 and 0.833. Then, the ACOA and ACO-K methods have accomplished a moderately reasonable outcome with the sensitivity of 0.912 and 0.949. Lastly, the projected KMC-HMA method has obtainable a maximal sensitivity of 0.963.
Next, on scrutinizing the outcomes interms of specificity, it is noticeable that the SVMA and NNA techniques have resulted in worse results with the lower specificity of 0.854 and 0.857. In line with, the CSKA and PSOA techniques have gained a slightly superior specificity of 0.926 and 0.939. Then, the ACOA and ACO-K methods have accomplished a moderately reasonable outcome with the specificity of 0.994 and 0.995. However, the proposed KMC-HMA methodology has offered a higher specificity of 0.998.
Then, on examining the outcomes with respect to accuracy, it can be clear that the SVMA and NNA techniques have resulted in minimal outcomes with the least accuracy of 0.848 and 0.853. Along with that, the CSKA and PSOA techniques have reached a somewhat maximum accuracy of 0.908 and 0.914. Afterward, the ACOA and ACO-K techniques have accomplished a moderately reasonable outcome with the accuracy of 0.975 and 0.985. But the presented KMC-HMA technique has existed a maximum accuracy of 0.999.
Finally, on inspecting the results interms of F-score, it can be evident that the SVMA and NNA approaches have resulted in poor outcomes with the minimum F-score of 0.649 and 0.659. Besides, the CSKA and PSOA manners have gained to a slightly increased F-score of 0.750 and 0.778. At the same time, the ACOA and ACO-K techniques have accomplished a moderately reasonable outcome with the F-score of 0.943 and 0.965. Eventually, the proposed KMC-HMA methodology has accessible a higher F-score of 0.968.
4. Conclusion
In this paper, an effective KMC-HMA technique is derived for SA and classification. The proposed KMC-HMA technique initially performs data preprocessing to remove the unwanted words from the product reviews. In addition, K-means clustering technique is used for the clustering of the massive quantity of the applied product reviews. Moreover, the clustered data are fed into the classification model based on hybrid ACO with DFA. The ACO algorithm is used for the classification of product reviews and the performance of the ACO algorithm can be optimally tuned by the use of DFA. The performance validation of the KMC-HMA technique is validated using two datasets such as Canon and ipod. The experimental values pointed out the superior performance of the KMC-HMA technique over the recent state of art techniques. The efficacy of the KMC-HMA technique can be boosted by the use of outlier detection approaches.