YTUP
Journals
About
Services
Guides
Sign InSubmit Article
HomeJournalsSigma Journal of Engineering and Natural Sciences10.14744/sigma.2025.00136
SJSigma Journal of Engineering and Natural Sciences
Get Alerted Download PDF
AbstractKeywordsIntroductionTf-IdfTf-IdfCbrnnTf-IdfKNN, RF, MNBTf-IdfProposed MethodologySentiment Classifier3. Individually train SVM, RF and BNB classifiers using5. Utilize the soft voting procedure to merge the predictionsExperimental SetupResults And DiscussionLassoRflassoTf-IdfLassoCsa-LstmLassoLassoConclusionData Availability StatementConflict Of InterestEthicsStatement On The Use Of Artificial IntelligenceReferencesShare and CiteRelated Articles
Article Open Access1 January 2025

Optimizing textual sentiment recognition through LASSO-based feature selection and ensemble voting t

Order Reprints Cite Share

NISHA*, and Rakesh KUMAR

* Author to whom correspondence should be addressed.

Sigma Journal of Engineering and Natural Sciences 2025, Vol. 43, Issue 6, pp. 1915-1929; doi.org/10.14744/sigma.2025.00136

Download PDF View DOI record

Abstract

The nuances of opinion mining across varied datasets demands robust, generic models that can efficiently handle varied emotions in a text. This work handles the stated problem by proposing a novel ensemble-based model aimed at boosting both accuracy and interpretability in sentiment analysis tasks, which is crucial for applications such as customer feedback analysis, public opinion monitoring, and review systems. This article utilizes ensemble soft voting that uses Support Vector Machine and Naive Bayes as base classifiers, leveraging state-of-art feature selection approaches such as grid search optimized LASSO and Chi-square. The rationale of using these strategies due to their proven capacity of dealing high dimensional textual data with reducing the variability.The proposed method was independently evaluated using three publicly available datasets: Sentiment140, US Airlines, and Internet Movie Database, achieving accuracies of 81.75%, 93.25%, and 93.2% respectively. The results depict the proposed model adaptability with both balanced and imbalanced datasets and its strength to identify meaning-ful features, affirming consistent performance throughout. This work innovation is in fusing ensemble method with grid search-optimized LASSO for selecting the features, surpassing current individual and ensemble models. This work pave the groundwork for future progress, encompassing the extension to larger datasets and the integration of multiple emotion.

Keywords: Grid Search; LASSO; Multidomain Textual Sentiment Recognition; Preprocessing; Random Forest; Soft Voting; SVM

Introduction

Sentiment is the English word but originally rooted from the French word “santement, sentiment”, which means “to express” or “to convey feelings”. An integral part of language in human communication is sentiment [1]. When faced with a challenging scenario, our emotions often guide us to make important judgments. Artificial Intelligence systems need to consider human emotions. There are three

domains where it has a major impact: decision-making, pattern recognition, and Human Computer Interaction (HCI). From the past decade, research on emotion has been flourishing exponentially. Far reaching availability of electronic devices, people largely engaged in spectrum of online activities nowadays such as social media, shopping, video games, online education, and related fields. The COVID19 epidemic has significantly increased the frequency of these actions, which in turn has boosted their popularity

*Corresponding author. *E-mail address: nisha.jrf.dcsa@kuk.ac.in This paper was recommended for publication in revised form by Editor-in-Chief Ahmet Selim Dalkilic Published by Yıldız Technical University Press, İstanbul, Turkey © Author. This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

and acceptability [2]. Existing literature demonstrated that Machine learning (ML) and Deep learning (DL) techniques are highly feasible to build the similar system, but have substantial limitations such as more computational power is required to build DL model for emotion detection, at the same time ML classifiers can be less precise [3,4], [5]. Further the nature of data could be balanced or imbalanced adding further complexity in detecting emotions. There may be an imbalance in the data if one emotion is underrepresented in Textual Sentiment Classification (TSC) results compared to others. This disparity arises from a variety of causes, including gender and age differences, cultural backgrounds, linguistic diversity, challenges in correctly categorizing, the individual’s inherent emotional distribution, data collection constraints, and other related issues [6]. Data preparation is the first stage in preparing the text for further processing. Due to the absence of a defined data model, the unstructured text is unfit for further processing. Therefore, certain data preparation or preprocessing techniques are required to reduce text size, eliminate noise, and find relevant patterns [7]. When dealing with textual data, it is necessary to employ text representations which transformed unstructured text into structured vectors, enabling ML models to analyzed them effeciently. BoW (Bag of Words), TF-IDF (Term Frequency–Inverse Document Frequency), Term Class Relevance (TCR), and phrase representation are commonly employed feature extraction techniques for textual data [8]. The aim of feature selection phase is to feed the classifier with a minimal relevant feature by eliminating noise and redunandant features and thus improving model’s performance [9]. Significant scientific endeavors have been devoted to this field in previous years. Nevertheless, the problem of managing a huge feature set from multiple domains continues to provide significant challenges. LASSO (Lеаst Absolutе Shrinkаgе аnd Sеlеction Opеrаtor) and Ridge are regularization techniques but have inbuilt feature reduction capability. This research tackles this difficulty by utilizing a LASSO technique using a grid search. TSC has several use cases: including customer feedback analysis, social media monitoring [4], brand monitoring, product and service reviews, market research [3], political analysis, tourism [10], financial analysis, healthcare [11], government intelligence, E-learning, education, and most recent use case is scientometric analysis where the goal is to examine the writers’ feelings as they relate to citations in scientific papers [12]. This research proposes a method for understanding textual sentiment using ensemble ML voting classifier. The reason for this is that ML models are simpler and more direct compared to DL models. The effects of different text representation and preprocessing techniques on English text with stemming and lemmatization, to preprocessing, and to regularization approaches such as LASSO and Ridge with inherent feature selection are explored in this work to check their efficacy in detecting sentiments. Here, the proposed Ensemble Soft Voting Classifier leverages the computational power

of three distinct base classifiers, including Support Vector Machines (SVM), Random Forest (RF), Naive Bayes (NB). This work introduces a grid search optimized feature selection strategy to tackle the short textual dataset with diverse domains. The high-dimensionality of the multidomain textual data results into the wide spectrum of vocabulary, thus demands a strong feature selection method. Employing Grid Search-based CV(Cross-Validation) feature selection using LASSO, this study handles multicollinearity problem in textual datasets by reducing dimensionality and feeding relevant features for a model. The main contributions of this work are detailed below: • We introduced a novel grid search optimized LASSO feature selection in conjuction with ensemble soft voting which is capable of handling high dimensional imbalanced textual data. • The proposed framework is grouping of five unified steps: data preprocessing, feature extraction and selection, training a model, and thus evaluation. The use of multivariate feature selection LASSO in compare to univariate Chi-square making the system more robust and accurate. • Proposed model leverages the ensemble soft voting for final prediction which constitute three heterogeneous base classifiers: SVM, RF, and NB. Grid search optimization is employed to automatically choose hyperparameters of these ML model. • The proposed work is independently evaluated on publicly available three textual datasets, such as Sentiment140, US Airlines, and IMDB (Internet Movie Database) aiming to enhance the task of sentiment analysis (SA). • The experimental evaluation reveals that our proposed ensemble framework in conjuction with LASSO feature selection approach attains better classification accuracies than without feature selection. The subsequent sections of the paper are organized in the following manner: Section 2, presents the literature survey, which offers a comprehensive summary of the current research in the field. In Section 3, the suggested design is delineated, providing a comprehensive account of the features incorporated and the classifiers under consideration. The outcomes of conducted experiments are detailed and evaluated in Section 4 of this study, which also contains the experimental data. In the concluding section of this paper Section 5, summarize the main results and conduct an in-depth evaluation of the possible conclusions that may be taken from this study. Literature Survey ML algorithms have recently made significant improvements, which led to their widespread use cases in multiple fields. Previous studies shown that ML can robustly determine the toughness of Mode-I rock fractures using metaheuristic optimization algorithms [13], as well as optimize the compression of respiratory signals and predict

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

financial system profits using DL models [14,15]. These instances demonstrate how ML may be tailored to address intricate, industry-specific challenges. Taking advantage of this adaptability, we utilize ensemble techniques to tackle natural language processing (NLP) and classification-specific problems in SA of textual data. Using ML [16–18] and DL [19–22] for textual data classification and analysis, has become an important application area in the field of NLP. There have been a lot of research looking into different ways to make sentiment detection systems better and faster. The methods, datasets, and results of these works are

summarized in Table 1, which offers a comparative overview of important contributions to SA. In recent years, academics have made significant advancements in the field of TSC by developing, refining, and comparing various feature extraction and selection methodologies, classification algorithms, and databases. Significant contributions have been made by researchers in the fields of ensemble learning [23–25] and feature selection [16,17,24]. However, there is a dearth of research undertaken on multidomain projects incorporating different domains with large datasets.

Tf-Idf

Only 1000 tweets via random selection were utilized in the experiments. Despite using less no of instances; the model is not precise. Potential difficulty in analyzing short Twitter comments.

Tf-Idf

The suggested hybrid feature selection technique does not exhibit enhanced classification performance on specific datasets, perhaps because of the limited availability of high-quality training data.

There are potential complexities in integrating DL and rule-based methods which possibly affect the scalability and interpretability of the model.

Cbrnn

The scaling of the model to larger datasets or real-world applications may necessitate additional computational and resource resources, which are not taken into consideration.

Complex ensemble framework and adaptability issues due to constant legth preprocessing.

Tf-Idf

A small single-domain dataset is used and the accuracy achieved is only 79%.

The challenge of efficiently extracting valuable information from voluminous and noisy usergenerated data.

The study focused on the Turkish language and a few examples, allowing for potential generalizability to other languages or cultures.

CNNs contain a multitude of convolutional layers to capture long-term dependencies making the model complex. Only one domain is captured during modeling.

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

KNN, RF, MNB

A single-domain dataset is used. Extensive ANN, LSTM, Bi- hyperparameter tuning is required LSTM

While the study highlights the potential of simpler architectures, it lacks a comprehensive exploration of interpretability and robustness across diverse datasets, and a lack of robustness in handling imbalanced datasets.

Tf-Idf

The efficacy of the model could be significantly enhanced through the incorporation of a variety of hyperparameter tuning with the base model, as its current accuracy fails to meet anticipated levels.

This research was limited to a singular investigation into the effect of word elongation on sentiment classification, and encountered difficulties in assembling the dataset.

The reliance on GloVe pre-trained word embedding for data augmentation may limit the model’s adaptability to domains with specialized vocabularies or dialects.

RoBERTa BiLSTM A possible limitation of this research pertains to the computational requirements and complexity GRU associated with the execution and enhancement of the ensemble hybrid DL model.

CLAS (CNNDL models used in this research need substantial LSTM-Attention- computational resources for both training and SVM) inference processes, hence imposing limitations on their accessibility and scalability, particularly in contexts with limited resources.

Proposed Methodology

The processing unit is a critical element in TSC systems as it is tasked with extracting essential information from the incoming text. Subsequently, a ML classifier is used to determine the primary text sentence’s expressed subjectivity. Figure 1 depicts the proposed methodology used in this work which makes the use of base classifiers as SVM and NB coupled with LASSO as feature selection. This section gives a synopsis of the classification methods used to build the proposed model, as well as the datasets used, feature extraction and selection, and model development. Datasets The proposed system’s effectiveness and scalability are evaluated on various datasets, including three cutting-edge ones, with both positive and negative evaluations conducted, excluding neutral ones. The datasets for US airlines reviews [34], IMDB review, and Sentiment 140 [35] were obtained from Kaggle, IMDB review, and Twitter API. The US Airlines dataset, which contains 11,517 tweets about six

US airlines, has an inherent imbalanced distribution. The IMDB review dataset, which contains 50,000 reviews, has a well-balanced distribution with 25,000 favorable and 25,000 unfavorable evaluations. The Sentiment140 dataset, which contains 160,000 tweets, has an imbalanced distribution with a mean word count below 115 words. The distribution of original samples from the datasets as shown in Figure 2. Data Preprocessing The aim of this phase is preprocessing the disorganized social media reviews for further classification. It goes over a lot of different methods, such as Normalization which involves a series of simultaneous activities, such as converting text to lowercase, removing URLs, and eliminating punctuation, hashtags, and whitespace, to improve the preparation process uniformity. Tokenization is the process of breaking down large text fragments into smaller tokens, dividing them into smaller units for efficient data analysis. We used Wordnet tokenizer for this study. Stemming and lemmatization, both destined to do same work. Stemming removes prefixes, suffixes, and definite articles from words,

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Figure 3. Top 15 most common words after removal of stop words for IMDB, Sentiment140, and US airline dataset. using hybrid, mild, and root stemming procedures, while lemmatization merges words into a single word, eliminating termination through morphological examination. The conducted experiment utilized lemmatization due to its perceived more meaningful linguistic representations, despite the minimal impact of stemming or lemmatization on accuracy. Stop words, such as “at” “is” and “the” are common in any language but not relevant to SA process. The distribution of the top 15 words in corresponding datasets after removing stop words are depicted in Figure 3.

Figure 4 represent before and after preprocessing results on few reviews of sentiment140 dataset which include removal of hastags, punctuations symbols and others which doesn’t add on subjectivity of text. Natural Language Toolkit (NLTK) and Scikit-learn stop words used here to enhance text preparation and reduce noise. Feature Extraction Words are too complex for ML techniques to comprehend, therefore feature extraction turns them into vectors

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Figure 4. An illustration showcasing the results of before and after data transformation (Sentiment140 dataset).

in space. After comparing TF-IDF and BoW approaches, TF-IDF was selected because of its better performance. It improves the importance of important terms by quantifying the rank of each term in a document, taking term frequency and overall corpus frequency into account. The following equation illustrates the process of calculating TF-IDF using IDF. (1)

(2) (3) Here 't' denotes the term in the document 'd' and 'D' represents the full corpora of the document. Feature Selection Finding useful features in pre-processed text input is the goal of feature selection, a method that improves the performance of ML models. Thus, selecting the essential features making model more transparent, maintain overfitting and results into much better computional efficient. We experminted with three feature selection methods here: Chisquare, LASSO- feature selection method which proven to be better accuracy than filter and reduced computional overhead than wrapper method. It is done by adding a regularizer term which create sparsity to less important feature thus refines the model’s foreseeability and transparency [37]. When it comes to feature selection in SA with textual data, LASSO works incredibly well since it automatically

removes redundant features, resulting in a model that is easier to understand. LASSO helps concentrate on the most relevant words or phrases by reducing the coefficients of less important features to zero by incorporating an L1 penalty into the model. This improves model generalizability and lessens overfitting, both of which are essential for managing big and frequently noisy text input in SA tasks. This work assesses the efficacy of LASSO on balanced and imbalanced textual datasets, despite the fact that its use in feature selection for textual datasets has received less attention. By punishing big regression coefficients and deleting extraneous characteristics from the model, the multivariate approach LASSO performs exceptionally well on high-dimensional datasets such as text. Accordingly, we used grid search-based cross-validation to determine the ideal regularization value, which allowed us to accomplish our goal in both balanced and imbalanced datasets. Excluding certain words or keywords is a common way to do this with textual data. Applying LASSO to textual data that has been processed using TF-IDF produces effective results, as shown in Equation 4. (4) The Equation above represents the objective function of LASSO which build upon two components. First is loss function which calulate mean squared error (MSE) ) between the predicted (yi) and actual values ( and also shows how well the model fits the data. The second ) which applies a penalty is Regularization Term ( that is directly proportionate to the total of the absolute values of the coefficients (|βj|), facilitates sparsity by reducing

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

some coefficients to zero, hence executing feature selection. The other variables used in Lasso equation are explained below: • n represents the number of text documents in your dataset. • p signifies the number of unique words extracted from the text documents, which serve as feature space. • xij​signifies the presence or frequency of the j-th word or term in the i-th text document. • yi​ signifies the output variable pertinent with the i-th text document. • βj​represents the coefficient linked with the j-th word or term, signifying its importance in projecting the target variable yi​. • α is the regularization parameter that controls the strength of the regularization (penalty term) and model fit (MSE term). Higher values of α result in more coefficients (βj) being shrunk towards zero, effectively removing less important words or terms from the model. A balanced relationship between sparsity (the simplicity of the model) and predictive performance is guaranteed by an ideal 𝛼, for this reason the ideal regularization strength is found by methodically here by exploring several values of 𝛼 in Grid Search CV. Less important feature coefficients are reduced to zero by the regularization process in LASSO, which imposes a penalty on their magnitude. To encourage sparsity through the removal of irrelevant features and simplify the model for improved interpretability, features with lower correlation with the target variable are penalized more severely. By keeping one feature from a set of correlated variables and rejecting the others, LASSO efficiently handles multicollinearity and improves the model’s efficiency and resilience. By improving generalization, decreasing overfitting, and concentrating on the most important features, regularization greatly boosts model performance. This is especially important when dealing with high-dimensional datasets, such as textual SA, because the model can easily get overwhelmed by irrelevant information. To avoid underfitting due to over-regularization and overfitting from under-regularization, it is necessary to properly tune the regularization parameter (𝛼). Another benefit of regularization is that it makes the model faster and easier to understand by lowering the number of features which is very helpful in case of high dimensional textual features.

groups. SVM aims to identify the hyperplane that has the maximum possible margin. Naïve Bayes NB is a Bayesian classification method using Baye’s theorem to determine the probability of a label from a set of features. To classify texts based on presence/absence features, Bernoulli NB (BNB) variant of NB is employed here, which excels at representing features as binary or Boolean [39]. Random Forest Classifier RF is as an ensemble classifier, meaning it combines the predictions of multiple DTs to get its final prediction as shown in Figure 5. The model uses decision trees (DT) trained on various datasets, with the final output determined by majority vote. It exhibits high resilience, stability, and reduced overfitting. The ideal split is determined by selecting features and building DT. Ensemble Voting Classifier Ensemble model works on “wisdom of crowds” that capitalizes the power of multiple base classifiers, aiming to build more accurate and robust predictive model. The potency of ensemble method relies on the accuracy of their constituent participating classifiers, necessitating that these classifiers perform better than the top-performing individual classifier. The investigation involves examining the top six classifiers to construct a customized ensemble technique known as the voting classification model. Included in the consideration are SVM, RF, BNB, SVM-Chi-square, SVMLASSO, RF-Chi-square, RF-LASSO, BNB-Chi-square, and BNB-LASSO. However, the Ridge feature selection method displayed inadequate performance and is therefore not

Sentiment Classifier

SVM Classifier The most widely used algorithm for SA provides high precision for extensive datasets [38]. The SVM strategy use hyperplanes to assess data and establish decision boundaries in this technique. SVM are a form of deterministic supervised learning method commonly employed for classification purposes. The fundamental SVM is to identify the hyperplane that may effectively split the data into multiple

Figure 5. Random Forest classification procedure with n= tree count.

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

being considered for the final classifier selection. Soft voting has been used in this work indicating that the predicted class labels are determined based on the argmax of the sums of predicted probabilities, suitable for combining probabilities from multiple classifiers. Since in this work, a soft voting classifier is used, the probabilities from each base classifier are combined, and the class with the highest combined probability is chosen as the final prediction. Subsequently, the voting strategy achieved the best accuracy in sentiment prediction out of all the approaches examined by aggregating the classifier’s outputs using an average weighting methodology. Here’s the corrected equation:

In this equation: • P(voting) represents the probability of the voting classifier. • wi represents the weight allocated to the ith base classifier. • Pi (class) represents the probability predicted by the ith base classifier for a particular class. • n represents the total number of base classifiers. In the soft voting process, the final class prediction is determined by computing the weighted average of the predicted probability for each base model. Its performance on binary classification is enhanced by this ensemble strategy. However, ensemble model can be computationally expensive sometime, but in this work the main aim is to improve the performance like accuracy and F1 measure. So, the capacity of this technology to assess text content in a balanced and sophisticated way makes it unbeatable by complex sentiment patterns. The ensemble voting classifier’s procedure

3. Individually train SVM, RF and BNB classifiers using

a designated training set with or without feature selection methods. Chi, LASSO, and Ridge were used in this study.

5. Utilize the soft voting procedure to merge the predictions

of classifiers. SVM and BNB with LASSO and Chi-square as these two are giving promising result in this work.

Experimental Setup

The model described in this study was implemented using the following modeling environments: The browser-based interface of Jupyter Notebook an open-source application was utilized to provide freedom for act equally in local and cloud contexts. Google Colaboratory, a Google Research tool, was used for model implementation using Python version 3.7.13, along with various libraries like NumPy, Pandas, Scikit-learn, and Matplotlib. The proposed model was developed and evaluated in a thorough and flexible environment made possible by the combination of various technologies. Additionally, three ML algorithms—SVM, RF, and BNB that are widely used in text categorization were included in the study for a more thorough evaluation. These three methods made use of the BoW and TF-IDF vectorization approaches to extract characteristics from the text input. The ML algorithms are then fed the characteristics or vectors specified earlier. Token density determines how many features each vectorization approach produces for a certain review or text. For these ML algorithms, the TF-IDF method outperformed the BoW method in terms of accuracy. Therefore, evaluation of proposed framework is done with only TF-IDF technique outputs.

Results And Discussion

The selection of three separate datasets was based on their individual qualities and how well they fit the research goals. Because it does not impose any particular domain restrictions, the sentiment140 dataset was selected for its generalizability. Abbreviations and emojis abound in this dataset which include short messages, usually no more than 100 words long. On the other hand, the IMDB dataset was

Table 2. Specification of the sentiment140, IMDB, and twitter US airline datasets Sentiment140 IMDB Twitter US Airline Input length

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

incorporated because of its association with the film industry; it contains far more extensive communications, with an average length of about 500 words. The last reason the US airlines dataset was chosen is because of the imbalance in sentiment distribution and the fact that the text review durations are all over the place. The overall specification of discussed datasets is presented in Table 2 below. The construction of model is both complicated and exciting by virtue of the eclectic mix of datasets. This study primarily aims to create a model that can successfully analyze and comprehend various types of data inputs. The goal is to build a strong model that works well with a variety of inputs by taking use of the unique features of each dataset. The fundamental objective of this study is to establish a model that is highly effective in dealing with the complicated issues presented by the specific datasets that have been chosen. Thus, improved the text cleaning process in the initial step of preprocessing by eliminating a larger variety of frequently used words from both libraries using a combined set of stop words from scikit-learn and NLTK. When you compare the sizes of these words as shown in Table 2, its highly observable how stop words affect the complexity and richness of dataset’s language. This comes especially handy when dealing with English text data, which can include many words that are regularly used yet don’t really tell us anything. The feature set in this study typically has many dimensions, noisy, and may contain irrelevant or redundant information due to the nature of textual features. So, there is dire need of allowing only relevant features feed into the model. In this work, filter-based feature selection method, specifically χ2 known for their potency in processing categorical features is used. These methods are applied both independently and in conjunction with ML classifiers, including SVM, RF, BNB, and proposed ensemble voting

classifier to examine their effect on feature relevance and model outcome. This study introduces LASSO a feature selection methodology integrated with an ensemble voting classifier, a regularization technique used which has been rarely studied in case of text SA, that is specifically tailored for a dataset consisting of different domains. Additionally, Grid Search CV is used to identify the optimal hyperparameters for LASSO regularization and other methods. Furthermore, experiments are run with different values of n in the χ2 method, in order to choose a value that give promisable accuracy. Experimental outcomes with datasets demonstrate that LASSO which is multivariate analysis consistently outperforms the χ2 which is univariate approach when integrated with the proposed voting classifier. We explored various train-test ratios in this study, but finally concluded that 80:20 ratio yielding the most promising outcomes managing bias-variance tradeoff. In addition, precise hyperparameter tuning was done to refine model performance however, for brevity, only the most accomplished configuration for this study is presented in Table 3. The experiment was limited to unigram and bigram approaches, and random sampling was used to ensure equal representation of classes. Potential data augmentation

Lasso

Figure 6. Performance of SVM, RF, BNB, and ensemble voting classifiers on the US Airline dataset using LASSO.

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Figure 7. Performance of SVM, RF, BNB, and ensemble voting classifiers on the Sentiment140 dataset using LASSO.

Figure 8. Performance of SVM, RF, BNB, and ensemble voting classifiers on the IMDB dataset using LASSO.

Figure 9. Error matrix of ensemble voting classifier for US Airline using Grid Search based LASSO filtering.

Figure 10. Error matrix of ensemble voting classifier for Sentiment140 using Grid Search based LASSO filtering.

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Figure 11. Error matrix of ensemble voting classifier for IMDB using Grid Search based LASSO filtering. techniques could address class imbalances. Figure 6, 7, and 8 show the variation in classifier accuracy across datasets which shows that our suggested ensemble voting classifier continuously beats all existing classifiers by fusing powerful

base classifiers like SVM and BNB with efficient feature selection algorithms like LASSO and Chi-square (Fig. 9-11). Accuracy, Precision, Recall, and the F-measure (for imbalanced dataset) were some of the performance indicators used to analyze the model’s efficacy during this review since. The results for different datasets utilizing the ensemble voting classifier and LASSO are shown in Tables 4, 5, and 6. Tables 7, 8, and 9 show that our method yields better classification accuracy with least complexity than the work done in previous literature. In comparison to the US Airlines dataset (0.839) and the Sentiment140 dataset (0.800), the IMDB dataset has an MCC of 0.634. Figure 12, 13, and 14 show the box plots across various metrics for each dataset. For Sentiment140 dataset, box plot shows many outliers indicating that the model’s performance varies significantly throughout the dataset which could be due to linguistic features of dataset as it contains very short text with emoticons and varying customer’s sentiments on different topics. The suggested ensemble-voting SA framework shows strong transferability to many domains. Its success on all

Rflasso

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Table 7. Comparison of model complexity and performance on the IMDB dataset Sr. no

Tf-Idf

M is size of data; N is no of features. 93% O(P∗F∗T) P stands for the parameter count. F represents the computational complexity of the forward pass through the network, T represents the training time required to train the model on a given dataset.

Here, P combines all parameters from Word2Vec, GloVe, BERT, and LSTM/GRU models; F combines their respective forward pass complexities; and T reflects the overall training time, influenced by data size and training epochs.

O (M × K) + O (M × H2) M is size of input sequence, H is no of input unit, K is kernel size.

Lasso

93.20% Ensemble (SVM, O(P*Q) + T*log(n) BNB, RF) P is size of data, Q is count of features, T is count of trees and n is total samples count in dataset.

Table 8. Comparison of model complexity and performance on the US airlines dataset Sr. no

Csa-Lstm

N is the sequence length, d is the input dimension h is the hidden size of the LSTM. [32]

O(L*N2*d) + O (N*d*hLSTM) + O(2*N*d*hBiLSTM​) + O (N*d*hGRU ​)

Lasso

P is size of data, Q is count of features, T is count of trees and n is total samples count in dataset.

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

Table 9. Comparison of model complexity and performance on the sentiment140 dataset Sr. no Source & Publication Year

Here M is input sequence length; d is dimensionality of the model. --

Lasso

Ensemble Voting O(P*Q) + T*log(n) 81.75% (SVM, RF BNB) P is size of data, Q is count of features, T is count of trees and n is total samples count in dataset.

Figure 12. Visualization of metrics across IMDB using whisker plot.

Figure 14. Visualization of metrics across sentiment140 using whisker plot. travel. Although the proposed model’s result proven better detection of sentiments, but there are still some limitations of this study. In high-dimensional text data, nuanced predictors may be useful, but LASSO has tendency to enforce sparsity by zeroing out less important features, can lead to their permanent removal and additionally ensemble model can be complex and computationally heavy, especially when balancing base classifiers share. Sometimes, this extra complexity makes things harder to understand and makes real-time analysis less efficient.

Conclusion

Figure 13. Visualization of metrics across US Airlines using whisker plot. three datasets depicts that it might be useful to analyze trends, public opinion monitoring, and wide-scale consumer input in fields like social media, entertainment, and

Using LASSO, an inherent feature selection method based on multivariate analysis, this work aims to detect textual data polarity. To generalize the effectiveness of proposed ensemble voting classifier, model is test on dataset with different domain and different length of input text like short in sentiment140 and long for Internet Movie Database and also with balanced and imbalanced in case of US airline dataset. Results showing satisfactory accuracy as compared to DL models which are more complex and black

Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025

box in nature. It must be emphasized that Grid Searchbased LASSO is a noteworthy feature selection method. For the Sentiment140, Internet Movie Database, and US airlines dataset, the ensemble voting model with Grid Searchbased LASSO achieves an accuracy of 81.75%, 93.20%, and 93.25% respectively. A proposed voting classifier which is an ensemble model based on soft voting was built in this study using the Grid Search-based multivariate feature selection method LASSO in conjunction with the classifiers SVM, RF, and BNB. In our forthcoming research, we intend to assess the efficacy of the model in several tasks, including the identification of distinct emotions (e.g., sadness, happiness) and the analysis of emotions based on certain aspects. Furthermore, we will also look into data imbalances and tweets that include non-textual elements such as emojis. In addition, methods for pre-trained text embedding will be utilized to construct sophisticated emotion model. To handle class imbalance by dynamically prioritizing cases from underrepresented emotions, future study could investigate the possibility of using ensemble classifiers from adaptive weighted neural networks for real-time text emotion identification.

Data Availability Statement

The authors confirm that the data that supports the findings of this study are available within the article. Raw data that support the finding of this study are available from the corresponding author, upon reasonable request.

Conflict Of Interest

The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Ethics

There are no ethical issues with the publication of this manuscript.

Statement On The Use Of Artificial Intelligence

Artificial intelligence was not used in the preparation of the article.

References

  1. Ligthart A, Catal C, Tekinerdogan B. Systematic zation using financial accounting information sys- reviews in sentiment analysis: a tertiary study. Artif tem by optimized DLSTM. Heliyon 2023;9:e19431. Intell Rev 2021;54:1–57. [CrossRef] [CrossRef] Sigma J Eng Nat Sci, Vol. 43, No. 6, pp. 1915−1929, December, 2025 1929
  2. Appel O, Chiclana F, Carter J, Fujita H. A hybrid [28] Hameed Z, Garcia-Zapirain B. Sentiment classifi- approach to the sentiment analysis problem at the cation using a single-layered BiLSTM model. IEEE sentence level. Knowl Based Syst 2016;108:110–124. Access 2020;8:73992–74001. [CrossRef] [CrossRef] [29] Al Bataineh A, Kaur D. Immunocomputing-based
  3. Tiwari P, Mishra BK, Kumar S, Kumar V. approach for optimizing the topologies of LSTM net- Implementation of n-gram methodology for rot- works. IEEE Access 2021;9:78993–79004. [CrossRef] ten tomatoes review dataset sentiment analysis. In: [30] Rafae A, Erritali M, Roche M. Fusion of BERT Cognitive analytics: concepts, methodologies, tools, embeddings and elongation-driven features. and applications. IGI Global; 2020. p. 689–701. Multimed Tools Appl 2024;83:80773–80797. [CrossRef] [CrossRef] [31] Tan KL, Lee CP, Anbananthen KSM, Lim KM.
  4. Nafis NSM, Awang S. An enhanced hybrid feature RoBERTa-LSTM: A hybrid model for sentiment selection technique using TF-IDF and SVM-RFE for analysis with transformer and recurrent neural net- sentiment classification. IEEE Access 2021;9:52177– work. IEEE Access 2022;10:21517–21525. [CrossRef] 52192. [CrossRef] [32] Tan KL, Lee CP, Lim KM, Anbananthen KSM.
  5. Ray P, Chakrabarti A. A mixed approach of deep Sentiment analysis with ensemble hybrid deep learning learning method and rule-based method to improve model. IEEE Access 2022;10:103694–103704. [CrossRef] aspect level sentiment analysis. Appl Comput [33] Baqach A, Battou A. CLAS: A new deep learning Inform 2022;18:163–178. [CrossRef] approach for sentiment analysis from Twitter data.
  6. Kokab ST, Asghar S, Naz S. Transformer-based deep Multimed Tools Appl 2023;82:47457–47475. [CrossRef] learning models for the sentiment analysis of social [34] Wan Y, Gao Q. An ensemble sentiment classification media data. Array 2022;14:100157. [CrossRef] system of Twitter data for airline services analysis.
  7. Soubraylu S, Rajalakshmi R. Hybrid convolutional In: 2015 IEEE International Conference on Data bidirectional recurrent neural network based sen- Mining Workshop (ICDMW). IEEE; 2015. p. 1318– timent analysis on movie reviews. Comput Intell 1325. [CrossRef] 2021;37:735–757. [CrossRef] [35] Nisha, Kumar R. Comparison between feature
  8. Subba B, Kumari S. A heterogeneous stacking extraction algorithms for sentiment recognition ensemble based sentiment analysis framework from text. In: International Conference on Intelligent using multiple word embeddings. Comput Intell Systems Design and Applications. Springer; 2023. p. 2022;38:530–559. [CrossRef] 301–310. [CrossRef]
  9. Yousaf A, Umer M, Sadiq S, Ullah S, Mirjalili S, [36] Ahmad SR, Bakar AA, Yaakub MR. A review of Rupapara V, et al. Emotion recognition by tex- feature selection techniques in sentiment analysis. tual tweets classification using voting classifier Intell Data Anal 2019;23:159–189. [CrossRef] (LR-SGD). IEEE Access 2020;9:6286–6295. [CrossRef] [37] Tan M, Tsang IW, Wang L. Matching pursuit LASSO
  10. Saraswathi N, Rooba TS, Chakaravarthi S. Improving part I: Sparse recovery over big dictionary. IEEE the accuracy of sentiment analysis using a linguis- Trans Signal Process 2014;63:727–741. [CrossRef] tic rule-based feature selection method in tourism [38] Cervantes J, Garcia-Lamont F, Rodríguez-Mazahua reviews. Meas Sens 2023;29:100888. [CrossRef] L, Lopez A. A comprehensive survey on support
  11. Catal C, Nangir M. A sentiment classification model vector machine classification: Applications, chal- based on multiple classifiers. Appl Soft Comput lenges and trends. Neurocomputing 2020;408:189– 2017;50:135–141. [CrossRef] 215. [CrossRef]
  12. Rehman AU, Malik AK, Raza B, Ali W. A hybrid [39] Badik ŞT, Akar M. Machine learning classification CNN-LSTM model for improving accuracy of models for the patients who have heart failure. movie reviews sentiment analysis. Multimed Tools Sigma J Eng Nat Sci 2024;42:235–244. [CrossRef] Appl 2019;78:26597–26613. [CrossRef] [40] Singla C, Al-Wesabi FN, Pathania YS, Alfurhood BS,
  13. Gouthami S, Hegde NP. Feature selection based Hilal AM, Rizwanullah M, et al. An optimized deep sentiment analysis on US airline twitter data. Delta learning model for emotion classification in tweets. 2023;955;723:544. Comput Mater Contin 2022;70:6365–6380. [CrossRef]

Share and Cite

NISHA, N.; KUMAR, R. Optimizing textual sentiment recognition through LASSO-based feature selection and ensemble voting t. Sigma Journal of Engineering and Natural Sciences 2025, Vol. 43, pp. 1915-1929. https://doi.org/10.14744/sigma.2025.00136

Export:

Related Articles

Cat swarm optimized tumor segmentation and an ensemble predictive model for glioblastoma patient surBhagyalaxmi K, Dwarakanath B, 1 January 2025Automatic identification of brittle elongated and equiaxed ductile fracture modes in weld joints thrK. GAJALAKSHMI, S. SARAVANAN, 1 January 2025The evaluation of the effect of data balancing over the classification performances of ensemble of nMothna Mezher AL-RUBAYE, Hamza Osman İLHAN, 1 January 2024A Combined Decision Algorithm for Diagnosing Bearing Faults Using Artificial Intelligent TechniquesHüseyin Metin ERTUNÇ, 1 January 2018
Publication History
Published1 January 2025
Versionv1
AccessOpen Access
10.14744/sigma.2025.00136
Article Figures (9)
Figure 1Figure 2Figure 3Figure 4Figure 5Figure 6Figure 7Figure 8Figure 9
Related Articles
Cat swarm optimized tumor segmentation and an ensemble predictive model for glioblastoma patient surBhagyalaxmi K, Dwarakanath BSigma Journal of Engineering and Natural Sciences, 1 January 2025Automatic identification of brittle elongated and equiaxed ductile fracture modes in weld joints thrK. GAJALAKSHMI, S. SARAVANANSigma Journal of Engineering and Natural Sciences, 1 January 2025The evaluation of the effect of data balancing over the classification performances of ensemble of nMothna Mezher AL-RUBAYE, Hamza Osman İLHANSigma Journal of Engineering and Natural Sciences, 1 January 2024
Sigma Journal of Engineering and Natural Sciences coverSigma Journal of Engineering and Natural Sciences Download PDF

Subscribe to YTUP

Stay connected and receive the latest research updates directly in your inbox.

YTUP — Yıldız Technical University Publishing

Advancing knowledge and fostering innovation through high-quality, peer-reviewed academic publications.

About YTU

Discover

  • ›Articles
  • ›Journals
  • ›Research Topics
  • ›Open Access Policy

Guidelines

  • ›Author guidelines
  • ›Services for authors
  • ›Policies and publication ethics
  • ›Editor guidelines
  • ›Fee policy

Explore

  • ›Articles
  • ›Research Topics
  • ›Journals
  • ›How we publish

Support

  • ›Help center
  • ›Emails and alerts
  • ›Contact us
  • ›Submit
  • ›Career opportunities
YTU Logo

© 2026 Yıldız Technical University (Istanbul, Turkey)

Terms and ConditionsTerms of UsePrivacy PolicyPrivacy SettingsDisclaimer
Like this platform? Join our teamHave feedback or questions?
Supervisor