Next Article in Journal
DPCA-GCN: Dual-Path Cross-Attention Graph Convolutional Networks for Skeleton-Based Action Recognition
Previous Article in Journal
Top-Down Optimization of a Multi-Physics TBS Model via Design-Change Propagation Network for Acoustic Levitation Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

mDA: Evolutionary Machine Learning Algorithm for Feature Selection in Medical Domain

1
The Department of Artificial Intelligence, The University of Jordan, Amman 11942, Jordan
2
Department of Computer Science, The World Islamic Sciences and Education University, Amman 11947, Jordan
3
Department of Computer Science, King Hussein School of Computing Sciences, Princess Sumaya University for Technology, Amman 11941, Jordan
4
Department of Data Science and Artificial Intelligence, Faculty of Science and Information Technology, Al-Zaytoonah University of Jordan, Amman 11733, Jordan
*
Author to whom correspondence should be addressed.
Computation 2025, 13(12), 292; https://doi.org/10.3390/computation13120292
Submission received: 19 October 2025 / Revised: 3 December 2025 / Accepted: 10 December 2025 / Published: 13 December 2025

Abstract

The rapid expansion of medical data, characterized by its complex high-dimensional attributes, presents numerous promising opportunities and substantial challenges in healthcare analytics. Adopting effective feature selection techniques is essential to take advantage of the potential of such data. This research presents a modified algorithm called (mDA), which is the hybrid algorithm between the Evolutionary Population Dynamics and the Dragonfly Algorithm. This method combines Evolutionary Population Dynamics’s strength with the Dragonfly Algorithm’s flexible capabilities, offering a robust evolutionary machine learning approach specifically designed for medical data analysis. By integrating the dynamic population modeling of Evolutionary Population Dynamics with the adaptive search techniques of Dragonfly Algorithm, the proposed mDA significantly improves accuracy, reduces the number of features, and obtains the minimum average of the fitness scores. Comparative experiments conducted on seven diverse medical datasets against other established algorithms confirm the superior performance of the proposed mDA, establishing it as a valuable approach in examining complex medical data.

1. Introduction

The swift progress in the development of medical technologies and the widespread use of electronic health records have created enormous amounts of medical data. This high-dimensional data holds the potential to transform healthcare by facilitating more precise diagnoses, customized treatments, and predictive analytics. Nonetheless, this data’s vast volume and complexity pose substantial challenges, particularly in extracting meaningful insights. A major challenge is the existence of irrelevant or redundant features that can hinder the effectiveness of machine learning models, causing overfitting and diminished generalization ability.
In recent decades, metaheuristic and evolutionary algorithms have proven to be highly effective in solving a variety of optimization problems [1,2,3,4,5]. The Dragonfly Algorithm (DA), a contemporary metaheuristic inspired by the behavior of dragonflies [6], stands out as a recently successful algorithm capable of surpassing other well-established optimizers in the literature. It has been employed in diverse real-world applications, including economic emission dispatch in power systems [7,8], simulation building [9], wireless node localization in computer networks [10], and machine learning [11,12]. The DA has demonstrated excellent performance across numerous continuous, discrete, single-objective, and multi-objective optimization problems, outperforming several state-of-the-art metaheuristic and evolutionary algorithms such as Particle Swarm Optimization (PSO) and Differential Evolution (DE). Recent studies have also highlighted the growing role of intelligent and language-aware AI systems in healthcare and social media analytics, demonstrating effective applications of machine learning and natural language processing in Arabic and multilingual contexts [13,14,15].
Recently, the authors in [6] presented a binary version of the DA, known as BDA, which utilizes a transfer function (TF) to transform a continuous search space into a discrete one. An initial evaluation of BDA’s effectiveness was performed on various feature selection challenges, with the findings indicating the method’s satisfactory performance [16].
The persuasive advantages of the EPD operator prompted us to incorporate it into the newly developed Dragonfly Algorithm (DA) to evaluate its efficacy on FS problems. In this research, we adapted the DA by choosing the top three solutions along with one that is randomly generated to reposition a solution from the lower half of the population. This strategy allows solutions with lower fitness to influence the population’s structure. Comprehensive results and extensive comparisons indicate that the EPD significantly boosts the DA’s performance, enhancing the proposed method’s ability to surpass other optimizers and achieve superior solutions with better convergence characteristics. This study presents an EPD-enhanced DA-based optimizer aimed at improving the basic DA’s performance on FS tasks. Our main contributions in this research include:
  • The notable advantages of the EPD operator encouraged us to utilize it with the recently introduced DA and examine its efficiency in FS problems in the medical domain.
  • In the suggested method, a solution from the worst 50% of the population is repositioned by choosing one of the top three solutions and a randomly generated solution.
  • The suggested method has been evaluated on seven medical datasets, each with unique configurations and attributes, to illustrate its effectiveness, solution quality, and efficiency in feature selection tasks.
  • The EPD operator is combined with the modified DA (mDA) for the first time to address feature selection problems.
The paper is structured as follows: Section 2 covers related work. Section 3 highlighted the basics of DA, binary DA, and the EPD operator. Section 4 outlines the proposed methodology. Section 5 presents the results. Section 6 highlighted the clinical discussion of the findings. Lastly, Section 7 provides the conclusions and suggests avenues for future research.

2. Related Works

In our literature review, we employed a systematic research approach to locate and evaluate pertinent studies. We conducted searches in key scientific databases such as Elsevier, IEEE, Springer, and MDPI, utilizing specific keywords like metaheuristics, evolutionary computation, nature-inspired approaches, hybrid approaches, local search, Evolutionary Population Dynamics (EPD), and the Dragonfly Algorithm (DA). Our selection criteria were aimed at studies that proposed, examined, or implemented hybrid metaheuristic algorithms, with a special focus on methods integrating EPD and DA or similar evolutionary strategies. This approach guaranteed a thorough and focused review of existing literature, enabling us to evaluate the theoretical and practical contributions of current methods and to distinctly define the innovation of the proposed mDA algorithm.
Numerous studies have attempted to apply DA or enhance its effectiveness in addressing practical challenges such as photovoltaic systems [17], prolonging RFID network lifespan [18], 0-1 knapsack problems [19], and the economic emission dispatch problem [7]. In 2017, the researchers in [20] introduced a memory-based hybrid DA combined with PSO principles for global optimization problems. Moreover, the authors in [21] developed a modified DA with elite opposition learning for global optimization.
DA is applied within the healthcare care domain for the purpose of feature selection. The research in [22] aimed to categorize breast cancer tumors as either benign or malignant. Implementing the Dragonfly algorithm allows a curated selection of features to be identified, thereby augmenting the precision of classification models. The algorithm enhances the feature selection methodology by systematically identifying the most salient features and concurrently discarding redundancies. This methodological framework enhances diagnostic accuracy in the medical field, particularly in differentiating among various classifications of breast cancer tumors. DA was employed in [23] for the purpose of feature selection within the domain of machine learning; the investigation did apply this algorithm to a dataset pertaining to the classification of chronic kidney disease, thereby demonstrating considerable enhancements in classification precision. Although the primary emphasis was placed on improving classification results, the efficacy of the dragonfly algorithm in feature selection could yield advantages in medical contexts for applications such as disease diagnosis or prognosis.
Subsequent investigations could delve into the algorithm’s potential in analyzing medical data to advance predictive models within healthcare environments. In [24], DA was utilized in medical image registration within the context of this investigation. It was evaluated against alternative bio-inspired algorithms, including particle swarm optimization and artificial bee colony methods. The outcomes of the simulations demonstrated that the dragonfly algorithm yielded superior quality in image registration results, though with a prolonged convergence time. This contradiction between the quality of registration and the computational duration is of principal importance when selecting an algorithm for medical applications, such as the monitoring of tumor progression. Consequently, DA has shown significant potential in the domain of medical image registration tasks, providing high-quality outcomes despite the associated increase in computational time. In the segmentation of thermographic images for early diagnosis of breast diseases, ref. [25] mimicking the swarming behaviors of dragonflies, the algorithm balances exploration and exploitation phases to compute optimal thresholds for image segmentation aims to provide a reliable method for clinicians to analyze thermography images effectively, assisting in the early detection of breast cancer.
Building upon these earlier medical applications of the DA algorithm, recent literature has demonstrated a clear transition toward hybrid evolutionary–deep learning paradigms for FS and transformer-based architectures with intrinsic interpretability mechanisms. A comprehensive literature survey [26] distills the current status of evolutionary feature selection, focusing on integration approaches for attention, adaptive population modeling, and multi-objective optimization. These approaches have a significant impact on structuring the proposed mDA algorithm.
Similarly, parallel literature on deep attention networks and vision transformer models [27,28] has been observed for integration purposes in healthcare data, including imaging and electronic health records. These models utilize attention pooling, hierarchical fusion, and representation mechanisms that inherently produce salient features that meet the criteria for feature selection. The interpretability naturally incorporated by these transformer models makes it easier to validate them for clinical use.
Methodologically, recent breakthroughs have been made in domain-aware transformer frameworks [29] that incorporate priors informed by physics and biology into their optimization approaches. These models provide enhanced semantic coherence and can be conceptualized alongside traditional wrapper approaches to FS that rely on domain information to inform and guide the process of identifying salient features. This continues to strengthen the role of jointly evolving search approaches with knowledge-informed architectures for robustness and interpretability.
From a visualization and explainability perspective, recent work continues to proliferate in post-hoc attribution methods such as SHAP and LIME [30] to effectively integrate these attribution approaches with FS algorithms, guaranteeing clinical plausibility and interpretability for these models. Empirical analyses [31] have verified that clinician-centered explanations can outperform standard SHAP explanations in both clinician trust and diagnostic accuracy, underscoring the need for interpretability and user-centered design in medical AI. Complementary analyses have concurrently argued for the use of attention maps, gradient attribution, and perturbation-based validations to ensure the relevance of selected features in clinical decision-support systems.
Taken together, these recent developments represent a clear paradigm shift toward interpretable, domain-grounded, and hybridized feature selection frameworks. They have established a coherent research stream integrating evolutionary search, deep representational learning, and explainable AI, a trajectory that is directly reflected in the conception and design of our proposed mDA model.

3. Preliminaries

3.1. Dragonfly Algorithm (DA)

The Dragonfly Algorithm is a newly introduced swarm intelligence algorithm [6]. This algorithm imitates the predation and migration behaviors of conceptualized dragonflies. The predation behavior, termed a static swarm (feeding), involves dragonflies flying in small clusters within a confined area to locate food sources. On the other hand, the migration behavior, called dynamic swarm (migratory), involves dragonflies flying in larger groups in a single direction to facilitate the swarm’s migration.
Like other algorithms inspired by nature, DA operates in two phases: the exploration phase, which is based on static swarming behavior, and the exploitation phase, which is based on dynamic swarming behavior.
Five individual behaviors are used to simulate the swarming actions of dragonflies. In the equations below, X denotes the current search agent’s position, X j indicates the j-th neighbor of the X search agent, and N represents the size of the neighborhood [32]:
  • Separation is a strategy used by a search agent to maintain distance from other nearby search agents. This action is represented mathematically as Equation (1):
    S i = j = 1 N X X i
  • Alignment describes how a single entity adjusts its speed to align with the speeds of other nearby entities. This action is mathematically represented by Equation (2):
    A i = j = 1 N V j N
    where V j denotes the speed of the j-th neighboring entity.
  • Cohesion indicates the propensity of individuals to move towards the nearby center of mass, as represented mathematically by Equation (3):
    C i = j = 1 N x j N X
  • Attraction describes the inclination of individuals to move toward the food source. The mathematical representation of the attraction between the food source and the i t h solution is given by Equation (4):
    F i = F l o c X
    where F l o c denotes the location of the food source.
  • Distraction This describes the natural inclination of individuals to flee from a threat. The separation between the adversary and the i t h solution is represented mathematically by Equation (5):
    E i = E l o c + X
    where E l o c represents the enemy’s position.
    Within the DA, the fitness and position of the food source are intended to be revised using the top-performing candidate (search agent) up to that point. Moreover, the fitness and position of the adversary should be adjusted based on the least successful candidate. This leads to a convergence toward favorable regions and a divergence from less favorable areas within the search space.
    According to the PSO algorithm framework, the DA updates a dragonfly’s position using two vectors: the step vector ( Δ X ), akin to the velocity vector in PSO, and the position vector. The step vector indicates the direction in which the dragonflies move. The step vector is modeled as Equation (6):
    Δ X t + 1 = ( sS i + aA i + cC i + fF i + eE i ) + wX t
    In this context, s, w, a, c, f, and e denote the weights for the separation S i , alignment A i , cohesion C i , attraction towards the food source F i , and distraction from the enemy E i for each i-th individual, respectively. These weights allow the DA to exhibit varying degrees of exploration and intensification during the optimization process. A comprehensive study of how these parameters affect the DA and their specific values is available in [6].
    The position of an individual is updated as in Equation (7):
    X t + 1 = X t + Δ X t + 1
    where t is the current iteration.
The pseudocode for the DA is presented in Algorithm 1. The process begins with generating a random initial population, where the dragonflies’ positions and step vectors are arbitrarily assigned. During each iteration, the algorithm performs the following actions repeatedly until a stopping condition is met. Firstly, each population member is assessed via a fitness function. Secondly, the primary coefficients are revised. Thirdly, using Equations (1)–(5), the separation (S), alignment (A), cohesion (C), food source (F), and enemy (E) are updated. Lastly, the step vectors and positions are adjusted based on Equations (6) and (7), correspondingly.
Finally, the best solution found so far is returned.
Algorithm 1 Pseudocode of the DA
  • Initialize the population X i ( i = 1 , 2 , , n )
  • Set Δ X i ( i = 1 , 2 , , n )
  • while (termination condition is not met) do
  •       Assess each dragonfly
  •       Update (F) and (E)
  •       Modify the primary coefficients ( i . , e . , w , s , a , c , f , a n d e )
  •       Compute S , A , C , F , and E by applying Equations (1)–(5)
  •       Revise step vectors ( Δ X t + 1 ) via Equation (6)
  •       Revise X t + 1 using Equation (7)
  • Return the best solution

3.2. Binary Dragonfly Algorithm (BDA)

In binary optimization problems, the search space is modeled as a hypercube, and an individual’s position can be altered by flipping one or more bits in its position vector x = { x 1 , x 2 , , x d } . Since the original DA was intended for continuous optimization problems, it updates the individual’s position by adding the step vector to the current position vector. However, this method does not apply to binary optimization problems like feature selection. As indicated in a previous study [33], employing a transfer function is an efficient and practical method to adapt a continuous algorithm to a binary context. This paper utilizes both S-shaped and V-shaped transfer functions.
In general, transfer functions are utilized to compute the likelihood of altering the elements of a position to either 0 or 1, depending on the value of the step vector (velocity) of the search agent indexed by i in the dimension indexed by d during the current iteration (t) as an input parameter. In earlier research [6], the transfer function of Equation (8) was employed to determine the likelihood of converting continuous positions to binary.
T ( v d i ( t ) ) = | ( v d i ( t ) ) / 1 + ( v d i ( t ) ) 2 |
The result T ( v k i ( t ) ) , obtained from Equation (8) is subsequently employed to transform the i-th component of the position vector into either 0 or 1 as per Equation (9)
X ( t + 1 ) = ¬ X t r < T ( v k i ( t ) ) X t r T ( v k i ( t ) )
where r is a random number in the [0,1] interval.
The step vector represents the current individual’s dynamism and determines the movement’s extent. A smaller step vector value implies that the individual is nearing the optimal solution and should make minor adjustments (exploitation). Conversely, a higher step vector value indicates the search agent is distant from the optimal solution and necessitates significant changes (exploration) [34]. In a binary algorithm utilizing the step vector to determine the probability of position changes, transfer functions immensely influence the equilibrium between exploration and exploitation. The probability calculation will stay constant throughout the optimization process if the transfer function remains unchanged. Modifying the transfer function can enhance the influence of the step vector on position alterations for both exploration and exploitation of the search space.

3.3. Evolutionary Population Dynamics (EPD)

Evolutionary algorithms (EAs) are stochastic search methods where a group of potential solutions (population) is initialized and then gradually enhanced to meet the specified objectives better. Certain EAs employ mutation mechanisms to modify selected solutions, while others use crossover operators. These operators aim to evolve the chosen solutions, which are often the most optimal ones. Evolutionary Population Dynamics (EPD) involves eliminating the least optimal solutions in a population and repositioning them near the best ones. This approach is fundamentally based on the theory of self-organized criticality (SOC) [35], which suggests that a local alteration in the population can influence the entire population, leading to delicate balances without an external organizing force [36]. Genetic algorithms merge the best solutions using evolutionary operators such as crossover and mutation. Conversely, EPD excludes the least optimal solutions from the current population. Two metaheuristic methods inspired by the SOC concept are evolutionary programming using self-organizing criticality (EPSCO) [37] and extremal optimization (EO) [38]. EPD is a straightforward and effective mechanism that can be integrated into various optimizers. It begins by removing the least optimal solutions from the swarm and subsequently repositioning these removed solutions around the top search agents.

4. Methodology

Feature selection is presented as a binary optimization challenge, limiting solutions to binary outcomes. Therefore, the binary version of the DA can be utilized to tackle this challenge. In this research, a vector consisting of zeroes and ones represents a solution to a FS problem, with a zero indicating that the associated feature is not selected and a one indicating that the feature is selected. The length of the solution vector corresponds to the number of features present in the original dataset. This study introduces eight wrapper feature selection techniques that leverage the BDA. Each technique uses a transfer function to convert a continuous value into a binary form. The KNN classifier [39] is employed to evaluate the selected feature subsets. The fitness function takes into account both classification accuracy and the number of features selected, in line with the understanding that feature selection is a multi-objective task. The objective function is shown in Equation (10):
F i t n e s s = α γ R ( D ) + β | C | | N |
where γ R ( D ) denotes the classification error rate, | C | signifies the count of selected features, and | N | represents the total number of features in the initial dataset. The parameters α and β correspond to the significance of classification accuracy and subset length, respectively. α ranges within the interval [0,1], and β is defined as ( 1 α ), adapted from [40].

4.1. Applying the EPD Strategy to BDA

As previously discussed, the EPD approach discards the least efficient solutions from the population and replaces them by creating new solutions in the vicinity of the more effective ones. This EPD strategy serves as a simple yet efficient operator for methods based on populations [36], and hence it is incorporated into the traditional DA as it is also a stochastic population-based optimizer. EPD improves the exploitation capability of BDA by removing the poorest solutions from the group and creating new nearby solutions around the superior ones.
To incorporate the EPD technique within the BDA algorithm, the swarm of dragonflies is split into two groups after sorting by their fitness scores. The less fit group is removed and reinitialized using four different strategies derived from the better half of the population.
In this study, we integrated the EPD scheme with the binary DA. The hybridization model utilizes a random selection operator. Specifically, one of the top three dragonflies in the population is chosen along with a randomly selected dragonfly. Subsequently, the ’poor’ solution’s leader is chosen randomly. To execute this concept, a random selection mechanism is used to pick the solutions. Additionally, this method incorporates a basic mutation operator.
In this method, the top three individuals are chosen, and a fourth solution is created randomly. Each of the worst half solutions is repositioned around one of these four solutions based on a generated random number. The procedure is simple: a random number X r is generated in each iteration, and one of four choices is applied to reposition the suboptimal solution: if X r [0, 0.25], the best solution is used; if X r [0.25, 0.5], the second-best solution is used; if X r [0.5, 0.75], the third-best solution is chosen; and if X r [0.75, 1], a random solution is used.
The selected solution will be used as a starting point to reposition the poor solution. Repositioning the poor solutions around the best solutions aims to heighten the median of the swarm in each step. However, this process may cause a premature convergence of the algorithm. As a remedy, a randomly generated solution is used in the first rule to promote exploration and prevent trapping in local optima.
The overall pseudo code of the mDA algorithm is described in Algorithm 2.
Algorithm 2 Pseudocode of the mDA
  • Initialize the population X i ( i = 1 , 2 , , n )
  • Initialize Δ X i ( i = 1 , 2 , , n )
  • while (end condition is not satisfied) do
  •       Evaluate each dragonfly
  •       Update (F) and (E)
  •       Update the main coefficients ( i . , e . , w , s , a , c , f , a n d e )
  •       Calculate S , A , C , F , and E (using Equations (1)–(5))
  •       Update step vectors ( Δ X t + 1 ) using Equations (8) and (9)
  •       for  i = ( n / 2 ) + 1 to n do
  •             Update the position of i-th dragonfly using EPD approach
  • Return the best solution using Equation (10)
It should be noted that the computational complexity of the proposed modified Differential Algorithm (mDA) is not substantially different from that of the original Differential Algorithm (DA). The DA has a computational complexity of O ( t × d × n 2 ) , where t represents the number of iterations, d stands for the number of variables, and n denotes the number of solutions. The introduction of binary operators does not alter this complexity, as they are incorporated into the original DA’s position updating method. However, to reinitialize 50% of the solutions, an additional complexity of O ( n / 2 ) is introduced, making the overall computational complexity of the proposed mDA O ( t × d × n 2 + n / 2 ) . It is important to note that because half of the solutions need to be re-evaluated for their objective value, the mDA requires n / 2 more function evaluations than the DA.

4.2. Experiments

We conducted our experiments using seven publicly accessible medical datasets: Breastcancer, BreastEW, Colon, HeartEW, Leukemia, Lymphography, and PenglungEW. The comparative algorithms included Traditional PSO, Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO), Salp Swarm Algorithm (SSA), Grasshopper Algorithm (GOA), and Harris Hawks Optimization (HHO). The evaluation metrics comprised Accuracy, mean number of selected features, and mean best fitness.

4.3. Dataset Description

We assess the performance of the proposed nDA model compared to the binary DA version and other methods using seven renowned medical datasets obtained from the UCI benchmark repository [41,42].
Table 1 summarizes the datasets employed in our experiments. It enumerates seven unique datasets, each selected for its significance to particular medical and biological issues. The table describes the number of features, cases, and categories for each dataset, which are essential measures for assessing the data’s complexity and breadth. Detailed information of each dataset is given below:
  • Breastcancer: This dataset contains 9 features with 699 instances, divided into 2 classes, making it suitable for binary classification tasks related to breast cancer detection.
  • BreastEW: Comprising 30 features and 569 instances, this dataset also targets breast cancer but with a different feature set, reflecting varied experimental conditions or data collection methodologies.
  • Colon: A relatively small dataset with only 62 instances but a high dimensionality of 2000 features, primarily used for studying gene expression profiles in colon cancer.
  • HeartEW: Contains 270 instances and 13 features used in analyzing heart disease with two outcome classes.
  • Leukemia: The most feature-rich dataset in the collection, with 7129 features across 72 instances, indicative of high-throughput genetic profiling in leukemia studies.
  • Lymphography: Consists of 148 instances and 18 features, used in diagnosing lymph node tumors with binary class outcomes.
  • PenglungEW: Distinct from the others, this dataset has 73 instances and 325 features but expands the classification challenge to 7 classes, possibly indicating different stages or types of lung diseases.
Table 1. List of the Datasets Used in the Experiments.
Table 1. List of the Datasets Used in the Experiments.
No.DatasetNo. of FeaturesNo. of InstancesNo. of Classes
1.Breastcancer96992
2.BreastEW305692
3.Colon2000622
4.HeartEW132702
5.Leukemia7129722
6.Lymphography181482
7.PenglungEW325737

4.4. Evaluation and Experimental Settings

The suggested approach is implemented using the Matlab R2019a tool on an Intel(R) Core i7 processor running at 2.00 GHz with 16 GB of RAM. The suggested and contrasted alternatives are implemented using the same platform and programming language to provide fair comparisons.
In this work, the performance of the algorithms on the findings obtained was validated using the cross-validation method, which randomly splits each data set into 80% training and 20% testing parts [43,44]. Furthermore, each technique was run 20 times to ensure robustness and reliability of the results.
The classification accuracy in Equation (11) is used to evaluate the proposed approach, an important measure to evaluate the classification problems; more accuracy means a better solution. On the other hand, the FS algorithms aim to reduce the dimensionality of the dataset by selecting the minimum number of features concerning the classification accuracy. The accuracy and the number of the selected features are included as objectives of the fitness function; therefore, the objective is to minimize the number of features and increase the accuracy of the classification. So, the accuracy is converted to a minimization problem by taking the error rate instead of the accuracy (1-accuracy), as shown in Equation (12).
A c c u r a c y = T P + T N T P + T N + F P + F N
F i t n e s s = α × ( E r r o r R a t e ) + β × | R | | N |
where α and β are parameters between 0 and 1 to represent the importance weight of each objective ( β = 1 α ), ErrorRate indicates the classification error rate, R represents the number of selected features and the total number of features is denoted as N, based on the literature [43,44,45,46,47]; α is set to 0.99 and β equal to 0.01.
A sensitivity analysis was utilized to choose the experiment settings properly. The population size was set up in the analysis using various alternative values: 10, 20, 30, 50, and 100 search agents. While the maximum number of iterations was tested on three values: 50, 100, and 150. As clearly shown in Table 2, the population size with a value equal to 30 performed better. In addition, the maximum number of iterations is set to 100, based on the sensitivity results and according to previous studies [45,46,47]. On the other hand, the KNN is the most often used classifier with the different datasets available in the UCI repository. And according to [43,44], the value of k is set to 5.
The sensitivity analysis of the classification accuracy for the proposed alogrithm (mDA), showing how it performs across a variety of medical datasets with differing numbers of iterations and population sizes. The results reveal that the Breastcancer dataset consistently exhibits high classification accuracy, which marginally improves as the number of iterations increases, indicating the algorithm’s stability across different population sizes. In contrast, the Colon dataset shows notable variability in accuracy, especially at larger population sizes, which might suggest a sensitivity to the dimensionality of the feature space or a propensity for overfitting. The Leukemia and HeartEW datasets display a positive trend in accuracy with increasing iterations, underscoring that more iterations aid in achieving better generalization of the model. However, the PenglungEW dataset, which is categorized into multiple classes, tends to have lower overall accuracy, pointing to the inherent challenges somehow of multi-class classification. This analysis provides essential insights into the robustness and efficiency of the mDA algorithm, highlighting its potential advantages and limitations when applied to different types of medical datasets.
Table 3 enumerates the parameters utilized in the experiments outlined in the study, providing a clear framework for the setup and execution of the classification models tested. The population size for the experiments was set at 30 based on the sensitivity analysis experiment, with a maximum of 100 iterations per run to allow the algorithms sufficient opportunity to converge toward optimal solutions. The K-nearest neighbors algorithm (KNN) used a value of K equal to 5, optimizing the balance between bias and variance in the classification. Two parameters, α , and β , were set at 0.99 and 0.01 respectively in the fitness function, indicating a strong preference for one aspect of the model’s performance over another, likely focusing on maximizing accuracy while controlling for overfitting or complexity in the model. This structured approach in parameter selection underscores the methodological rigor of the experiments, aiming to achieve both precise and generalizable outcomes.

5. Results

Table 4 provides a comparative analysis of classification accuracy between the proposed algorithm (mDA) and other well-known optimization algorithms across various medical datasets. The table includes algorithms such as Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO), Salp Swarm Algorithm (SSA), Grasshopper Optimisation Algorithm (GOA), Harris Hawks Optimization (HHO), and standard (DA).
The mDA algorithm generally shows superior or competitive performance compared to other algorithms. For instance, in the Breastcancer dataset, mDA achieves a classification accuracy of 0.9678, slightly outperforming the nearest competitor, GOA, which scored 0.9673. Similarly, in the BreastEW dataset, mDA’s accuracy of 0.9382 is among the highest, surpassed only by GA’s 0.9581. However, in the Colon and PenglungEW datasets, while mDA does not lead, it still maintains a respectable performance, indicating its robustness across different types of data challenges. This comparative analysis highlights the efficacy of mDA in achieving high classification accuracy and showcases its potential as a reliable tool in medical data analysis.
Table 5 presents a comparative analysis of the average number of selected features across various algorithms when applied to different medical datasets. The table highlights the efficiency of each algorithm in feature selection, which is critical for reducing model complexity while maintaining or enhancing prediction accuracy. For instance, in the Breastcancer dataset, mDA and HHO select the fewest features, demonstrating their capability to achieve efficient feature reduction. In contrast, the Colon dataset shows significant variation in the number of features selected, with mDA choosing 923.20 features on average, which is lower than GWO and SSA but higher than DA and HHO.
In more complex datasets like Leukemia, which initially have thousands of features, the variation in selected features is stark, with mDA selecting 3332.30 features, substantially fewer than GWO and SSA but more than GOA and DA. This indicates that while mDA generally selects more features compared to some algorithms, it may balance feature reduction and maintaining classification performance.
Overall, this table effectively demonstrates how different optimization algorithms manage the trade-off between reducing the number of features and retaining sufficient information for accurate classification, providing insights into their applicability in various scenarios.
Table 6 summarizes the feature selection ratio and dimensionality reduction efficiency obtained by the proposed mDA across all benchmark datasets. The results show that mDA consistently achieves significant feature-space reduction, eliminating on average nearly half of the original features (≈49%) while maintaining strong classification performance. In particular, for medium-dimensional datasets such as BreastEW and PenglungEW, mDA attains up to 60% reduction efficiency, highlighting its robustness in identifying highly relevant features. Although the reduction rate is moderate in high-dimensional datasets such as Colon and Leukemia (≈53%), this behavior reflects the algorithm’s tendency to preserve discriminative information essential for accurate classification. Overall, the results confirm that mDA provides an effective balance between compactness and accuracy, outperforming several baseline algorithms.
Table 7 offers a comparative analysis of average best fitness values achieved by various algorithms when applied to different datasets in the research. This table shows the effectiveness of each algorithm based on their fitness values, a measure reflecting how well each algorithm has optimized a predefined objective function. For example, the Breastcancer dataset shows that mDA achieves an impressive fitness value of 0.0233, indicating its superior performance in optimizing the classification task compared to all other algorithms. Similarly, in the Leukemia dataset, mDA reports the lowest fitness value of 0.0064, suggesting a significant optimization capability over the alternatives.
However, in the Colon dataset, GA displays lower fitness values, indicating potential areas where mDA could be less effective or require adjustments to enhance its optimization performance. The trend across different datasets highlights the varying effectiveness of these algorithms in specific scenarios, offering insights into their potential applications and limitations.
Overall, this comparative analysis provides a clear perspective on the optimization capabilities of each algorithm, with mDA generally demonstrating robust performance across most datasets, underscoring its utility in solving complex classification problems effectively.
Furthermore, we used the F-test to statistically validate the difference in the performance obtained. The results of the F-test are displayed under each table. However, the comparative performance is summarized in each table using the Wins–Ties–Losses (WTL) criterion. More wins are an indication of superior overall performance consistency.
Figure 1 depicts the convergence curves for the standard (DA) and the modified DA (mDA) over a series of iterations applied to the given dataset. The x-axis represents the number of iterations, ranging from 0 to 100, while the y-axis measures the average best-so-far fitness values, which indicate the optimization performance of each algorithm at each iteration.
From the graph, it is evident that mDA (shown in red) starts with higher fitness values than traditional DA (shown in black), and maintains a consistent improvement, demonstrating a steeper and more continuous decline in the fitness values as the iterations progress. This suggests that mDA converges more effectively towards the optimum solution than DA in most cases, showing a more gradual decline in fitness values. By iteration 100, mDA achieves significantly lower fitness values than DA, indicating better optimization performance for all datasets.
The convergence curve for mDA is relatively smoother and steeper, which underscores its enhanced capability to quickly and efficiently refine solutions, likely due to improved algorithmic modifications that enhance its search and optimization processes within the feature space of the datasets. These graphs effectively illustrate the comparative advantage of mDA in achieving lower fitness values faster, which is indicative of better overall performance in optimizing the classification task for this particular dataset.
To statistically assess the difference in performance between the algorithms compared, we employed a range of non-parametric tests that can be applied to multiple algorithms and datasets. The first step was to test the hypothesis that the performances of all algorithms are equivalent using the Friedman test, which evaluates the null hypothesis that all algorithms achieve equivalent performance across datasets. This test is appropriate here because it is rank-based and does not rely on normality assumptions. As shown in Table 8, the Friedman statistic was χ 2 = 201.465 with 7 degrees of freedom, resulting in an extremely small p-value ( 5.618 × 10 40 ). This strongly rejects the null hypothesis and confirms that there are significant performance differences between the algorithms.
Then we computed the average rank of each algorithm across all datasets, presented in Table 9. The proposed mDA algorithm achieved the lowest average rank (2.304), indicating the most consistent superior performance relative to the other baseline methods.
To identify which performance differences were statistically significant at the pairwise level, a Nemenyi post-hoc test was performed. The results in Table 10 show that mDA is significantly better than all other algorithms at the α = 0.05 significance level, with all p-values being extremely small. This confirms that the superiority of mDA is not due to random fluctuations but reflects genuine performance advantages across benchmarks.
The Critical Difference (CD) diagram in Figure 2 provides a visual representation of these statistical findings. Algorithms whose rank differences exceed the CD threshold (0.97) are considered significantly different. As depicted, mDA is clearly separated from all other methods and lies well outside the CD interval of competing approaches, reinforcing the conclusion that its performance advantage is statistically significant.
Taken all together, the Friedman test result, the result of the post-hoc test using the Nemenyi method, and the CD diagram provide a strong indication that the new mDA algorithm performs better than all of the baselines. The above findings provide strong evidence for the reliability of the advantages of the mDA algorithm.
Moreover, a Filter Feature Selection (FFS-) technique was performed for further analysis. Table 11 compares the proposed approach and various classification methods combined with filter feature selection. The results illustrate the proposed approach’s superior performance on most datasets. For instance, the mDA algorithm achieved the best results on five out of seven datasets: breast cancer, BreastEW, Heart, and PenglungEW, with accuracies of 0.9678, 0.9382, 0.8227, 0.7627, and 0.6035, respectively. As for the remaining datasets, Colon and Leukaemia achieved the highest accuracies of 0.9838 and 0.8611 using J48 and AdaBoost, respectively. This discrepancy arises because the Colon and Leukaemia datasets may possess specific characteristics that do not align well with the strengths of the mDA algorithm. These characteristics could include different distributions of features, higher levels of noise, or imbalanced class distributions, which the mDA algorithm might not handle as effectively as other algorithms like J48 or AdaBoost.

6. Clinical Discussion

Beyond the quantitative improvements achieved by the proposed mDA algorithm across the seven medical benchmarks, we further examined the clinical relevance of the most frequently selected features to ensure that the selected subsets align with established biomedical understanding.
For the Breastcancer and BreastEW datasets, the selected attributes consistently highlighted morphological and cytological descriptors such as cell uniformity, epithelial cell size, bare nuclei, and chromatin texture. These indicators have a correspondence with histopathologic criteria used by pathologists for distinguishing between benign and malignant lesions and for estimating tumor aggressiveness, thus verifying that the algorithm can identify salient features for diagnosis.
In the HeartEW dataset, the retained variables primarily encompassed cardiorespiratory and electrocardiographic markers—including chest pain type, ST-segment slope, and exercise induced responses, that are well-established predictors of ischemia and cardiovascular risk in coronary artery disease (CAD). The resulting can mirror the features commonly employed in clinical scoring systems for non-invasive cardiac diagnosis.
For the ColonEW and LeukemiaEW gene-expression benchmarks, mDA identified compact and biologically interpretable gene signatures associated with pathways in cell-cycle control, apoptosis regulation, and hematopoietic proliferation. These subsets capture known genomic signals implicated in oncogenic progression, reflecting the model’s capacity to balance sparsity with biological coherence.
In the Lymphography dataset, the selected variables predominantly involved patterns of lymph node enlargement, capsularity, and structural irregularity, which correspond to the clinical staging criteria used in lymphoma assessment. Such features directly relate to tumor dissemination and disease extent, indicating that mDA emphasizes anatomically meaningful discriminants.
Finally, for the multi-class PenglungEW dataset, the retained subset covered heterogeneous cytological and morphological indicators that capture inter-subtype variation across lung cancer classes. The inclusion of a slightly larger feature set here reflects the need to preserve separability across diversehistopathological subtypes. Together, these findings demonstrate that the mDA optimizer systematically gravitates toward clinically coherent and biologically plausible feature sets rather than arbitrary statistical artifacts. This not only enhances interpretability but also reinforces the practical translational value of the proposed framework in medical diagnostic contexts.

7. Conclusions and Future Works

This research introduces an enhanced hybrid DA optimizer incorporating EPD, aimed at boosting the performance of the standard DA in handling FS tasks. The mDA methodology was extensively applied to seven medical datasets. Detailed comparisons of the mDA’s overall classification accuracy, selected features, fitness, and convergence characteristics were made against several well-known metaheuristic-based techniques. The exhaustive comparative results and analysis demonstrated the superior effectiveness of the proposed algorithm for various FS tasks within the medical field.
The conducted experiments confirm the proposed mDA algorithm’s efficacy for feature selection within medical fields. Its capability to attain higher accuracy with a reduced number of features highlights its potential as a valuable tool for medical data analysis, providing a balance between clarity and predictive performance.
Future research could explore applying the EPD approach to various other population-based optimization algorithms. The effectiveness of the proposed binary DA and EPD-based techniques could also be utilized to address additional data-mining challenges. In future work, we plan to compare the proposed mDA with various FS methods within the domain. Furthermore, the proposed binary Dragonfly Algorithm (DA) and EPD-based techniques can be effectively utilized to tackle other complex data-mining challenges, especially those dealing with high-dimensional, unstructured, or heterogeneous datasets. As an illustration, future research could investigate areas such as LASSO and ridge regression, image-based feature selection, multimodal data analysis, and other intricate fields to demonstrate the scalability and practical applicability of the proposed methods. Future work should not only focus on technical advancements but also address significant socio-technical and ethical open research questions (ORQs) highlighted by this study and related literature. These encompass concerns such as transparency, fairness, responsible usage, computational sustainability, and the impact of human–AI interaction in the deployment of EPD- and DA-based algorithms.

Author Contributions

I.A.: Conceptualization, Methodology, Supervision, Project administration; I.A. and A.A.: Data curation, Formal analysis, Software; I.A., A.A., N.A.-M. and A.M.A.-Z.: Writing—review and editing, validation; A.S.: Software, Resources, Writing—review & editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

This research has been done during Ibrahim Aljarah’s sabbatical leave from the University of Jordan for the academic year 2023–2024, and we express our gratitude to the University of Jordan for its support in enabling this research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Eshtay, M.; Faris, H.; Obeid, N. Improving Extreme Learning Machine by Competitive Swarm Optimization and its application for medical diagnosis problems. Expert Syst. Appl. 2018, 104, 134–152. [Google Scholar] [CrossRef]
  2. Khalilpourazari, S.; Pasandideh, S.H.R.; Niaki, S.T.A. Optimization of multi-product economic production quantity model with partial backordering and physical constraints: SQP, SFS, SA, and WCA. Appl. Soft Comput. 2016, 49, 770–791. [Google Scholar] [CrossRef]
  3. Zelinka, I. A survey on evolutionary algorithms dynamics and its complexity–Mutual relations, past, present and future. Swarm Evol. Comput. 2015, 25, 2–14. [Google Scholar] [CrossRef]
  4. Heidari, A.A.; Abbaspour, R.A.; Jordehi, A.R. Gaussian bare-bones water cycle algorithm for optimal reactive power dispatch in electrical power systems. Appl. Soft Comput. 2017, 57, 657–671. [Google Scholar] [CrossRef]
  5. Heidari, A.A.; Abbaspour, R.A.; Jordehi, A.R. An efficient chaotic water cycle algorithm for optimization tasks. Neural Comput. Appl. 2017, 28, 57–85. [Google Scholar] [CrossRef]
  6. Mirjalili, S. Dragonfly algorithm: A new meta-heuristic optimization technique for solving single-objective, discrete, and multi-objective problems. Neural Comput. Appl. 2016, 27, 1053–1073. [Google Scholar] [CrossRef]
  7. Bhesdadiya, R.H.; Pandya, M.H.; Trivedi, I.N.; Jangir, N.; Jangir, P.; Kumar, A. Price penalty factors based approach for combined economic emission dispatch problem solution using Dragonfly Algorithm. In Proceedings of the 2016 International Conference on Energy Efficient Technologies for Sustainability (ICEETS), Nagercoil, India, 7–8 April 2016; IEEE: New York, NY, USA, 2016; pp. 436–441. [Google Scholar] [CrossRef]
  8. Suresh, V.; Sreejith, S. Generation dispatch of combined solar thermal systems using dragonfly algorithm. Computing 2017, 99, 59–80. [Google Scholar] [CrossRef]
  9. Hamdy, M.; Nguyen, A.T.; Hensen, J.L.M. A performance comparison of multi-objective optimization algorithms for solving nearly-zero-energy-building design problems. Energy Build. 2016, 121, 57–71. [Google Scholar] [CrossRef]
  10. Daely, P.T.; Shin, S.Y. Range based wireless node localization using Dragonfly Algorithm. In Proceedings of the 2016 Eighth International Conference on Ubiquitous and Future Networks (ICUFN), Vienna, Austria, 5–8 July 2016; IEEE: New York, NY, USA, 2016; pp. 1012–1015. [Google Scholar] [CrossRef]
  11. Elhariri, E.; El-Bendary, N.; Hassanien, A.E. Bio-inspired optimization for feature set dimensionality reduction. In Proceedings of the 2016 3rd International Conference on Advances in Computational Tools for Engineering Applications (ACTEA), Zouk Mosbeh, Lebanon, 13–15 July 2016; IEEE: New York, NY, USA, 2016; pp. 184–189. [Google Scholar] [CrossRef]
  12. Salam, M.A.; Zawbaa, H.M.; Emary, E.; Ghany, K.K.A.; Parv, B. A hybrid dragonfly algorithm with extreme learning machine for prediction. In Proceedings of the 2016 International Symposium on INnovations in Intelligent SysTems and Applications (INISTA), Sinaia, Romania, 2–5 August 2016; IEEE: New York, NY, USA, 2016; pp. 1–6. [Google Scholar] [CrossRef]
  13. Kanan, T.; AbedAlghafer, A.; AlZu’bi, S.; Hawashin, B.; Mughaid, A.; Kanaan, G.; Kamruzzaman, M. An Intelligent Health Care System for Detecting Drug Abuse in Social Media Platforms Based on Low Resource Language. IEEE/ACM Trans. Audio Speech Lang. Process. 2023, 32, 691–703. [Google Scholar] [CrossRef]
  14. Kanan, T.; Hawashin, B.; Alzubi, S.; Almaita, E.; Alkhatib, A.; Maria, K.A.; Elbes, M. Improving arabic text classification using p-stemmer. Recent Adv. Comput. Sci. Commun. (Former. Recent Patents Comput. Sci.) 2022, 15, 404–411. [Google Scholar] [CrossRef]
  15. Mansour, A.M.; Obeidat, M.A.; Hawashin, B. A novel multi agent recommender system for user interests extraction. Clust. Comput. 2023, 26, 1353–1362. [Google Scholar] [CrossRef]
  16. Mafarja, M.M.; Eleyan, D.; Jaber, I.; Hammouri, A.; Mirjalili, S. Binary dragonfly algorithm for feature selection. In Proceedings of the 2017 International Conference on New Trends in Computing Sciences (ICTCS), Amman, Jordan, 11–13 October 2017; IEEE: New York, NY, USA, 2017; pp. 12–17. [Google Scholar] [CrossRef]
  17. Raman, G.; Raman, G.; Manickam, C.; Ganesan, S.I. Dragonfly algorithm based global maximum power point tracker for photovoltaic systems. In Proceedings of the International Conference in Swarm Intelligence, Brussels, Belgium, 7–9 September 2016; Springer: Berlin/Heidelberg, Germany, 2016; pp. 211–219. [Google Scholar] [CrossRef]
  18. Hema, C.; Sankar, S.; Sandhya. Energy efficient cluster based protocol to extend the RFID network lifetime using dragonfly algorithm. In Proceedings of the 2016 International Conference on Communication and Signal Processing (ICCSP), Melmaruvathur, India, 6–8 April 2016; IEEE: New York, NY, USA, 2016; pp. 530–534. [Google Scholar] [CrossRef]
  19. Abdel-Basset, M.; Luo, Q.; Miao, F.; Zhou, Y. Solving 0–1 knapsack problems by binary dragonfly algorithm. In Proceedings of the International Conference on Intelligent Computing, Liverpool, UK, 7–10 August 2017; Springer: Berlin/Heidelberg, Germany, 2017; pp. 491–502. [Google Scholar] [CrossRef]
  20. KS, S.R.; Murugan, S. Memory based hybrid dragonfly algorithm for numerical optimization problems. Expert Syst. Appl. 2017, 83, 63–78. [Google Scholar] [CrossRef]
  21. Song, J.; Li, S. Elite opposition learning and exponential function steps-based dragonfly algorithm for global optimization. In Proceedings of the 2017 IEEE International Conference on Information and Automation (ICIA), Macao, China, 18–20 July 2017; IEEE: New York, NY, USA, 2017; pp. 1178–1183. [Google Scholar] [CrossRef]
  22. Majeed, N.M.; Ramo, F.M. Implementation of Features Selection Based on Dragonfly Optimization Algorithm. Technium 2022, 4, 44–52. [Google Scholar] [CrossRef]
  23. Raouf, Z.T.; Abd, D.H. Feature Selection for Binary Dataset using Dragonfly Algorithm. In Proceedings of the 2023 16th International Conference on Developments in eSystems Engineering (DeSE), Istanbul, Türkiye, 18–20 December 2023; IEEE: New York, NY, USA, 2023; pp. 480–485. [Google Scholar] [CrossRef]
  24. Sarvamangala, D.; Kulkarni, R.V. A comparative study of bio-inspired algorithms for medical image registration. In Advances in Intelligent Computing; Springer: Berlin/Heidelberg, Germany, 2018; pp. 27–44. [Google Scholar] [CrossRef]
  25. Díaz-Cortés, M.A.; Ortega-Sánchez, N.; Hinojosa, S.; Oliva, D.; Cuevas, E.; Rojas, R.; Demin, A. A multi-level thresholding method for breast thermograms analysis using Dragonfly algorithm. Infrared Phys. Technol. 2018, 93, 346–361. [Google Scholar] [CrossRef]
  26. Song, X.; Zhang, Y.; Zhang, W. Evolutionary computation for feature selection in classification: A comprehensive survey of solutions, applications and challenges. Swarm Evol. Comput. 2024, 90, 101661. [Google Scholar] [CrossRef]
  27. Zhang, Y.; Wang, J.; Gorriz, J.M.; Wang, S. Deep Learning and Vision Transformer for Medical Image Analysis. J. Imaging 2023, 9, 147. [Google Scholar] [CrossRef]
  28. Chaddad, A.; Peng, J.; Xu, J.; Bouridane, A. Survey of Explainable AI Techniques in Healthcare. Sensors 2023, 23, 634. [Google Scholar] [CrossRef]
  29. Feng, J.; Zhou, H.; Xu, W.; Liu, Q. Sliding-attention transformer neural architecture for predicting T cell receptor–antigen–human leucocyte antigen binding. Nat. Mach. Intell. 2024, 6, 981–994. [Google Scholar] [CrossRef]
  30. Kababulut, F.Y.; Gürkan Kuntalp, D.; Düzyel, O.; Özcan, N.; Kuntalp, M. A New Shapley-Based Feature Selection Method in a Clinical Decision Support System for the Identification of Lung Diseases. Diagnostics 2023, 13, 3558. [Google Scholar] [CrossRef]
  31. Hur, S.; Lee, Y.; Park, J.; Jeon, Y.J.; Cho, J.H.; Cho, D.; Lim, D.; Hwang, W.; Cha, W.C.; Yoo, J. Comparison of SHAP and clinician friendly explanations reveals effects on clinical decision behaviour. npj Digit. Med. 2025, 8, 578. [Google Scholar] [CrossRef]
  32. Reynolds, C.W. Flocks, herds and schools: A distributed behavioral model. ACM Siggraph Comput. Graph. 1987, 21, 25–34. [Google Scholar] [CrossRef]
  33. Mirjalili, S.; Lewis, A. S-shaped versus V-shaped transfer functions for binary Particle Swarm Optimization. Swarm Evol. Comput. 2013, 9, 1–14. [Google Scholar] [CrossRef]
  34. Mirjalili, S.; Wang, G.G.; Coelho, L.d.S. Binary optimization using hybrid particle swarm optimization and gravitational search algorithm. Neural Comput. Appl. 2014, 25, 1423–1435 . [Google Scholar] [CrossRef]
  35. Bak, P.; Tang, C.; Wiesenfeld, K. Self-organized criticality: An explanation of the 1/f noise. Phys. Rev. Lett. 1987, 59, 381. [Google Scholar] [CrossRef]
  36. Lewis, A.; Mostaghim, S.; Randall, M. Evolutionary population dynamics and multi-objective optimisation problems. In Multi-Objective Optimization in Computational Intelligence: Theory and Practice; IGI Global: Hershey, PA, USA, 2008; pp. 185–206. [Google Scholar] [CrossRef]
  37. Lewis, A.; Abramson, D.; Peachey, T. An evolutionary programming algorithm for automatic engineering design. In Proceedings of the International Conference on Parallel Processing and Applied Mathematics, Czestochowa, Poland, 7–10 September 2003; Springer: Berlin/Heidelberg, Germany, 2003; pp. 586–594. [Google Scholar] [CrossRef]
  38. Boettcher, S.; Percus, A. Extremal optimization: Methods derived from co-evolution. arXiv 1999, arXiv:math/9904056. [Google Scholar] [CrossRef]
  39. Altman, N.S. An introduction to kernel and nearest-neighbor nonparametric regression. Am. Stat. 1992, 46, 175–185. [Google Scholar] [CrossRef]
  40. Emary, E.; Zawbaa, H.M.; Hassanien, A.E. Binary antlion approaches for feature selection. Neurocomputing 2016, 213, 54–65. [Google Scholar] [CrossRef]
  41. Zawbaa, H.M.; Emary, E.; Parv, B.; Sharawi, M. Feature selection approach based on moth-flame optimization algorithm. In Proceedings of the 2016 IEEE Congress on Evolutionary Computation (CEC), Vancouver, BC, Canada, 24–29 July 2016; IEEE: New York, NY, USA, 2016; pp. 4612–4617. [Google Scholar] [CrossRef]
  42. Alzaqebah, A.; Al-Kadi, O.; Aljarah, I. An enhanced harris hawk optimizer based on extreme learning machine for feature selection. Prog. Artif. Intell. 2023, 12, 77–97. [Google Scholar] [CrossRef]
  43. Mafarja, M.; Aljarah, I.; Heidari, A.A.; Faris, H.; Fournier-Viger, P.; Li, X.; Mirjalili, S. Binary dragonfly optimization for feature selection using time-varying transfer functions. Knowl.-Based Syst. 2018, 161, 185–204. [Google Scholar] [CrossRef]
  44. Hammouri, A.I.; Awadallah, M.A.; Braik, M.S.; Al-Betar, M.A.; Beseiso, M. Improved Dwarf Mongoose Optimization Algorithm for Feature Selection: Application in Software Fault Prediction Datasets. J. Bionic Eng. 2024, 21, 2000–2033. [Google Scholar] [CrossRef]
  45. Mafarja, M.; Mirjalili, S. Whale optimization approaches for wrapper feature selection. Appl. Soft Comput. 2018, 62, 441–453. [Google Scholar] [CrossRef]
  46. Mafarja, M.; Aljarah, I.; Faris, H.; Hammouri, A.I.; Ala’M, A.Z.; Mirjalili, S. Binary grasshopper optimisation algorithm approaches for feature selection problems. Expert Syst. Appl. 2019, 117, 267–286. [Google Scholar] [CrossRef]
  47. Alzaqebah, A.; Aljarah, I.; Al-Kadi, O. A hierarchical intrusion detection system based on extreme learning machine and nature-inspired optimization. Comput. Secur. 2023, 124, 102957. [Google Scholar] [CrossRef]
Figure 1. Convergence curves for the tested algorithms over the tested datasets.
Figure 1. Convergence curves for the tested algorithms over the tested datasets.
Computation 13 00292 g001aComputation 13 00292 g001b
Figure 2. Critical Difference (Nemenyi) diagram showing the average ranks of the algorithms.
Figure 2. Critical Difference (Nemenyi) diagram showing the average ranks of the algorithms.
Computation 13 00292 g002
Table 2. A sensitivity analysis of the classification accuracy for mDA algorithm with various numbers of iterations and population size.
Table 2. A sensitivity analysis of the classification accuracy for mDA algorithm with various numbers of iterations and population size.
Population Size
Benchmark Iterations 10 20 30 50 100
Breastcancer500.95940.96110.95810.95710.9606
1000.95880.95760.96780.95970.9581
1500.96110.95790.95730.96030.9606
BreastEW500.92980.93220.92930.93010.9287
1000.92880.93680.93820.93540.9307
1500.93560.93440.93530.93620.9337
Colon500.62650.63060.61430.66430.6143
1000.61630.62350.71740.61430.5847
1500.62040.59590.63570.63570.6051
HeartEW500.79210.79070.79790.79000.7894
1000.80210.79680.82270.80790.7898
1500.78520.79210.79840.78130.7928
Leukemia500.75530.80090.74910.76840.7719
1000.77280.76400.82110.73860.7447
1500.73070.77630.71490.75260.7763
Lymphography500.73890.73690.74770.74060.7466
1000.72430.73900.76270.75130.7411
1500.73900.71650.73110.72450.7441
PenglungEW500.55600.51380.53790.53190.4888
1000.49660.53100.60350.49660.5241
1500.52840.57240.48450.55000.5345
Table 3. List of the used Parameters in the Experiments.
Table 3. List of the used Parameters in the Experiments.
No.ParameterValue
1.Training Data80%
2.Testing Data20%
3.Population Size30
4.Max Number of iterations100
5.K (Knn)5
6.Number of runs for each technique20
7. α in fitness function0.99
8. β in fitness function0.01
Table 4. A comparative analysis of classification accuracy between the proposed mDA and other algorithms.
Table 4. A comparative analysis of classification accuracy between the proposed mDA and other algorithms.
BenchmarkGAPSOGWOSSAGOAHHODAmDA
Breastcancer95.81 ± 0.2196.42 ± 0.7896.14 ± 0.8195.91 ± 196.73 ± 2.694.99 ± 1.896.24 ± 0.0196.78 ± 1.18
BreastEW91.87 ± 2.7193.31 ± 2.5194.52 ± 5.3293.00 ± 1.3494.22 ± 1.5593.96 ± 0.4394.26 ± 1.7593.82 ± 0.85
Colon64.59 ± 0.8567.25 ± 1.763.98 ± 1.9161.22 ± 0.1259.29 ± 1.1666.63 ± 0.1169.29 ± 3.1271.74 ± 1.53
HeartEW81.90 ± 0.0179.93 ± 0.2279.28 ± 1.1979.61 ± 3.4274.31 ± 2.378.54 ± 4.4879.47 ± 1.2482.27 ± 0.01
Leukemia72.11 ± 0.579.65 ± 1.5581.14 ± 3.6962.11 ± 364.83 ± 1.5278.42 ± 2.9981.84 ± 0.8482.11 ± 2.47
Lymphography75.98 ± 1.0175.42 ± 2.2672.42 ± 1.6474.75 ± 2.2475.00 ± 0.1671.91 ± 0.9268.14 ± 5.2576.27 ± 4.24
PenglungEW53.79 ± 1.7447.24 ± 0.8149.74 ± 0.0161.55 ± 1.1445.00 ± 1.7740.00 ± 4.8663.02 ± 1.7760.35 ± 3.27
Ranking (Wins)00100015
Ranking (Ties)00000000
Ranking (Losses)77677762
Ranks (F-test)4.85714.00004.57145.57145.57146.14293.42861.8571
Table 5. A comparison results in terms of average number of selected features.
Table 5. A comparison results in terms of average number of selected features.
BenchmarkGAPSOGWOSSAGOAHHODAmDA
Breastcancer4.454.005.555.055.004.005.005.00
BreastEW14.0015.9023.6018.0515.7519.8514.8013.60
Colon697.40943.501150.951164.40654.10973.80873.30923.20
HeartEW10.357.8011.3510.857.608.158.858.40
Leukemia2952.003443.353785.753929.251320.053585.653088.253332.30
Lymphography10.8512.4014.6012.209.2511.2511.3510.30
PenglungEW72.20138.70182.70192.2085.10160.20123.70127.50
Ranking (Wins)10004001
Ranking (Ties)01000100
Ranking (Losses)66773676
Ranks (F-test)2.71434.35717.57147.14292.14294.78573.85713.4286
Table 6. Feature Selection Ratio and Dimensionality Reduction Efficiency using mDA Algorithm.
Table 6. Feature Selection Ratio and Dimensionality Reduction Efficiency using mDA Algorithm.
DatasetTotal-FeaturesSelected Features (mDA)Feature-Selection Ratio (%)Dimensionality Reduction Efficiency (%)
Breastcancer95.0055.5644.44
BreastEW3013.6045.3354.67
Colon2000923.2046.1653.84
HeartEW138.4064.6235.38
Leukemia71293332.3046.7653.24
Lymphography1810.3057.2242.78
PenglungEW325127.5039.2360.77
Table 7. Comparison of the average best fitness values between the proposed mDA and other methods.
Table 7. Comparison of the average best fitness values between the proposed mDA and other methods.
BenchmarkGAPSOGWOSSAGOAHHODAmDA
Breastcancer0.0274 ± 0.00090.0239 ± 0.00290.0249 ± 0.0050.0233 ± 0.01150.0250 ± 0.00850.0257 ± 0.00630.0250 ± 0.00010.0233 ± 0.0017
BreastEW0.0208 ± 0.00160.0271 ± 0.00350.0316 ± 0.00860.0286 ± 0.00740.0261 ± 0.00180.0260 ± 0.00270.0257 ± 0.00540.0169 ± 0.002
Colon0.0459 ± 0.00860.1229 ± 0.00940.1341 ± 0.01590.1068 ± 0.00150.0699 ± 0.00060.0726 ± 0.00720.0872 ± 0.00660.0763 ± 0.0122
HeartEW0.1077 ± 0.00040.0963 ± 0.00010.1142 ± 0.00150.1046 ± 0.00670.0920 ± 0.00380.0979 ± 0.01360.1038 ± 0.01310.1023 ± 0.0001
Leukemia0.0154 ± 0.00190.0187 ± 0.00720.0939 ± 0.0040.0559 ± 0.00760.0392 ± 0.00960.0441 ± 0.00010.0278 ±0.0020.0064 ± 0.0027
Lymphography0.0652 ± 0.00260.0765 ± 0.00530.0878 ± 0.01450.0601 ± 0.00030.0781 ± 0.00210.0709 ± 0.00190.0650 ± 0.00820.0686 ± 0.0052
PenglungEW0.0526 ± 0.00830.0469 ± 0.0130.1038 ± 0.00010.0409 ± 0.00450.0376 ± 0.00610.0459 ± 0.00880.0388 ± 0.00540.0381 ± 0.0003
Ranking (Wins)10012003
Ranking (Ties)00000000
Ranking (Losses)67765774
Ranks (F-test)4.28574.71437.42864.64293.78574.71433.92862.5000
Table 8. Friedman test for differences among algorithms across all datasets and runs.
Table 8. Friedman test for differences among algorithms across all datasets and runs.
TestValuedf
χ 2 statistic201.4657
p-value5.618 × 10 40
Table 9. Average ranks of the algorithms across all datasets and runs (lower is better).
Table 9. Average ranks of the algorithms across all datasets and runs (lower is better).
AlgorithmAverage Rank
mDA2.304
BDA3.732
BPSO4.196
bGWO4.511
BGA4.896
BSSA5.321
BGOA5.421
HHO5.618
Table 10. Nemenyi post-hoc test results comparing the proposed mDA to other algorithms (significance at α = 0.05 ).
Table 10. Nemenyi post-hoc test results comparing the proposed mDA to other algorithms (significance at α = 0.05 ).
Algorithmp-ValueSignificant ( α = 0.05 )
BGA1.110223 × 10 16 Yes
BPSO2.827673 × 10 9 Yes
bGWO1.327716 × 10 12 Yes
BSSA0Yes
BGOA0Yes
HHO0Yes
BDA2.917804 × 10 5 Yes
Table 11. Classification accuracy results comparing the proposed mDA algorithm with other algorithms using filter feature selection.
Table 11. Classification accuracy results comparing the proposed mDA algorithm with other algorithms using filter feature selection.
FFS-J48FFS-RFFFS-k-NNFFS-AdaBoostFFS-BaggingmDA
Breast-cancer0.74280.69740.72840.71620.68410.9678
BreastEW0.62960.63010.73050.62690.64650.9382
Colon0.98380.95160.91930.96770.88700.7174
Heart0.78140.79620.76140.81590.81550.8227
Leukaemia0.81980.72970.65270.86110.65270.8211
Lymphography0.74320.64860.73640.74980.72290.7627
PenglungEW0.45050.56160.58900.49310.41090.6035
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Aljarah, I.; Alzaqebah, A.; Al-Madi, N.; Al-Zoubi, A.M.; Saleh, A. mDA: Evolutionary Machine Learning Algorithm for Feature Selection in Medical Domain. Computation 2025, 13, 292. https://doi.org/10.3390/computation13120292

AMA Style

Aljarah I, Alzaqebah A, Al-Madi N, Al-Zoubi AM, Saleh A. mDA: Evolutionary Machine Learning Algorithm for Feature Selection in Medical Domain. Computation. 2025; 13(12):292. https://doi.org/10.3390/computation13120292

Chicago/Turabian Style

Aljarah, Ibrahim, Abdullah Alzaqebah, Nailah Al-Madi, Ala’ M. Al-Zoubi, and Amro Saleh. 2025. "mDA: Evolutionary Machine Learning Algorithm for Feature Selection in Medical Domain" Computation 13, no. 12: 292. https://doi.org/10.3390/computation13120292

APA Style

Aljarah, I., Alzaqebah, A., Al-Madi, N., Al-Zoubi, A. M., & Saleh, A. (2025). mDA: Evolutionary Machine Learning Algorithm for Feature Selection in Medical Domain. Computation, 13(12), 292. https://doi.org/10.3390/computation13120292

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

Article Metrics

Back to TopTop