<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">71977</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2026.071977</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>A Novel Hybrid Sine Cosine-Flower Pollination Algorithm for Optimized Feature Selection</article-title>
<alt-title alt-title-type="left-running-head">A Novel Hybrid Sine Cosine-Flower Pollination Algorithm for Optimized Feature Selection</alt-title>
<alt-title alt-title-type="right-running-head">A Novel Hybrid Sine Cosine-Flower Pollination Algorithm for Optimized Feature Selection</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Azeem</surname><given-names>Sumbul</given-names></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-2" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Javed</surname><given-names>Shazia</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><xref rid="cor1" ref-type="corresp">&#x002A;</xref><email>shazia.javed@lcwu.edu.pk</email></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Ibraheem</surname><given-names>Farheen</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Bashir</surname><given-names>Uzma</given-names></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-5" contrib-type="author">
<name name-style="western"><surname>Waheed</surname><given-names>Nazar</given-names></name><xref ref-type="aff" rid="aff-3">3</xref></contrib>
<contrib id="author-6" contrib-type="author">
<name name-style="western"><surname>Aurangzeb</surname><given-names>Khursheed</given-names></name><xref ref-type="aff" rid="aff-4">4</xref></contrib>
<aff id="aff-1"><label>1</label><institution>Department of Mathematics, Lahore College For Women University (LCWU)</institution>, <addr-line>Lahore</addr-line>, <country>Pakistan</country></aff>
<aff id="aff-2"><label>2</label><institution>Department of Mathematics, Forman Christian College University (FCCU)</institution>, <addr-line>Lahore</addr-line>, <country>Pakistan</country></aff>
<aff id="aff-3"><label>3</label><institution>Faculty of Computer Information Systems, Higher Colleges of Technology</institution>, <addr-line>Abu Dhabi</addr-line>, <country>United Arab Emirates</country></aff>
<aff id="aff-4"><label>4</label><institution>Department of Computer Engineering, College of Computer and Information Sciences, King Saud University</institution>, <addr-line>Riyadh</addr-line>, <country>Saudi Arabia</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Shazia Javed. Email: <email>shazia.javed@lcwu.edu.pk</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2026</year>
</pub-date>
<pub-date date-type="pub" publication-format="electronic">
<day>12</day><month>3</month><year>2026</year>
</pub-date>
<volume>87</volume>
<issue>2</issue>
<elocation-id>82</elocation-id>
<history>
<date date-type="received">
<day>17</day>
<month>08</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>22</day>
<month>12</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2026 The Authors. Published by Tech Science Press.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>The Authors</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_71977.pdf"></self-uri>
<abstract>
<p>Data serves as the foundation for training and testing machine learning and artificial intelligence models. The most fundamental part of data is its attributes or features. The feature set size changes from one dataset to another. Only the relevant features contribute meaningfully to classification accuracy. The presence of irrelevant features reduces the system&#x2019;s effectiveness. Classification performance often deteriorates on high-dimensional datasets due to the large search space. Thus, one of the significant obstacles affecting the performance of the learning process in the majority of machine learning and data mining techniques is the dimensionality of the datasets. Feature selection (FS) is an effective preprocessing step in classification tasks. The aim of applying FS is to exclude redundant and unrelated features while retaining the most informative ones to optimize classification capability and compress computational complexity. In this paper, a novel hybrid binary metaheuristic algorithm, termed hSC-FPA, is proposed by hybridizing the Flower Pollination Algorithm (FPA) and the Sine Cosine Algorithm (SCA). Hybridization controls the exploration capacity of SCA and the exploitation behavior of FPA to maintain a balanced search process. SCA guides the global search in the early iterations, while FPA&#x2019;s local pollination refines promising solutions in later stages. A binary conversion mechanism using a threshold function is implemented to handle the discrete nature of the feature selection problem. The functionality of the proposed hSC-FPA is authenticated on fourteen standard datasets from the UCI repository using the K-Nearest Neighbors (K-NN) classifier. Experimental results are benchmarked against the standalone SCA and FPA algorithms. The hSC-FPA consistently achieves higher classification accuracy, selects a more compact feature subset, and demonstrates superior convergence behavior. These findings support the stability and outperformance of the hybrid feature selection method presented.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Classification algorithms</kwd>
<kwd>feature selection process</kwd>
<kwd>flower pollination algorithm</kwd>
<kwd>hybrid model</kwd>
<kwd>metaheuristics</kwd>
<kwd>multi-objective optimization</kwd>
<kwd>search algorithm</kwd>
<kwd>sine cosine algorithm</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>Lahore College for Women University (LCWU)</funding-source>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>With advances in technology, large amounts of data are generated regularly. This data is derived from real-world applications, such as text classification, spam detection, and medical and engineering fields. This massive amount of data contains a feature set of various sizes. Not all of these features are required for discovering and analyzing knowledge. Most of these features might be irrelevant or redundant to the problem. These unwanted features are not useful for handling classification problems. They decrease the computational simplicity and increase the classification error [<xref ref-type="bibr" rid="ref-1">1</xref>]. One of the significant preprocessing techniques is dimensionality reduction (DR). The purpose of DR is to reduce the number of features while meeting certain criteria and achieving superior performance. Feature Selection (FS) is one of the most substantial tools in DR. It is the process of choosing the most relevant and effective features to decrease classification error and manage the dimensionality of the data set by discarding unnecessary features [<xref ref-type="bibr" rid="ref-2">2</xref>].</p>
<p>There are four main stages of FS [<xref ref-type="bibr" rid="ref-3">3</xref>]. The first stage is the creation of a feature subset; the second stage is the assessment of the feature subset; the third stage is the establishment of termination criteria; and the fourth stage is validation. During the initial phase, various methods are employed to generate a feature subset using a search strategy. In the second stage, an objective function, also known as a fitness function and a classifier, is used to assess the quality of produced solutions. This procedure is repeated until the stopping criteria are reached. A wrapper-based technique is one of the FS approaches. It uses a specific classifier to find optimal or near-optimal solutions. The objective of FS (Feature Selection) is to find the optimum subset of features. It can be considered as a search procedure. Calculating <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msup><mml:mn>2</mml:mn><mml:mi>N</mml:mi></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula> subsets of a dataset with <italic>N</italic> features is an NP-hard problem, where NP-hard refers to a class of problems for which no efficient solution algorithm is known. The best subset cannot be obtained using an exhaustive search algorithm (which tries all possible combinations).</p>
<p>Nature-inspired algorithms have validated strong performance compared to classical optimization methods, mainly for nonlinear and complex real-world problems. According to the No Free Lunch (NFL) theorem [<xref ref-type="bibr" rid="ref-4">4</xref>], no single optimization algorithm can outperform all others for every problem. This motivates the ongoing development and compositing of efficacy from known procedures. Hybridizing functions allows the incorporation of complementary strengths from multiple algorithms to be better balanced between exploitation and exploration. The Flower Pollination Algorithm (FPA) [<xref ref-type="bibr" rid="ref-5">5</xref>] works fine for global optimization but can suffer from slow convergence due to a stochastic L&#x00E9;vy flight global search. The Sine Cosine Algorithm (SCA) [<xref ref-type="bibr" rid="ref-6">6</xref>] demonstrates durable exploration, but is limited in exploitation when calibrating into a local node search. Thus, combining the exploration capabilities of SCA and the exploitation of FPA can create a more balanced and efficient search procedure. The FPA component adds a layer to enhance local and global pollination dynamics. Together, these two phases sequentially coordinate to have the algorithm converge quickly. Thus, the design enables the proposed model to achieve higher classification accuracy while obtaining fewer but essential features across the multiple benchmark datasets. In FS, the datasets are typically high-dimensional, with idle features, and many complex interactions among features. These characteristics create difficulty for a single algorithm in achieving effective exploratory and efficient exploitative characteristics. Given these practical challenges, the developed hSC-FPA is inspired to find a balance created for a specific problem. The main contributions of this paper are as follows:
<list list-type="simple">
<list-item><label>1.</label><p>A new hybridized method, hSC-FPA, supported by the NFL nature of nature-inspired algorithms and tailored for FS problems, is proposed.</p></list-item>
<list-item><label>2.</label><p>To avoid the long random jumps of L&#x00E9;vy flight, the global pollination in FPA is replaced by SCA for non-linear oscillations.</p></list-item>
<list-item><label>3.</label><p>To merge the advantages of both SCA and FPA to accurately estimate the Pareto optimal solution by achieving an optimal trade-off between classification accuracy rate and feature reduction.</p></list-item>
<list-item><label>4.</label><p>Classification performance is evaluated on 14 datasets and compared with existing methods to demonstrate effectiveness.</p></list-item>
</list></p>
<p>The rest of the paper is organized as follows: <xref ref-type="sec" rid="s2">Section 2</xref> presents a literature review of the hybridization of metaheuristic algorithms. <xref ref-type="sec" rid="s3">Section 3</xref> discusses the preliminaries. In <xref ref-type="sec" rid="s4">Section 4</xref>, the methodology of the hybrid model is discussed in detail. <xref ref-type="sec" rid="s5">Section 5</xref> provides insights into the experimental setup. In <xref ref-type="sec" rid="s6">Section 6</xref>, numerical experimentation and performance comparison of the hSC-FPA with other algorithms are presented. Finally, <xref ref-type="sec" rid="s7">Section 7</xref> concludes the paper and suggests some future directions.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Literature Survey</title>
<p>Mafarja and Mirjalili [<xref ref-type="bibr" rid="ref-7">7</xref>] proposed a hybrid method, HBALO (Hybrid Binary Ant Lion Optimizer), integrating the Binary Ant Lion Optimizer with two incremental hill-climbing techniques, QuickReduct and CEBARKCC, to manage the complexity of FS. A novel hybrid FS algorithm called Mayfly-Harmony Search (MA-HS), combining the Mayfly Algorithm with Harmony Search to improve search space exploitation, was introduced by Bhattacharyya et al. [<xref ref-type="bibr" rid="ref-8">8</xref>]. Results showed the superior performance of MA-HS in selecting informative features and improving classification outcomes. Abualigah and Dulaimi [<xref ref-type="bibr" rid="ref-9">9</xref>] introduced the hybrid Sine Cosine Algorithm and Genetic Algorithm. The algorithm was tested on UCI (University of California, Irvine) datasets using metrics such as classification accuracy, fitness values, and the number of selected features. Mohammadzadeh and Gharehchopogh [<xref ref-type="bibr" rid="ref-10">10</xref>] proposed a hybrid firefly singed Sine Cosine Flower Pollination Algorithm called HWOAFPA. In this process, the Whale Optimization Algorithm was enhanced with opposition-based learning, and its final populations were used to initialize the flower pollination algorithm with improved convergence speed and accuracy. Sun et al. [<xref ref-type="bibr" rid="ref-11">11</xref>] presented a Feature Selection technique known as MetaSCA, which is based on Sine Cosine Algorithm (SCA), but enhances the original SCA by introducing features like the golden sine section coefficient and multi-level tuning factor. Abdelhamid et al. [<xref ref-type="bibr" rid="ref-12">12</xref>] introduced a new binary hybrid metaheuristic algorithm for FS called bSCWDTO, which combined the Sine Cosine Algorithm and Dipper Throated Optimization. Ragab [<xref ref-type="bibr" rid="ref-13">13</xref>] proposed a hybrid binary metaheuristic approach that integrated Particle Swarm Optimization and Firefly Algorithm. It was designed to optimize classification accuracy while minimizing the number of features for FS in machine learning classification problems. Hammouri et al. [<xref ref-type="bibr" rid="ref-14">14</xref>] proposed three improved binary versions of the White Shark Optimizer as a method for FS to address challenges with pre-mature convergence and local optima. The binary versions, Binary Distribution-based White Shark Optimizer (BDWSO), Binary Sine Cosine White Shark Optimizer (BSCWSO), and Binary Hybrid Sine Cosine White Shark Optimizer (BHSCWSO), introduced improvements for FS, including distribution-based updates, adaptive functions from sine-cosine algorithms, and hybrid acceleration strategies. Alkhonaini et al. [<xref ref-type="bibr" rid="ref-15">15</xref>] proposed HSCCOFS-DL, a hybrid deep learning-based method for threat recognition in IoT sensor networks. HSCCOFS-DL employed the Hybrid Sine-Cosine Chimp Optimization Algorithm to perform FS, used a symmetrical autoencoder to perform a classification task, and deployed the Sparrow Search Algorithm to tune the hyperparameters.</p>
<p>Kaur et al. [<xref ref-type="bibr" rid="ref-16">16</xref>] looked forward to applying an automated method to determine quality in Golden Delicious apples with an image processing and feature extraction method. Kaur was able to extract a total of 18,654 features from 1256 images and needed a technique for feature selection. For feature selection, Minimum Redundancy Maximum Relevance was used. Kumari et al. [<xref ref-type="bibr" rid="ref-17">17</xref>] addressed the shortcomings of conventional intrusion detection systems by presenting a hybrid model that successfully combined the Flower Pollination Algorithm, Cheetah Optimization Algorithm, and Artificial Neural Networks to increase accuracy and lower false alarms. Azeem et al. [<xref ref-type="bibr" rid="ref-18">18</xref>] presented a new combination of PSO-HHO to promote FS, advancing the strengths of both metaheuristics to eliminate unnecessary features while improving their classifier performance. A wrapper-based approach using K-Nearest Neighbors (K-NN) with Euclidean distance was employed to evaluate candidate solutions. Aly et al. [<xref ref-type="bibr" rid="ref-19">19</xref>] presented a hybrid metaheuristic algorithm HB-GWO (Hybrid Butterfly-Grey Wolf Optimizer), which combined the Butterfly Optimization Algorithm (BOA) and the Grey Wolf Optimizer (GWO) for effective feature selection in high-dimensional datasets. By using an adaptive switching mechanism to balance exploration and exploitation, HB-GWO achieves superior performance across benchmark datasets when evaluated with a Random Forest classifier. Experimental studies showed that HB-GWO obtained 96.8%, 80.6%, 89.5%, and 72.4% accuracy on breast cancer, colon cancer, and arrhythmia datasets, respectively.</p>
<p>Most existing hybrid metaheuristics emphasize convergence or exploration but overlook the balance between accuracy and feature reduction. To address these gaps, the proposed hSC-FPA enhances the balance between exploration and exploitation, confirming stable convergence and improved accuracy across various datasets.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>Preliminaries</title>
<p>This sections provides the FS problem design and a summary of the conventional Sine Cosine Algorithm (SCA) and Flower Pollination Algorithm (FPA).</p>
<sec id="s3_1">
<label>3.1</label>
<title>Feature Selection (FS) Problem Formulation</title>
<p>Feature Selection (FS) aims to identify the most informative subset of features from a dataset of size <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mi>I</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>F</mml:mi></mml:math></inline-formula>, where <italic>I</italic> denotes the number of samples and <italic>F</italic> the total number of features. The objective is to reduce dimensionality while also maintaining or increasing classification accuracy. FS is viewed as a multi-objective optimization problem consisting of two conflicting objectives: minimizing the number of features selected and maximizing classification performance. The fitness (cost) function applied to assess the candidate subsets is defined as follows:
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:mrow><mml:mtext>Fitness</mml:mtext></mml:mrow><mml:mo>=</mml:mo><mml:mi>&#x03C9;</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo>+</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03C9;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mfrac><mml:msup><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mi>F</mml:mi></mml:mfrac></mml:math></disp-formula>where <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:mi>&#x03C9;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">]</mml:mo></mml:math></inline-formula> controls the trade-off between classification error (<inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:mi>&#x03BE;</mml:mi></mml:math></inline-formula>) and the ratio of selected to total features (<italic>F</italic><sup><italic>&#x2032;</italic></sup>/<italic>F</italic>). In this study, <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:mi>&#x03C9;</mml:mi></mml:math></inline-formula> is set to 0.99 to emphasize accuracy while maintaining acceptable feature reduction. Values close to 0.99 (e.g., 0.95&#x2013;0.97) produced negligible differences, confirming the robustness of this choice. This formulation directly supports the design of the proposed hybrid hSC-FPA algorithm, which optimizes the above objective through an adaptive balance of exploration and exploitation.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>K-Nearest Neighbors (K-NN)</title>
<p>The K-Nearest Neighbors (K-NN) classifier is used as the evaluation model in the wrapper-based FS framework. Each sample is allocated to a class based on the majority vote among its <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:mi>k</mml:mi></mml:math></inline-formula> nearest neighbors. The Euclidean distance, <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:msub><mml:mi>E</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:math></inline-formula>, between feature vectors from the testing and training data is obtained as:
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msqrt><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mi>F</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:munderover><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:msqrt></mml:math></disp-formula>where <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent corresponding features in the training and testing sets, respectively. The K-NN classifier controlles the optimization process in hSC-FPA by providing feedback for each selected feature subset. It enables the algorithm to iteratively converge toward an optimal balance of accuracy and feature reduction.</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Materials and Methods</title>
<p>The suggested hybrid hSC-FPA for feature selection is presented here along with its three main steps: initialization, binary conversion, and hybrid optimization. In Algorithm 1, step-by-step instructions together with the underlying mathematics for the algorithm are presented.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Initialization</title>
<p>Let <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mi>d</mml:mi></mml:math></inline-formula> denote the number of features, <italic>N</italic> is the number of candidate solutions, <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:mi>t</mml:mi></mml:math></inline-formula> is the current iteration, and <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> is the maximum iteration. Each solution <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> represents a position in the search space bounded by the lower limit <italic>L</italic> and upper limit <italic>U</italic>. The population is initialized randomly using:
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>L</mml:mi><mml:mo>+</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>U</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>L</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x22C5;</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:mi>r</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>U</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> is a uniformly distributed random number and <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>N</mml:mi></mml:math></inline-formula>.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Binary Conversion</title>
<p>The feature selection problem is inherently binary, where each bit represents inclusion (1) or exclusion (0) of a feature. The continuous position <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is converted into binary form as:
<disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>bin</mml:mtext></mml:mrow></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing=".2em" columnspacing="1em" displaystyle="false"><mml:mtr><mml:mtd><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if&#xA0;</mml:mtext></mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mn>0.5</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>otherwise,</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>here, <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mtext>bin</mml:mtext></mml:mrow></mml:msubsup></mml:math></inline-formula> denotes the binary feature selection vector used for fitness evaluation [<xref ref-type="bibr" rid="ref-9">9</xref>].</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Hybrid Sine Cosine-Flower Pollination Algorithm (hSC-FPA)</title>
<p>Let <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> be the position of the <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:mi>i</mml:mi></mml:math></inline-formula>-th solution at iteration <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:mi>t</mml:mi></mml:math></inline-formula>, and <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mi>g</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> denotes the global best. Let <italic>P</italic> be the switch probability, <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula> is the control parameter, <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:mi>&#x03F5;</mml:mi></mml:math></inline-formula> is a small random number, and <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:msub><mml:mi>r</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>3</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>4</mml:mn></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">]</mml:mo></mml:math></inline-formula> be random coefficients. The update equations are defined as follows:</p>
<p>If <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:mi>r</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mi>P</mml:mi></mml:math></inline-formula> (global update via SCA):
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing=".2em" columnspacing="1em" displaystyle="false"><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:mi>cos</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mi>&#x03C0;</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x22C5;</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>3</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if&#xA0;</mml:mtext></mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>4</mml:mn></mml:msub><mml:mo>&#x2265;</mml:mo><mml:mn>0.5</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:mi>sin</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mi>&#x03C0;</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x22C5;</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>3</mml:mn></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>otherwise,</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:msub><mml:mi>r</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03B1;</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mi>&#x03B1;</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mfrac><mml:mo>)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math></disp-formula></p>
<p>If <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:mi>r</mml:mi><mml:mo>&#x2265;</mml:mo><mml:mi>P</mml:mi></mml:math></inline-formula> (local update via FPA):
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:mi>&#x03F5;</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are two randomly chosen solutions.</p>
<p>The updated positions are binarized as:
<disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:msubsup><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>bin</mml:mtext></mml:mrow></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing=".2em" columnspacing="1em" displaystyle="false"><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if&#xA0;</mml:mtext></mml:mrow><mml:msub><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x003C;</mml:mo><mml:mrow><mml:mtext>threshold</mml:mtext></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mtext>otherwise.</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>Fitness is calculated using the predefined cost function:
<disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mtext>Fun</mml:mtext></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mrow><mml:mtext mathvariant="bold">x</mml:mtext></mml:mrow><mml:mi>i</mml:mi><mml:mrow><mml:mrow><mml:mtext>bin</mml:mtext></mml:mrow></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:math></disp-formula>and both local and global bests are updated if an improved solution is found.</p>
<p>The proposed FS process using the hybrid Sine Cosine-Flower Pollination Algorithm (hSC-FPA) is presented in Algorithm 1.</p>
<fig id="fig-3">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_71977-fig-3.tif"/>
</fig>
<p><xref ref-type="fig" rid="fig-1">Fig. 1</xref> describes the FS process. The dataset is typically preprocessed to handle outliers and missing values. Secondly, the selection of the best features is applied through an iterative procedure. Then, a subset of features is selected and assessed using specific conditions to determine whether to retain or eliminate them. The final output of this iterative procedure is the best feature subset, which can be evaluated using machine learning classifiers.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Feature selection procedure of the proposed hSC-FPA model.</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_71977-fig-1.tif"/>
</fig>
<sec id="s4_3_1">
<label>4.3.1</label>
<title>Distinctive Features of hSC-FPA</title>
<p>To balance accuracy and search efficiency the suggested hSC-FPA blends the investigation strength of SCA with the exploitation capacity of the FPA. Using this hybrid strategy, SCA&#x2019;s update rule is substituted for the global pollination stage in FPA to improve exploratory search and guard against premature convergence. The goal of the hybridization is to obtain an ideal cooperation between feature reduction and categorization accuracy. The previous hybrid sine cosine flower pollination algorithm [<xref ref-type="bibr" rid="ref-20">20</xref>] was mainly designed for continuous optimization and lacked a feature selection formulation. The suggested hSC-FPA introduces several key improvements for wrapper-based binary feature selection. The proposed methodology includes an explicit binary transfer function and threshold mechanism. The dynamic switching mechanism is based on probability and population updates. This adoptive control avoids premature convergence. The algorithm is practical for real-world data mining and biomedical tasks. Furthermore, the proposed procedure includes repeated runs and statistical tests, offering strong evidence of reliability and fairness.</p>
</sec>
<sec id="s4_3_2">
<label>4.3.2</label>
<title>Computational Complexity</title>
<p>The computational complexity of the proposed hSC-FPA is mainly determined by the number of search agents <italic>N</italic>, the problem dimension <italic>D</italic> (number of features), the maximum number of iterations <italic>T</italic>, and the cost of evaluating the fitness function. Each iteration per agent includes three chief operations: position update, binary conversion, and fitness evaluation through a wrapper-based K-NN classifier. While the update and binary conversion steps scale linearly with the number of features <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>D</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, the fitness evaluation dominates runtime and scales approximately with the product of the training set size and the number of selected features <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mtext>train</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>. Consequently, the per-run complexity of hSC-FPA can be expressed as <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>N</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:mi>T</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>D</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mtext>train</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>. The extra overhead from the hybrid switching mechanism is negligible at <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>N</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> compared to the main terms. This means the algorithm is still similar in performance to standalone SCA and FPA, while providing better search capabilities. When it comes to convergence, a formal math proof is tough for stochastic population-based algorithms because of their randomness. However, empirical analysis shows that hSC-FPA has faster and more stable convergence than the base algorithms.</p>
</sec>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Experimental Setup</title>
<sec id="s5_1">
<label>5.1</label>
<title>Datasets</title>
<p>Experiments were conducted on fourteen different datasets from various fields to measure the efficiency of the proposed algorithm. The selected datasets were sourced from the UCI repository [<xref ref-type="bibr" rid="ref-21">21</xref>]. <xref ref-type="table" rid="table-1">Table 1</xref> shows details about the datasets used, including the number of features, sample size, and characteristics.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Detail of the utilized datasets.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
</colgroup>
<thead>
<tr>
<th>Dataset</th>
<th>Dataset Type</th>
<th>Class Count</th>
<th>No. of Features</th>
<th>No. of Instances</th>
</tr>
</thead>
<tbody>
<tr>
<td>CNAE</td>
<td>Text classification</td>
<td>9</td>
<td>856</td>
<td>1080</td>
</tr>
<tr>
<td>Ecoli</td>
<td>Biological</td>
<td>8</td>
<td>7</td>
<td>336</td>
</tr>
<tr>
<td>Ionosphere</td>
<td>Radar signal classification</td>
<td>2</td>
<td>34</td>
<td>351</td>
</tr>
<tr>
<td>Iris</td>
<td>Botanical</td>
<td>3</td>
<td>4</td>
<td>150</td>
</tr>
<tr>
<td>Libras Movement</td>
<td>Human gesture recognition</td>
<td>15</td>
<td>90</td>
<td>360</td>
</tr>
<tr>
<td>Parkinson</td>
<td>Biomedical</td>
<td>2</td>
<td>22</td>
<td>195</td>
</tr>
<tr>
<td>Sonar</td>
<td>Physical signals</td>
<td>2</td>
<td>60</td>
<td>208</td>
</tr>
<tr>
<td>Soybean Small</td>
<td>Plant disease classification</td>
<td>4</td>
<td>35</td>
<td>47</td>
</tr>
<tr>
<td>Spam Base</td>
<td>Text/email spam detection</td>
<td>2</td>
<td>57</td>
<td>4601</td>
</tr>
<tr>
<td>SPECT</td>
<td>Biomedical</td>
<td>2</td>
<td>22</td>
<td>267</td>
</tr>
<tr>
<td>Tic-Tac-Toe</td>
<td>Game patterns classification</td>
<td>2</td>
<td>9</td>
<td>958</td>
</tr>
<tr>
<td>Waveform</td>
<td>Synthetic signals</td>
<td>3</td>
<td>21</td>
<td>5000</td>
</tr>
<tr>
<td>Wine</td>
<td>Chemical analysis</td>
<td>3</td>
<td>13</td>
<td>178</td>
</tr>
<tr>
<td>Zoo</td>
<td>Zoological</td>
<td>7</td>
<td>16</td>
<td>101</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Parameter Settings</title>
<p>The experimental calculations were done on a Windows 10 Pro PC with an Intel Core i5 CPU running at 2.40 GHz and 8 GB of RAM. We used Python 3.9.12 to carry out the proposed method. To assess the effectiveness of the hSC-FPA approach, we used 14 datasets from the UCI Machine Learning Archive. The data preprocessing phase included cleaning and normalizing to maintain consistent input quality. We handled missing or inconsistent values appropriately. To ensure fair reproducibility, we applied a deterministic random seed based on the run number (np.random.seed(run)). This produced distinct but repeatable results across all experimental runs.</p>
<p>We divided the datasets into training and test subsets, each with the same random sizes. During the learning stage, the K-NN classifier was trained using the training subset. The capability of the resultant model was calculated using the testing subset. The experimental setup for hSC-FPA and the competing methodologies are offered in <xref ref-type="table" rid="table-2">Table 2</xref>. The parameter values of <italic>P</italic> and <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula> used in this study were selected based on settings recommended in [<xref ref-type="bibr" rid="ref-5">5</xref>] and [<xref ref-type="bibr" rid="ref-22">22</xref>], respectively. To ensure consistency and comparability, preliminary sensitivity analysis confirmed that variable key parameters within typical ranges did not significantly change the performance trends. Therefore, the originally recommended values were retained for all experiments.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Experimental setup for FPA, SCA, and hSC-FPA algorithms.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
</colgroup>
<thead>
<tr>
<th>Algorithm</th>
<th>Parameter Settings</th>
</tr>
</thead>
<tbody>
<tr>
<td><bold>FPA</bold></td>
<td>Switch Probability (<italic>P</italic>) &#x003D; 0.8 [<xref ref-type="bibr" rid="ref-5">5</xref>]</td>
</tr>
<tr>
<td><bold>SCA</bold></td>
<td>Scaling Factor (<inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula>) &#x003D; 2 [<xref ref-type="bibr" rid="ref-22">22</xref>]</td>
</tr>
<tr>
<td rowspan="2" align="center"><bold>hSC-FPA</bold></td>
<td>Scaling Factor (<inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula>) &#x003D; 2</td>
</tr>
<tr>
<td>Switch Probability (<italic>P</italic>) &#x003D; 0.8</td>
</tr>
<tr>
<td rowspan="12" align="center"><bold>Common Parameter Settings</bold></td>
</tr>
<tr>
<td>Maximum Number of Iterations (<inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) &#x003D; 100</td>
</tr>
<tr>
<td>Inertia Weight (<inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:mi>&#x03C9;</mml:mi></mml:math></inline-formula>) &#x003D; 0.99</td>
</tr>
<tr>
<td>Number of Search Agents (<italic>N</italic>) &#x003D; 10</td>
</tr>
<tr>
<td><italic>K</italic> in K-NN &#x003D; 5</td>
</tr>
<tr>
<td>Training Data &#x003D; 75%</td>
</tr>
<tr>
<td>Testing Data &#x003D; 25%</td>
</tr>
<tr>
<td>Binary Threshold (<inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:mi>&#x03B8;</mml:mi></mml:math></inline-formula>) &#x003D; 0.5</td>
</tr>
<tr>
<td>Upper Bound (<italic>U</italic>) &#x003D; 1</td>
</tr>
<tr>
<td>Lower Bound (<italic>L</italic>) &#x003D; 0</td>
</tr>
<tr>
<td>Initialization &#x003D; Random</td>
</tr>
<tr>
<td>Total Number of Runs &#x003D; 20</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Evaluation Metrics</title>
<p>The attained results were examined based on the criteria given below. These benchmarks were engaged to examine the performance of the suggested FS method.</p>
<p>Let <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:mi>i</mml:mi></mml:math></inline-formula> be the run number, such that <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:mi>i</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mn>20</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula>.</p>
<p>Let <inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:msup><mml:mtext>Acc</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> be the classification accuracy obtained in the <inline-formula id="ieqn-48"><mml:math id="mml-ieqn-48"><mml:msup><mml:mi>i</mml:mi><mml:mrow><mml:mtext>th</mml:mtext></mml:mrow></mml:msup></mml:math></inline-formula> run. Then average accuracy is calculated as:
<disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:mrow><mml:mtext>Mean Accuracy</mml:mtext></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>20</mml:mn></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>20</mml:mn></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:mtext>Acc</mml:mtext></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msup></mml:math></disp-formula></p>
<p>Let <inline-formula id="ieqn-49"><mml:math id="mml-ieqn-49"><mml:msup><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> denote the number of features selected in the <inline-formula id="ieqn-50"><mml:math id="mml-ieqn-50"><mml:msup><mml:mi>i</mml:mi><mml:mrow><mml:mtext>th</mml:mtext></mml:mrow></mml:msup></mml:math></inline-formula> run.
<disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:mrow><mml:mtext>Mean feature select size</mml:mtext></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>20</mml:mn></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>20</mml:mn></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msup></mml:math></disp-formula></p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Results and Discussion</title>
<p>The efficiency of the suggested hSC-FPA algorithm is evaluated using several measurement criteria, including average accuracy and average select size. Classical SCA and FPA are tested along with the proposed hSC-FPA. Furthermore, a comparative analysis was conducted with other hybrid models already proposed in the literature for FS. The proposed optimizer employs a hybrid approach to obtain the optimal solution, which involves maximizing accuracy while maintaining an optimal subset of features.</p>
<p>The following <xref ref-type="table" rid="table-3">Table 3</xref> presents the classification accuracies of FPA, SCA, and the proposed hybrid hSC-FPA across 14 benchmark datasets. In datasets such as CNAE, Ionosphere, Sonar, and Wine, the hybrid model surpasses FPA and SCA. This shows improved generality and FS capability. On data like Iris, Soybean Small, Ecoli, hSC-FPA performs competitively. The gains are especially pronounced in more complex datasets, such as Sonar and Tic-Tac-Toe, where hSC-FPA shows greater improvements.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Classification accuracy comparison.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th>Dataset</th>
<th>FPA</th>
<th>SCA</th>
<th>hSC-FPA</th>
</tr>
</thead>
<tbody>
<tr>
<td>CNAE</td>
<td>83.28</td>
<td>80.26</td>
<td><bold>86.19</bold></td>
</tr>
<tr>
<td>Ecoli</td>
<td>85.24</td>
<td><bold>86.43</bold></td>
<td>85.95</td>
</tr>
<tr>
<td>Ionosphere</td>
<td>91.08</td>
<td>94.49</td>
<td><bold>94.94</bold></td>
</tr>
<tr>
<td>Iris</td>
<td>98.55</td>
<td><bold>98.68</bold></td>
<td><bold>98.68</bold></td>
</tr>
<tr>
<td>Libras Movement</td>
<td>79.61</td>
<td>81.89</td>
<td><bold>82.61</bold></td>
</tr>
<tr>
<td>Parkinson</td>
<td>92.04</td>
<td>92.04</td>
<td><bold>92.66</bold></td>
</tr>
<tr>
<td>Sonar</td>
<td>88.85</td>
<td>92.02</td>
<td><bold>95.67</bold></td>
</tr>
<tr>
<td>Soybean Small</td>
<td><bold>100.00</bold></td>
<td><bold>100.00</bold></td>
<td><bold>100.00</bold></td>
</tr>
<tr>
<td>Spam Base</td>
<td>91.72</td>
<td>91.89</td>
<td><bold>93.32</bold></td>
</tr>
<tr>
<td>SPECT</td>
<td>79.25</td>
<td>77.54</td>
<td><bold>83.13</bold></td>
</tr>
<tr>
<td>Tic-Tac-Toe</td>
<td>81.90</td>
<td>82.71</td>
<td><bold>86.00</bold></td>
</tr>
<tr>
<td>Waveform</td>
<td>82.40</td>
<td>81.89</td>
<td><bold>83.77</bold></td>
</tr>
<tr>
<td>Wine</td>
<td>96.22</td>
<td>97.22</td>
<td><bold>98.34</bold></td>
</tr>
<tr>
<td>Zoo</td>
<td>96.92</td>
<td>96.34</td>
<td><bold>98.46</bold></td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="table-3fn1" fn-type="other">
<p>Note: Bold values indicate the highest classification accuracy achieved for each dataset.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p><xref ref-type="table" rid="table-4">Table 4</xref> compares the feature selection sizes from FPA, SCA, and the hybrid hSC-FPA across benchmark datasets. SCA usually generates the fewest features in most datasets. For datasets like Iris, Soybean Small, and Wine, hSC-FPA gives the least number of features. Although hSC-FPA does not always yield the smallest amount, it often avoids selecting too many features, especially in comparison to FPA. This indicates that the hybrid method is effective for both precision and for getting small, useful feature subsets. Thus, the goal of achieving a Pareto-optimal solution is met, as the proposed hSC-FPA reaches high classification accuracy while balancing accuracy and feature reduction effectively.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>Feature count comparison of FPA, SCA, and hybrid hSC-FPA across various datasets.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th>Dataset</th>
<th>FPA</th>
<th>SCA</th>
<th>hSC-FPA</th>
</tr>
</thead>
<tbody>
<tr>
<td>CNAE</td>
<td>433.25</td>
<td><bold>294.65</bold></td>
<td>325.05</td>
</tr>
<tr>
<td>Ecoli</td>
<td>4.45</td>
<td><bold>4.25</bold></td>
<td>5.15</td>
</tr>
<tr>
<td>Ionosphere</td>
<td>13.90</td>
<td><bold>3.55</bold></td>
<td>4.45</td>
</tr>
<tr>
<td>Iris</td>
<td>1.60</td>
<td>1.90</td>
<td><bold>1.55</bold></td>
</tr>
<tr>
<td>Libras Movement</td>
<td><bold>13.45</bold></td>
<td>13.45</td>
<td>21.55</td>
</tr>
<tr>
<td>Parkinson</td>
<td>7.95</td>
<td><bold>2.45</bold></td>
<td>2.85</td>
</tr>
<tr>
<td>Sonar</td>
<td>27.05</td>
<td><bold>8.35</bold></td>
<td>16.30</td>
</tr>
<tr>
<td>Soybean Small</td>
<td>10.05</td>
<td>2.20</td>
<td><bold>2.05</bold></td>
</tr>
<tr>
<td>Spam Base</td>
<td><bold>14.85</bold></td>
<td>14.85</td>
<td>22.30</td>
</tr>
<tr>
<td>SPECT</td>
<td>10.90</td>
<td><bold>5.00</bold></td>
<td>6.90</td>
</tr>
<tr>
<td>Tic-Tac-Toe</td>
<td><bold>6.45</bold></td>
<td>6.95</td>
<td>8.20</td>
</tr>
<tr>
<td>Waveform</td>
<td>13.00</td>
<td><bold>11.15</bold></td>
<td>14.00</td>
</tr>
<tr>
<td>Wine</td>
<td>4.85</td>
<td>3.65</td>
<td><bold>3.45</bold></td>
</tr>
<tr>
<td>Zoo</td>
<td>7.05</td>
<td><bold>4.90</bold></td>
<td>5.40</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="table-4fn1" fn-type="other">
<p>Note: Bold values represent the lowest number of features selected for each dataset, indicating better feature reduction performance.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>The Wilcoxon&#x2019;s rank-sum test was performed at the 0.05 significance level to study the statistical difference between the proposed method and the alternative feature selection methods, FPA and SCA. When comparing the proposed algorithm&#x2019;s output to other algorithms, this test can help reveal whether or not the results differ significantly. The proposed algorithm&#x2019;s findings differ considerably from those of the compared methods when the <inline-formula id="ieqn-51"><mml:math id="mml-ieqn-51"><mml:mi>p</mml:mi></mml:math></inline-formula>-value is less than 0.05. On the other hand, insignificant results are indicated by a <inline-formula id="ieqn-52"><mml:math id="mml-ieqn-52"><mml:mi>p</mml:mi></mml:math></inline-formula>-value of more than 0.05. The worst <inline-formula id="ieqn-53"><mml:math id="mml-ieqn-53"><mml:mi>p</mml:mi></mml:math></inline-formula>-values in <xref ref-type="table" rid="table-5">Table 5</xref> are those greater than 0.05, which is the significance level applied. When associating the proposed method with SCA and FPA, the table shows that the <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:mi>p</mml:mi></mml:math></inline-formula>-values obtained with this test are less than 0.05 across datasets such as CNAE, Sonar, Spam base, Tic-tac-toe, and waveform. The results prove the statistical significance of the hSC-FPA method.</p>
<table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Wilcoxon signed-rank test <inline-formula id="ieqn-55"><mml:math id="mml-ieqn-55"><mml:mi>p</mml:mi></mml:math></inline-formula>-values comparing hSC-FPA against FPA and SCA across all datasets.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th>Dataset</th>
<th>FPA</th>
<th>SCA</th>
</tr>
</thead>
<tbody>
<tr>
<td>CNAE</td>
<td>1.06E&#x2212;07</td>
<td>2.45E&#x2212;05</td>
</tr>
<tr>
<td>Ecoli</td>
<td>6.30E&#x2212;08</td>
<td><underline>3.37E&#x2212;01</underline></td>
</tr>
<tr>
<td>Ionosphere</td>
<td><underline>4.33E&#x2212;01</underline></td>
<td>2.87E&#x2212;06</td>
</tr>
<tr>
<td>Iris</td>
<td><underline>3.14E&#x2212;01</underline></td>
<td><underline>9.52E&#x2212;01</underline></td>
</tr>
<tr>
<td>Libras Movement</td>
<td><underline>5.59E&#x2212;01</underline></td>
<td>6.45E&#x2212;03</td>
</tr>
<tr>
<td>Parkinson</td>
<td><underline>5.09E&#x2212;01</underline></td>
<td><underline>6.48E&#x2212;01</underline></td>
</tr>
<tr>
<td>Sonar</td>
<td>6.82E&#x2212;04</td>
<td>1.75E&#x2212;04</td>
</tr>
<tr>
<td>Soybean Small</td>
<td>0.00E&#x002B;00</td>
<td>0.00E&#x002B;00</td>
</tr>
<tr>
<td>Spam Base</td>
<td>4.77E&#x2212;05</td>
<td>3.81E&#x2212;06</td>
</tr>
<tr>
<td>SPECT</td>
<td>2.91E&#x2212;04</td>
<td>9.06E&#x2212;04</td>
</tr>
<tr>
<td>Tic-Tac-Toe</td>
<td>4.22E&#x2212;03</td>
<td>4.60E&#x2212;04</td>
</tr>
<tr>
<td>Waveform</td>
<td>3.81E&#x2212;06</td>
<td>1.91E&#x2212;06</td>
</tr>
<tr>
<td>Wine</td>
<td><underline>7.96E&#x2212;02</underline></td>
<td>1.68E&#x2212;02</td>
</tr>
<tr>
<td>Zoo</td>
<td>1.93E&#x2212;02</td>
<td><underline>1.49E&#x2212;01</underline></td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="table-5fn1" fn-type="other">
<p>Note: <inline-formula id="ieqn-56"><mml:math id="mml-ieqn-56"><mml:mi>p</mml:mi><mml:mo>&#x003E;</mml:mo><mml:mn>0.05</mml:mn></mml:math></inline-formula> are underlined.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>The variation in performance of the proposed hSC-FPA algorithm across datasets can be attributed to differences in dataset dimensionality and structure. For high-dimensional datasets such as CNAE and Spam Base, the hybridization mechanism supports effective navigation of a large and sparse feature space. This results in higher accuracy and a substantial reduction in irrelevant features. Conversely, for smaller or low-dimensional datasets such as Iris and Zoo, the search landscape is less complex, and therefore, the advantage of hybrid feature selection is less pronounced. As a result, the performance of hSC-FPA becomes comparable to that of other algorithms, since the reduced dimensionality requires less exploration effort and allows competing methods to achieve similar convergence and classification outcomes. This behavior aligns with the convergence patterns shown in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>, where high-dimensional datasets exhibit wider initial fluctuations due to exploration, while low-dimensional datasets converge rapidly with minimal variance across iterations.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Convergence curves for the FPA, SCA, and hSC-FPA across various datasets. (<bold>a</bold>)&#x2013;(<bold>n</bold>) correspond to individual benchmark datasets, respectively.</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_71977-fig-2.tif"/>
</fig>
<p><xref ref-type="table" rid="table-6">Table 6</xref> provides a comparative evaluation of the proposed hSC-FPA algorithm relative to other existing hybrid optimization algorithms from the literature.</p>
<table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>Classification accuracy (%) comparison of FPA, SCA, hybrid hSC-FPA, and benchmark metaheuristic algorithms across various datasets.</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th>Dataset</th>
<th>hSC-FPA</th>
<th>SCAGA [<xref ref-type="bibr" rid="ref-9">9</xref>]</th>
<th>bSCWDTO [<xref ref-type="bibr" rid="ref-12">12</xref>]</th>
<th>HBWOHH [<xref ref-type="bibr" rid="ref-23">23</xref>]</th>
</tr>
</thead>
<tbody>
<tr>
<td>CNAE</td>
<td><bold>86.19</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Ecoli</td>
<td><bold>85.95</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Ionosphere</td>
<td><bold>94.94</bold></td>
<td>92.67</td>
<td>44.10</td>
<td>93.00</td>
</tr>
<tr>
<td>Iris</td>
<td><bold>98.68</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Libras Movement</td>
<td><bold>82.61</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Parkinson</td>
<td><bold>92.66</bold></td>
<td>&#x2013;</td>
<td>59.30</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Sonar</td>
<td><bold>95.67</bold></td>
<td>92.84</td>
<td>79.10</td>
<td>92.00</td>
</tr>
<tr>
<td>Soybean Small</td>
<td><bold>100.00</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>Spam Base</td>
<td><bold>93.32</bold></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
</tr>
<tr>
<td>SPECT</td>
<td>83.13</td>
<td>84.92</td>
<td>67.60</td>
<td><bold>91.00</bold></td>
</tr>
<tr>
<td>Tic-Tac-Toe</td>
<td><bold>86.00</bold></td>
<td>79.59</td>
<td>&#x2013;</td>
<td>79.00</td>
</tr>
<tr>
<td>Waveform</td>
<td>83.77</td>
<td>75.96</td>
<td>49.40</td>
<td><bold>84.00</bold></td>
</tr>
<tr>
<td>Wine</td>
<td>98.34</td>
<td>97.92</td>
<td>68.30</td>
<td><bold>100.00</bold></td>
</tr>
<tr>
<td>Zoo</td>
<td><bold>98.46</bold></td>
<td>96.75</td>
<td>63.60</td>
<td>97.00</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="table-6fn1" fn-type="other">
<p>Note: Bold values represent the highest classification accuracy achieved for each dataset. &#x201C;&#x2013;&#x201D; indicates that the result was not reported in the cited study.</p>
</fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s7">
<label>7</label>
<title>Conclusion</title>
<p>Implementing feature selection (FS) before the learning stage is crucial for improving classification performance. This approach simplifies the model. This work presents a hybrid method, hSC-FPA, which combines the exploration strengths of SCA with the exploitation abilities of FPA. We use the K-NN classifier for evaluation. In the proposed algorithm, SCA&#x2019;s global search behavior boosts population diversity, while FPA ensures effective local refinement. The algorithm was tested on fourteen benchmark datasets to evaluate its accuracy and FS effectiveness. Its performance was compared with traditional FPA and SCA. Although the hSC-FPA shows good performance across various benchmark datasets, there are some limitations to consider. As a population-based metaheuristic algorithm, it can sometimes become stuck in local optima, particularly in high-dimensional or complex search spaces. Additionally, hybridizing SCA and FPA adds computational overhead when using single-algorithm strategies, especially with large datasets. Future research will aim to address these limitations by creating adaptive or parallel implementations of hSC-FPA to reduce computation time without losing accuracy. Since the algorithm&#x2019;s main strength lies in balancing exploration and exploitation, future extensions could explore dynamic parameter control to further enhance this balance. Experiments demonstrated higher classification accuracy with compact feature subsets. As future directions, we suggest utilizing the proposed hybrid optimizer to address other real-world problems, including scheduling issues, engineering optimization problems, and molecular potential energy functions. The presented methodology can be applied to other popular classifiers, such as Artificial Neural Network (ANN), Random Forest, and Support Vector Machine (SVM), and examined to determine whether performance is stable or varies. Another potential future work is to hybridize the FPA with other machine learning and deep learning algorithms.</p>
</sec>
</body>
<back>
<ack>
<p>The authors would like to thank the Lahore College for Women University (LCWU), Lahore, Pakistan, for providing computational support and access to resources required for this research.</p>
</ack>
<sec>
<title>Funding Statement</title>
<p>This research is supported by a research grant from Lahore College for Women University (LCWU), Lahore, Pakistan.</p>
</sec>
<sec>
<title>Author Contributions</title>
<p>The authors confirm contribution to the paper as follows: Conceptualization, Sumbul Azeem; methodology, Sumbul Azeem; software, Sumbul Azeem; validation, Sumbul Azeem, Shazia Javed, Farheen Ibraheem and Nazar Waheed; formal analysis, Sumbul Azeem, Farheen Ibraheem and Nazar Waheed; investigation, Sumbul Azeem and Nazar Waheed; resources, Shazia Javed; data curation, Sumbul Azeem; writing&#x2014;original draft preparation, Sumbul Azeem; writing&#x2014;review and editing, Sumbul Azeem, Uzma Bashir and Khursheed Aurangzeb; visualization, Uzma Bashir; supervision, Shazia Javed; critical review, Farheen Ibraheem and Khursheed Aurangzeb; project administration, Shazia Javed. All authors reviewed and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability">
<title>Availability of Data and Materials</title>
<p>The data that support the findings of this study are openly available in UCI at [<ext-link ext-link-type="uri" xlink:href="https://archive.ics.uci.edu/ml">https://archive.ics.uci.edu/ml</ext-link>].</p>
</sec>
<sec>
<title>Ethics Approval</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement">
<title>Conflicts of Interest</title>
<p>The authors declare no conflicts of interest.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bala</surname> <given-names>I</given-names></string-name>, <string-name><surname>Karunarathne</surname> <given-names>W</given-names></string-name>, <string-name><surname>Mitchell</surname> <given-names>L</given-names></string-name></person-group>. <article-title>Optimizing feature selection by enhancing particle swarm optimization with orthogonal initialization and crossover operator</article-title>. <source>Comput Mater Contin</source>. <year>2025</year>;<volume>84</volume>(<issue>1</issue>):<fpage>727</fpage>&#x2013;<lpage>44</lpage>. doi:<pub-id pub-id-type="doi">10.32604/cmc.2025.065706</pub-id>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Dokeroglu</surname> <given-names>T</given-names></string-name>, <string-name><surname>Deniz</surname> <given-names>A</given-names></string-name>, <string-name><surname>Kiziloz</surname> <given-names>HE</given-names></string-name></person-group>. <article-title>A comprehensive survey on recent metaheuristics for feature selection</article-title>. <source>Neurocomputing</source>. <year>2022</year>;<volume>494</volume>(<issue>13</issue>):<fpage>269</fpage>&#x2013;<lpage>96</lpage>. doi:<pub-id pub-id-type="doi">10.1016/j.neucom.2022.04.083</pub-id>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Liu</surname> <given-names>H</given-names></string-name>, <string-name><surname>Motoda</surname> <given-names>H</given-names></string-name></person-group>. <article-title>Toward integrating feature selection algorithms for classification and clustering</article-title>. <source>IEEE Trans Knowl Data Eng</source>. <year>2005</year>;<volume>17</volume>(<issue>4</issue>):<fpage>491</fpage>&#x2013;<lpage>502</lpage>. doi:<pub-id pub-id-type="doi">10.1109/TKDE.2005.66</pub-id>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wolpert</surname> <given-names>DH</given-names></string-name>, <string-name><surname>Macready</surname> <given-names>WG</given-names></string-name></person-group>. <article-title>No free lunch theorems for optimization</article-title>. <source>IEEE Trans Evol Comput</source>. <year>2002</year>;<volume>1</volume>(<issue>1</issue>):<fpage>67</fpage>&#x2013;<lpage>82</lpage>. doi:<pub-id pub-id-type="doi">10.1109/4235.585893</pub-id>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Yang</surname> <given-names>XS</given-names></string-name></person-group>. <article-title>Flower pollination algorithm for global optimization</article-title>. In: <conf-name>International Conference on Unconventional Computing and Natural Computation</conf-name>. <publisher-loc>Berlin/Heidelberg, Germany</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2012</year>. p. <fpage>240</fpage>&#x2013;<lpage>49</lpage>. doi:<pub-id pub-id-type="doi">10.1007/978-3-642-32894-7_27</pub-id>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Mirjalili</surname> <given-names>S</given-names></string-name></person-group>. <article-title>SCA: a sine cosine algorithm for solving optimization problems</article-title>. <source>Knowl-Based Syst</source>. <year>2016</year>;<volume>96</volume>(<issue>63</issue>):<fpage>120</fpage>&#x2013;<lpage>33</lpage>. doi:<pub-id pub-id-type="doi">10.1016/j.knosys.2015.12.022</pub-id>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Mafarja</surname> <given-names>MM</given-names></string-name>, <string-name><surname>Mirjalili</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Hybrid binary ant lion optimizer with rough set and approximate entropy reducts for feature selection</article-title>. <source>Soft Comput</source>. <year>2019</year>;<volume>23</volume>(<issue>15</issue>):<fpage>6249</fpage>&#x2013;<lpage>65</lpage>. doi:<pub-id pub-id-type="doi">10.1007/s00500-018-3282-y</pub-id>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bhattacharyya</surname> <given-names>T</given-names></string-name>, <string-name><surname>Chatterjee</surname> <given-names>B</given-names></string-name>, <string-name><surname>Singh</surname> <given-names>PK</given-names></string-name>, <string-name><surname>Yoon</surname> <given-names>JH</given-names></string-name>, <string-name><surname>Geem</surname> <given-names>ZW</given-names></string-name>, <string-name><surname>Sarkar</surname> <given-names>R</given-names></string-name></person-group>. <article-title>Mayfly in harmony: a new hybrid meta-heuristic feature selection algorithm</article-title>. <source>IEEE Access</source>. <year>2020</year>;<volume>8</volume>:<fpage>195929</fpage>&#x2013;<lpage>45</lpage>. doi:<pub-id pub-id-type="doi">10.1109/ACCESS.2020.3031718</pub-id>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Abualigah</surname> <given-names>L</given-names></string-name>, <string-name><surname>Dulaimi</surname> <given-names>AJ</given-names></string-name></person-group>. <article-title>A novel feature selection method for data mining tasks using hybrid sine cosine algorithm and genetic algorithm</article-title>. <source>Clust Comput</source>. <year>2021</year>;<volume>24</volume>(<issue>3</issue>):<fpage>2161</fpage>&#x2013;<lpage>76</lpage>. doi:<pub-id pub-id-type="doi">10.1007/s10586-021-03254-y</pub-id>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Mohammadzadeh</surname> <given-names>H</given-names></string-name>, <string-name><surname>Gharehchopogh</surname> <given-names>FS</given-names></string-name></person-group>. <article-title>A novel hybrid whale optimization algorithm with flower pollination algorithm for feature selection: case study email spam detection</article-title>. <source>Comput Intell</source>. <year>2021</year>;<volume>37</volume>(<issue>1</issue>):<fpage>176</fpage>&#x2013;<lpage>209</lpage>. doi:<pub-id pub-id-type="doi">10.1111/coin.12397</pub-id>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Sun</surname> <given-names>L</given-names></string-name>, <string-name><surname>Qin</surname> <given-names>H</given-names></string-name>, <string-name><surname>Przystupa</surname> <given-names>K</given-names></string-name>, <string-name><surname>Cui</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Kochan</surname> <given-names>O</given-names></string-name>, <string-name><surname>Skowron</surname> <given-names>M</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>A hybrid feature selection framework using improved sine cosine algorithm with metaheuristic techniques</article-title>. <source>Energies</source>. <year>2022</year>;<volume>15</volume>(<issue>10</issue>):<fpage>3485</fpage>. doi:<pub-id pub-id-type="doi">10.3390/en15103485</pub-id>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Abdelhamid</surname> <given-names>AA</given-names></string-name>, <string-name><surname>El-Kenawy</surname> <given-names>EM</given-names></string-name>, <string-name><surname>Ibrahim</surname> <given-names>A</given-names></string-name>, <string-name><surname>Eid</surname> <given-names>MM</given-names></string-name>, <string-name><surname>Khafaga</surname> <given-names>DS</given-names></string-name>, <string-name><surname>Alhussan</surname> <given-names>AA</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Innovative feature selection method based on hybrid sine cosine and dipper throated optimization algorithms</article-title>. <source>IEEE Access</source>. <year>2023</year>;<volume>11</volume>:<fpage>79750</fpage>&#x2013;<lpage>76</lpage>. doi:<pub-id pub-id-type="doi">10.1109/ACCESS.2023.3298955</pub-id>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Ragab</surname> <given-names>M</given-names></string-name></person-group>. <article-title>Hybrid firefly particle swarm optimisation algorithm for feature selection problems</article-title>. <source>Expert Syst</source>. <year>2024</year>;<volume>41</volume>(<issue>7</issue>):<fpage>e13363</fpage>. doi:<pub-id pub-id-type="doi">10.1111/exsy.13363</pub-id>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hammouri</surname> <given-names>AI</given-names></string-name>, <string-name><surname>Braik</surname> <given-names>MS</given-names></string-name>, <string-name><surname>Al-hiary</surname> <given-names>HH</given-names></string-name>, <string-name><surname>Abdeen</surname> <given-names>RA</given-names></string-name></person-group>. <article-title>A binary hybrid sine cosine white shark optimizer for feature selection</article-title>. <source>Clust Comput</source>. <year>2024</year>;<volume>27</volume>(<issue>6</issue>):<fpage>7825</fpage>&#x2013;<lpage>67</lpage>. doi:<pub-id pub-id-type="doi">10.1007/s10586-024-04361-2</pub-id>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Alkhonaini</surname> <given-names>MA</given-names></string-name>, <string-name><surname>Al Mazroa</surname> <given-names>A</given-names></string-name>, <string-name><surname>Aljebreen</surname> <given-names>M</given-names></string-name>, <string-name><surname>Hassine</surname> <given-names>SBH</given-names></string-name>, <string-name><surname>Allafi</surname> <given-names>R</given-names></string-name>, <string-name><surname>Dutta</surname> <given-names>AK</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Hybrid sine-cosine chimp optimization based feature selection with deep learning model for threat detection in IoT sensor networks</article-title>. <source>Alex Eng J</source>. <year>2024</year>;<volume>102</volume>(<issue>1</issue>):<fpage>169</fpage>&#x2013;<lpage>78</lpage>. doi:<pub-id pub-id-type="doi">10.1016/j.aej.2024.05.051</pub-id>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Kaur</surname> <given-names>S</given-names></string-name>, <string-name><surname>Sachan</surname> <given-names>MK</given-names></string-name>, <string-name><surname>Aggarwal</surname> <given-names>AK</given-names></string-name></person-group>. <article-title>Classification of royal delicious apples using hybrid feature selection and feature weighting method based on SVM classifier</article-title>. <source>Scalable Comput Pract Exp</source>. <year>2025</year>;<volume>26</volume>(<issue>2</issue>):<fpage>940</fpage>&#x2013;<lpage>49</lpage>. doi:<pub-id pub-id-type="doi">10.12694/scpe.v26i2.3924</pub-id>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Kumari</surname> <given-names>D</given-names></string-name>, <string-name><surname>Pranav</surname> <given-names>P</given-names></string-name>, <string-name><surname>Sinha</surname> <given-names>A</given-names></string-name>, <string-name><surname>Dutta</surname> <given-names>S</given-names></string-name></person-group>. <article-title>A novel approach to intrusion detection system using hybrid flower pollination and cheetah optimization algorithm</article-title>. <source>Sci Reports</source>. <year>2025</year>;<volume>15</volume>(<issue>1</issue>):<fpage>13071</fpage>. doi:<pub-id pub-id-type="doi">10.1038/s41598-025-98296-2</pub-id>; <pub-id pub-id-type="pmid">40240544</pub-id></mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Azeem</surname> <given-names>S</given-names></string-name>, <string-name><surname>Javed</surname> <given-names>S</given-names></string-name>, <string-name><surname>Naseer</surname> <given-names>I</given-names></string-name>, <string-name><surname>Ali</surname> <given-names>O</given-names></string-name>, <string-name><surname>Ghazal</surname> <given-names>TM</given-names></string-name></person-group>. <article-title>A new hybrid PSO-HHO wrapper based optimization for feature selection</article-title>. <source>IEEE Access</source>. <year>2025</year>;<volume>13</volume>:<fpage>87090</fpage>&#x2013;<lpage>9</lpage>. doi:<pub-id pub-id-type="doi">10.1109/ACCESS.2025.3570901</pub-id>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Aly</surname> <given-names>M</given-names></string-name>, <string-name><surname>Alotaibi</surname> <given-names>AS</given-names></string-name></person-group>. <article-title>Hybrid butterfly&#x2013;grey wolf optimization (HB-GWO): a novel metaheuristic approach for feature selection in high-dimensional data</article-title>. <source>Stat, Optim &#x0026; Inform Comput</source>. <year>2025</year>;<volume>13</volume>(<issue>6</issue>):<fpage>2575</fpage>&#x2013;<lpage>600</lpage>. doi:<pub-id pub-id-type="doi">10.19139/soic-2310-5070-2617</pub-id>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Dao</surname> <given-names>TK</given-names></string-name>, <string-name><surname>Nguyen</surname> <given-names>TT</given-names></string-name>, <string-name><surname>Nguyen</surname> <given-names>VT</given-names></string-name>, <string-name><surname>Nguyen</surname> <given-names>TD</given-names></string-name></person-group>. <article-title>A hybridized flower pollination algorithm and its application on microgrid operations planning</article-title>. <source>Appl Sci</source>. <year>2022</year>;<volume>12</volume>(<issue>13</issue>):<fpage>6487</fpage>. doi:<pub-id pub-id-type="doi">10.3390/app12136487</pub-id>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Blake</surname> <given-names>CL</given-names></string-name>, <string-name><surname>Merz</surname> <given-names>CJ</given-names></string-name></person-group>. <article-title>UCI repository of machine learning databases. 1998. [cited 2025 Jul 1]</article-title>. Available from: <ext-link ext-link-type="uri" xlink:href="https://archive.ics.uci.edu/ml">https://archive.ics.uci.edu/ml</ext-link>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Taghian</surname> <given-names>S</given-names></string-name>, <string-name><surname>Nadimi-Shahraki</surname> <given-names>MH</given-names></string-name></person-group>. <article-title>Binary sine cosine algorithms for feature selection from medical data</article-title>. <comment>arXiv:1911.07805. 2019</comment>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Al-Wajih</surname> <given-names>R</given-names></string-name>, <string-name><surname>Abdulkadir</surname> <given-names>SJ</given-names></string-name>, <string-name><surname>Aziz</surname> <given-names>N</given-names></string-name>, <string-name><surname>Al-Tashi</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Talpur</surname> <given-names>N</given-names></string-name></person-group>. <article-title>Hybrid binary grey wolf with Harris hawks optimizer for feature selection</article-title>. <source>IEEE Access</source>. <year>2021</year>;<volume>9</volume>:<fpage>31662</fpage>&#x2013;<lpage>77</lpage>. doi:<pub-id pub-id-type="doi">10.1109/ACCESS.2021.3060096</pub-id>.</mixed-citation></ref>
</ref-list>
</back></article>