Optimization‑based convolutional neural model for the classification of white blood cells

White blood cells (WBCs) are one of the most significant parts of the human immune system, and they play a crucial role in diagnosing the characteristics of pathologists and blood-related diseases. The characteristics of WBCs are well-defined based on the morphological behavior of their nuclei, and the number and types of WBCs can often determine the presence of diseases or illnesses. Generally, there are different types of WBCs, and the accurate classification of WBCs helps in proper diagnosis and treatment. Although various classification models were developed in the past, they face issues like less classification accuracy, high error rate, and large execution. Hence, a novel classification strategy named the African Buffalo-based Convolutional Neural Model (ABCNM) is proposed to classify the types of WBCs accurately. The proposed strategy commences with collecting WBC sample databases, which are preprocessed and trained into the system for classification. The preprocessing phase removes the noises and training flaws, which helps improve the dataset’s quality and consistency. Further, feature extraction is performed to segment the WBCs, and African Buffalo fitness is updated in the classification layer for the correct classification of WBCs. The proposed framework is modeled in Python, and the experimental analysis depicts that it achieved 99.12% accuracy, 98.16% precision, 99% sensitivity, 99.04% specificity, and 99.02% f-measure. Furthermore, a comparative assessment with the existing techniques validated that the proposed strategy obtained better performances than the conventional models.

protect the body against viruses and bacteria [6,7].The types of WBC are detailed in Fig. 1.
Generally, WBC begins in the bone marrow, and every blood cell descends after the Hematopoietic Stem Cell (HSC) [8].Initially, HSC cells are isolated into a myeloid or lymphoid cell, which provides rise to the lymphoid cell line; the family of cells creates T and B cells [9].As well, the infection affects elevated WBC in terms of WBC count, which is increased by overproduction.Some reasons to increase WBC counts are pregnancy, infections, cancers, asthma, inflammation, allergy, exercise, and Trauma [10,11].WBC plays an important role in the immune system.It contains different types for performing the various functions [12].Also, WBC protects against parasites, viruses, and bacteria [13].Likewise, a high WBC count causes infection and illness, and a low WBC count causes vulnerable serious infections such as chemotherapy [14,15].
Hence, the accurate detection and classification of WBCs is significant for effective disease diagnosis and treatment planning.The traditional way of WBC classification relies on manual analysis by trained clinical experts, which is typically time-consuming and prone to errors.These issues in traditional approaches demand an automatic WBC classification strategy.Consequently, the researchers focused on developing a classification mechanism using advanced data analysis tools, including artificial intelligence approaches such as machine learning and deep learning [16].The AI-based classification models have shown more potential in automating the detection and classification of WBCs compared to traditional approaches regarding accuracy and precision.These models learn by analyzing the complex patterns and relations within the input blood sample images, enabling them to identify the difference between various types of WBCs more effectively [17].However, AI-based models face significant issues like overfitting, lack of generalizability, data complexity, and high computational time.To address these issues, several types of research are developed by using deep learning techniques such as Capsule network-based deep learning [20], CNN using image processing [21], computer-aided automated system [22], Canonical Correlation Analysis (CCA) [23], and WBC-Net based ResNet and Unet + + [24] but still having the problem of less successive rate, less prediction accuracy and high error rate [18].Furthermore, current studies develop techniques like advanced convolutional neural networks [36], Deep neural networks [37], efficient lightweight CNN [38], etc., for detecting and classifying different kinds of WBCs.These models offer improved precision and accuracy than the conventional models.However, they cannot handle the dynamic variations in the input samples, leading to suboptimal performances and reduced efficiency in real-world scenarios.To resolve these issues, a hybrid classification strategy is proposed in the presented work using an optimized deep learning model [19].
The classification of WBC includes three main processes: data preprocessing, feature extraction, and classification [20].Initially, microscopic input images are trained to the system, and the input images contain small particles such as noise and errors in the staining process [21].Those errors are removed in the preprocessing layer using suitable filters.Furthermore, features are extracted based on morphological operation, a relationship of colors, and granularity features [22].Also, extracted features are updated for CNN to classify WBC [23].However, there are some issues during classification, such as less detection accuracy, high execution time, and errors [24].The main motive of this current work is there is no proper system to detect and classify WBC because the classification of WBC is essential for identifying health conditions [25].CNN is also used to classify WBC and attain accurate results, but it contains some issues like noisy errors, less accuracy, and high False Positive Rate (FPR) [26].Moreover, many developed techniques only involve the process of feature extraction and classification [27].So, accurate identification and detection of WBC is more risky.These reasons motivated this present research towards designing the optimized deep learning model.This article is structured as follows: Sect."Related works" details the related work based on WBC classification.Sect."Proposed methodology" describes the process of the proposed methodology.Sect."Results and discussion″mentions the achieved outcomes.Finally, Sect."Discussion" concludes with a conclusion and future work about the developed model.

Related works
Yusuf Yarg and Umit Atila [28] have developed a Capsule network-based deep learning framework for improving the accuracy rate of the data testing process.Thus, the developed capsule network attains better results, such as high accuracy during training data, and the gained accuracy rate is 96.86%.However, it takes more time to classify the WBC because of the data complexity.
Nowadays, image processing is used in biomedical systems to analyze various diseases.Burhanet et al. [29] have proposed a convolutional neural system using image processing methods to improve classification accuracy performance in WBC.Moreover, maximal information coefficient and ridge feature selection are used to extract the relevant features.Finally, the proposed technique obtains a 97.95% successive rate to classify WBC but has the problem of overfitting.Huseyin et al. [30] developed a computer-aided automated system technique to locate and identify WBC types.It involves five processes: preprocessing, feature extraction, segmentation, feature selection, and classification.Moreover, the developed Convolutional Neural Network (CNN) has extracted the features based on the object by object recognition.It shows better performance in accuracy, yet it has taken a high execution time to classify the WBC.
WBC is used to detect human health conditions related to blood disease.It consists of characterization and identification of sample blood from the patient.Patil et al. [31] developed Connected Component Analysis (CCA) to overcome the problem of multiple cell overlap.Moreover, extracting multiple nuclei patches from the dataset using CCA has reduced classification time, but the false prediction rate is high compared to other techniques.
Yan Lu et al. [32] developed deep learning WBC-Net-based ResNet and Unet + + techniques.Initially, the designed WBC-Net extracts the multi-scale features based on residual blocks of encoder context-aware feature.Furthermore, the WBC will be segmented based on extracted features, and decoder deconvolution and convolution incorporation will be used to refine the segmentation of the WBC mask.However, the developed technique does not perform a classification process, and the classification of WBC is essential to identifying the types of WBC.Some recent work related to the proposed technique is detailed in the Table 1.
WBCs are a significant part of the immune system, which protects our human body against infectious diseases and foreign invaders.Ahmed et al. [33] developed a hybrid technique for improving the classification of Leukemia.First, the features from the WBC images will be extracted using the salp swarm algorithm.Thus, the developed algorithm identifies and selects the relevant features and also removes the noisy and End to End CNN system Better classification accuracy High computational complexity highly correlated features.The developed technique attains high accuracy and reduces computational complexity but has missed classification problems.Quan et al. [34] proposed a CNN-based classification network for improving the classification performance of Red Blood Cells (RBC).Consequently, an attentive, dense circular net is designed in CNN to enhance performance.Additionally, classification is processed using feature sets, and the experimental results are compared with other DL techniques.Finally, the network attains 94.61% accuracy, but the error rate is high.Nowadays, transfer learning techniques are utilized to complete the identification of WBCs in blood smear images.Shahin et al. [35] developed an end-to-end CNN system for the identification of various types of WBCs.Moreover, the developed design improves the classification of WBCs by attaining better classification accuracy.However, computational complexity is high due to the vast amount of data.

Motivation
WBCs play a significant role in the human immune system by diagnosing pathological conditions such as infections, immune system disorders, etc. Accurate identification and classification of WBCs is important for effective diagnosis of health conditions and proper treatment planning.The conventional way of WBCs classification involves a manual examination of blood samples by trained healthcare professionals.However, this traditional methodology is time-consuming, prone to human error, and demands significant expertise.These drawbacks of the traditional method create a demand for automatic classification mechanisms.The evolution of Artificial Intelligence (AI) techniques in the medical field has paved the way for automatically classifying WBCs.The AI techniques, including deep learning and machine learning approaches, have offered greater WBC classification accuracy than traditional methods.
The AI models are trained using the blood sample images using supervised or unsupervised learning mechanisms.These learning processes enable the AI models to learn the pattern difference between the different types of WBCs, allowing them to classify more accurately.Although various AI-based models have been developed, including deep neural networks, artificial neural networks, support vector machines, etc., they face certain challenges.Firstly, training the AI-based models is complex and time-consuming due to the vast data required for effective training.Secondly, the existing models cannot handle dynamic changes in the blood sample images, leading to inaccurate classifications.Moreover, the overlapping of cells, noise features, etc., in the images makes the existing techniques ineffective, leading to suboptimal classification performance.In addition, scalability and interpretability are the other challenging issues in the existing techniques.These challenges make the existing models ineffective for real-time WBC classification.
Hence, to address these issues, an innovative solution is proposed in this study by leveraging the benefits of the African Buffalo Optimization algorithm and Convolutional Neural Network.The novelty of the approach lies in the seamless integration of deep learning and meta-heuristic optimization algorithms for WBC classification.The adaptive nature of the ABO approach enables the system to understand the dynamic variations in cell appearance, providing optimal classification results.In addition, the integration of ABO into CNN minimizes the computational efforts, thereby lowering the training time and resource demands.Moreover, iterative updation of ABO fitness in the classification layer enhances the scalability and reliability of the approach in WBC classification.The model upgrades its fitness and parameters at each iteration, enabling the system to handle more images and ensuring scalability and reliability in real-world scenarios.The major contributions of the proposed work are described below.
1.This study proposes a unique solution for accurately classifying different types of WBCs by combining the efficiency of African Buffalo Optimization and Convolutional Neural Network.2. The convolutional layer of CNN performs image preprocessing and feature extraction, which improves the accuracy of the classification process by reducing noise and retaining the most significant features.3. The fitness of the ABO is integrated into the pooling layer of the CNN approach, which enables the system to segment WBCs by detecting variations in pixel values, leading to better classification performance.4. Finally, the fully connected layer of the CNN performs WBC classification by understanding the patterns and interconnections within the segmented images.5.The proposed strategy is implemented in the Python tool, and the results are determined and validated with the existing techniques in terms of accuracy, precision, sensitivity, specificity and f-measure.

Proposed methodology
Generally, White Blood Cells (WBC) provide more relevant information about the health status of human beings.Furthermore, the ratio of cells and deformation shows the diagnosis process of some diseases.Therefore, correct identification and classification of WBC type are essential.The WBC sample image dataset is collected from the net source and trained in the system in this work.Hereafter, a novel African Buffalo-based Convolutional Neural Model (ABCNM) is designed with suitable parameters.Immediately, the training errors are preprocessed in the preprocessing frame, and feature extraction is executed for the segment of the WBC cells.Followed by, extracted features are sent to the classification layers to classify the WBC cells.The proposed architecture is shown in Fig. 2.
Here, the best solution for the African buffalo is upgraded in the classification layer to identify the type of WBC cells.Consequently, the segmentation process is performed, and the WBC type is predicted successfully.Thus, the developed framework enhances the classification accuracy of WBC and also performs better in sensitivity and specificity.

Dataset description
The presented study used the publicly available blood sample images dataset from Kaggle, accessible at https:// www.kaggle.com/ datas ets/ pault imoth ymoon ey/ blood-cells.This dataset contains blood sample images from four types of leukocytes: Neutrophil (NE), Eosinophil (EO), Lymphocyte (LM), and Monocyte (MN).It contains a total of 12,444 images, with each leukocyte type indicated as follows: 3144 images of Eosinophils, 3139 images of Lymphocytes, 3132 images of Monocytes, and 3171 images of Neutrophils.This database was split into ratios of 80:20 for the training and testing process.80% of the images were used for model training, while 20% of the data was used for model testing.The size of the image present in the dataset is 256 × 192 pixels.Table 2 presents the details of the dataset.

Process of ABCNM
Generally, ABCNM is developed to classify the WBC in blood samples.Moreover, the fitness function of AB is updated to the developed CNN, and it contains five layers: input layer, convolutional layer, pooling layer, fully connected layer, and output layer.Furthermore, African Buffalo Optimization (ABO) is based on searching the location of each buffalo depending upon the two sounds, such as the 'maa' and 'waa' sound.Additionally, the maa sound denotes the buffalo's to a safe place, and the waa sound denotes the search place for food.Based on the sound location, buffalos can search for food.The purpose of using AB fitness in the classification layer is to search the types of WBC present in the blood sample using their fitness function and also classify the types of WBC.Thus, the fitness function is denoted as f (t 1 ) and f (t 2 ) where, f (t 1 ) it is used to segment the WBC cells based  on extracted features and f (t 2 ) is used to classify WBC type.The blood sample image is initially tested and trained to the system, and the collected dataset is imported to the developed ABCNM.First, WBC sample images are trained to the system; trained datasets are updated to the input layer of developed ABCNM, as given in Eq. (1).
where D(i) is denoted as the total quantity of updated datasets k(n − 1), k(n − 2), , which are considered different types of WBC sample datasets.Figure 3 illustrates the ABCNM technique process.

• Preprocessing
Image preprocessing indicates converting the raw input data into an appropriate format for subsequent processing.In the proposed framework, the data preprocessing was performed in the convolutional layer of the CNN model.The input layer of the CNN forwards the input raw database into the convolutional layer for preprocessing.The preprocessing phase involves the removal of errors and noise from the raw blood sample images.The convolutional layer serves as a filter bank that applies various filters to the input image, which helps reduce the noises and other unwanted features from the input image.The errors, training flaws, and noise are filtered through convolutional operations.This is achieved by convolving the input image with specific kernels.In addition, the original input images were converted into grayscale images for effective and accurate classification of WBC.Moreover, a probability density function of preprocessing is obtained using Equation (2). (1)

• Feature extraction
Feature extraction is an essential step in White blood cell classification.The objective of the step is to extract and capture the most relevant and significant attributes from the preprocessed blood sample images.In this phase, the meaningful features and patterns inherent in the data are identified and captured, which plays a crucial role in classifying different types of WBCs.This step reduces the dimensionality of the data and enhances the discriminative power of the classification model.In this process, the distinct features of WBC morphology, including color, shape, texture, size, length, and other spatial characteristics, are extracted through a series of convolution operations in the convolution layer.Additionally, feature extraction is obtained by Eq. ( 3).
where, K (w) is denoted as feature extraction of collected WBC blood samples and F a is represented as redundant information of the WBC blood sample.Moreover, H a it is rep- resented as relevant information about WBC blood samples like size, shape, color, etc.

• Segmentation
In the pooling layer, the fitness function of ABO is updated for detecting WBC.Moreover, this layer segments and classifies WBC types using the fitness function of AB.In this technique, segmentation is done using mask images, and masking is used to identify the WBC types using color, size, shape, and length features.It helps classify variation among pixels in the segmented region.It can perform parallel prediction on the WBC blood samples.Moreover, the large image can be modified with the help of a binary image because binary images contain zero and non-zero values.Where the gained value is 1 in a binary mask, it is a real value, but if the value is 0 in a binary mask, it means null.Thus, the process of segmentation is obtained by Eq. ( 4).where, N s (h) is called the segmentation of WBC blood samples and b(t) is denoted as a mask image.Moreover, f (t 1 ) is denoted as fitness function segmentation based on extracted features.Moreover, WBC types are classified using the proposed ABCNM as detailed in Algorithm.1. (3)

• Classification
Then, the segmented datasets are sent to the fully connected layer, which searches for the correct position of WBC types based on the labels such as 0 and 1 and classifies the WBC types such as Monocytes, Lymphocytes, Neutrophils, and Eosinophils.It can classify the WBC types based on all object binary images assigned in unique numeric values.Then, the binary image values are computed using maximum and minimum pixels for each label.Finally, various types of WBC present in the collected blood sample dataset are classified using Eq. ( 5).
where, f (t 2 ) denotes the fitness function to classify WBC types from the collected blood samples.At last, the output layer provided the segmented output using a multilayer network and it classify WBC types based on the variation of pixels which is detailed in Fig. 4.

Results and discussion
This study presented a unique solution for accurate classification of WBCs by combining the efficiency of ABO and CNN.The proposed strategy is modeled and executed in Python, version 3.7.8.Metrics like accuracy, precision, sensitivity, f-measure, specificity, and execution time determine the experimental results.Finally, a comparative assessment was made with the conventional models to validate the effectiveness of the proposed algorithm.Table 3 tabulates the implementation parameters and its description.

Case study
Classification of WBC is the most common and crucial issue in humans, and our bodies protect it against infections by eliminating bacteria, viruses, fungi, and parasites.The segmentation and classification of WBC is the most challenging task.Initially, blood sample datasets are trained for the system and updated to the proposed ABCNM to execute WBC-type preprocessing, feature extraction, segmentation, and classification. (5)

Fig. 4 Workflow of developed ABCNM
In this case study, several patient datasets with various WBC types are taken, and the input sample blood images of neutrophils, lymphocytes, monocytes, and eosinophils are mentioned in Fig. 5. Consequently, preprocessing executed in the convolution layer removes noise and errors in the dataset.Moreover, the original input images are converted into greyscale images for segmentation.After that, feature extraction is processed to extract the relevant information in the WBC based on size, color, shape, etc.

• Segmentation
Next, in the Pooling layer, WBC in the blood samples are segmented with the help of fitness function AB of the proposed technique.Initially, mask the WBC using a binary mask.Then, segmentation happens based on the pixel values.Thus, the developed technique enhances the accuracy and performance of the classification of WBC types.Figure 6 (a, b) presents the preprocessed and corresponding segmentation images.The preprocessed images indicate the input image after applying steps like grayscale conversion, noise removal, and standardization, while the segmented image defines the outcome of the segmentation process.It indicates where the white

• Classification
With the help of a segmented image, developed ABCNM track the position of the WBC in blood sample based on labels 0 and 1.In the fully connected layer, detect the accurate position of WBC also classify the types of WBC based on the segmented results.Moreover, the classified WBC type is detailed in Table 4.
Finally, the type of WBC present in the sample blood dataset is identified and the calculation is made using segmented images from the developed ABCNM.Moreover, the developed technique performs outcomes for classifying WBC types.

Model training and testing
This subsection assesses the proposed model's training and testing performance by increasing the epoch.Firstly, the input database is split into ratios of 80:20 for the training and testing phases, and the performances were assessed in terms of accuracy and loss.Table 5 tabulates the implementation parameters and their values.The accuracy metric measures the effectiveness of the developed model in identifying the pattern difference between the different types of WBCs.In contrast, the loss metric determines the misclassification made by the model in WBC classification.Figure 7 (a

Performance metrics
The implementation work of the developed ABCNM is done using the Python tool, and parameters like accuracy, sensitivity, specificity, execution time, F1-measure, and precision are calculated.Moreover, the developed approach is validated using existing methods like the Classification of WBC using Capsule Networks (CN) [28], the Classification of WBC using CNN-based Feature Selection Technique (FST) [29], WBC detection and classification-based Regional CNN (RCNN) [30], WBC image classification using Canonical Correlation Analysis (CCA) [31], and WBC classification based Optimized Swarm (OS) [33].

Accuracy
Accuracy is defined as the degree of calculation of the efficiency of the proposed model functioning.Also, it is the fraction of properly expected observance of all the observations that are expressed in Eq. ( 6), where, T p is denoted as accurate prediction and exact segmentation,T n is denoted as accurate prediction and incorrect segmentation, F p is considered as inaccurate (6) A = T p + T n T p + T n + F p + F n Fig. 8 Confusion matrix prediction and exact segmentation, and F n is denoted as inaccurate prediction and incor- rect segmentation of WBC.Moreover, accuracy comparison with the existing technique is detailed in Fig. 9. Generally, increasing the number of samples helps to reduce overfitting when training and testing also increase the generalization of our model.Increasing the amount of data automatically increases the accuracy of the testing and training.The benefits of increasing sample datasets are high speed, better prediction, classification results, and reduced cost.
The developed technique's achieved accuracy rate is compared with other existing methods such as CN, FST, RCNN, OS, and CCA.Moreover, the RCNN replica attained 96%, and the FST technique gained 94.88%.Also, the CN and OS techniques' gained accuracy rates are 96.86% and 96.11%, respectively.The developed ABCNM attained high accuracy while comparing other techniques to classify WBC as 99.12%.

Precision
This process has been evaluated to identify the correct positive estimates that are aligned with the overall positive estimates.Also, precision is the proportion of WBC classification, which is computed using Eq. ( 7), The precision of the proposed ABCNM model is calculated and validated using prevailing methods like CN, RCNN, FST, CCA, and OS approaches.Initially, the RCNN technique gained a 96% precision rate, and the CN replica achieved 92.50% precision using a 2000 sample dataset.Moreover, the FST and CCA methods gained a 94.75% and 92.5% precision rate.Finally, the developed ABCNM technique gained 98.16% in precision rate.Thus, the comparison of precision rate is detailed in Fig. 10.Here, the existing approaches have achieved a lower precision of only almost 97%.Additionally, the developed ABCNM approach has obtained a higher precision value of 98.16% than other methods.

F-measure
The calculation is based on precision and recall measurements to recognize the efficiency of tracing images, which is measured using Eq. ( 8), Let P denote the precision value, and R represents the recall value.The F1-score of the proposed ABCNM model is calculated and validated using existing methods like OS, FST, and CCA approaches.Initially, the FST technique gained 95% in F-measure, and the OS replica achieved 98.5% in precision for using a 2000 sample dataset.Moreover, the CCA method gained a 92% precision rate.Finally, the developed ABCNM technique gained an F-measure rate of 99.02%.Thus, the comparison of the F-measure rate is detailed in Fig. 11.Here, the existing approaches achieved a lower F1-score, and the proposed model has attained a higher F1-score value of 99.02% than other methods.

Sensitivity
Sensitivity calculates the precise number of predicted true positives.Also, the probability of segmenting the WBC is measured using Eq. ( 9), The sensitivity of the proposed ABCNM model is calculated and validated using existing methods like OS, CN, RCNN, FST, and CCA approaches.
The developed technique's achieved sensitivity rate is compared with existing methods such as CN, FST, RCNN, OS, and CCA.Moreover, the RCNN replica attained 98%, and The existing approaches have achieved a lower sensitivity of almost 98% for the 2000 data size.This ABCNM method has achieved a 99% higher sensitivity value than other methods, which proves the effectiveness of the developed model.The comparison of sensitivity is graphically represented in Fig. 12.

Specificity
Specificity is defined as the degree to which the number of true negatives recognized accurately is determined.Specificity is also employed to calculate the efficiency of detecting WBC using segmented images.The mathematical expression to calculate specificity is detailed in Eq. (10).The achieved specificity rate of the developed technique is compared with other existing methods such as CN, OS, and CCA.Moreover, the CN replica attained 98.01 for using 500 sample WBC datasets.+.Also, OS and CCA techniques gained specificity rates are 95% and 97%, respectively.The developed ABCNM attained high specificity while comparing other techniques to classify WBC as 99.04%.The comparison of specificity is illustrated in Fig. 13 .

Execution time
The execution time defines the time taken by the developed strategy to perform tasks such as data preprocessing, feature extraction, segmentation, classification, and optimization.It defines the computational efficiency of the model in classifying the different types of WBCs.The Fig. 14 presents the computational time comparison.
Here, the execution time of the developed algorithm was compared and validated with existing techniques such as CN, OS, FST, RCNN, and CCA.These models consumed 12 s, 13 s, 17 s, 9 s, and 11 s, respectively, to perform the above tasks, while the designed strategy incurred a minimum execution time of 4 s.The reduction of execution time in the proposed algorithm validates its computational efficiency.

Comparison with hybrid methods
In this module, the performance of the proposed strategy was compared with the hybrid classification models.The existing techniques included in the comparative evaluation include deep convolutional autoencoder (DCAE) [39], Grey Wolf Optimization with Discrete Charlier-Meixner hybrid polynomials (GWO-DCMP) [40], Hybrid Mayfly Algorithm with Particle Swarm Optimization (HMA-PSO) [41], and Support Vector Machine-Convolutional Neural Network (SVM-CNN) [42].The parameters used for comparative assessment include accuracy, precision, sensitivity, f-measure, and specificity.
The accuracy represents the overall effectiveness and correctness of the proposed strategy in classifying WBCs.The existing models, including DCAE, GWO-DCMP, HMA-PSO, and SVM-CNN, obtained an accuracy of 94.62%, 96.17%, 92.65%, and 94.36%, respectively, while the proposed strategy obtained an accuracy of 99.12%.The significant enhancement of accuracy indicates the proposed strategy classifies the WBCs more accurately than the conventional models.This illustrates that the integration of ABO into the CNN approach improves the classification of WBCs, providing a promising solution for real-time WBC classification.On the other hand, precision measures the model's effectiveness in accurately identifying the true positives from all positive instances.The above-stated conventional models achieved a precision of 94.18%, 95.68%, 91.37%, and 94.48%, respectively, while the proposed strategy obtained a higher precision of 98.16%.The improved precision of the developed algorithm highlights its effectiveness in classifying the specific class of WBCs.Consequently, the sensitivity quantifies the model's ability to identify all relevant instances in WBC classification.The existing techniques, such as DCAE, GWO-DCMP, HMA-PSO, and SVM-CNN, earned sensitivity of 94.34%, 95.68%, 91.37%, and 94.48%, respectively, while the developed algorithm achieved 99% sensitivity.The higher sensitivity rate of the proposed methodology highlights the model's effectiveness in precisely detecting all relevant instances.Finally, the f-measure performance was compared and validated with the existing hybrid models.The f-measure metric provides a balanced evaluation of system performances considering positive and negative cases.The above-stated conventional models obtained f-measures of 94.37%, 95.06%, 92.33%, and 94.05%, respectively.However, the proposed strategy earned a higher f-measure of 99.02%, indicating that it accurately classifies both positive and negative instances.Table 6 presents the comparative evaluation of the proposed model's performance with the existing techniques.

Table 6 Comparison with hybrid models
To highlight the results of proposed model the Bold format is used that attracts the researchers for comparison with exisiting models The comprehensive comparative evaluation clearly shows that the proposed strategy achieved improved results compared to the existing hybrid models.These improved outcomes depict its effectiveness and robustness in identifying and classifying the different types of WBCs.This also highlights that integrating African Buffalo Optimization into the Convolutional Neural Network seamlessly enhances the classification of WBCs.

Discussion
The proposed ABCNM model attained the best results in accuracy, sensitivity, specificity, F-measure, precision, and execution time.Thus, the developed scheme removed the training flaws in the initial stage.At next, extract features based on colours, morphological operation, and granularity features.The graphical representation of ROC curve is shown in Fig. 16.
Moreover, segmentation is executed in the pooling layer and WBC is classified in the fully connected layer.Thus, the developed ABCNM technique enhances the performance of WBC classification.
The outstanding metrics comparisons are tabulated in Table 7, in all parameter validation, the proposed ABCNM has gained the finest results.Moreover, they gained less execution time as 40 ms, high sensitivity as 99% and high classification accuracy as 99.12%.Hence, the robustness of the proposed ABCNM is verified and it can classify WBC.

Fig. 1
Fig. 1 Types and function of WBC

Fig. 6 a
Fig. 6 a Preprocessed image, b Segmented image , b) presents the training and testing performance of the developed model.The training accuracy demonstrates how quickly the proposed model understands the patterns and relations influencing the types of WBCs, and the improvement of the model's training accuracy over increasing epochs highlights that the designed strategy effectively learns different WBC patterns.On the other hand, testing accuracy indicates the model's generalization efficiency over the unseen data samples (data not used for model training).The enhancement of the model's testing accuracy over epochs highlights that the presented model identifies and classifies the different types of WBCs precisely on unseen data.Consequently, the training loss quantifies the deviation between the actual and the predicted outcomes within the training sequence.It measures how effectively the proposed model fits into the training data.The testing loss defines the difference between the predicted and actual outcomes on real-world data (unseen data).It measures how effectively the developed algorithm applies the learned information on unknown data and predicts

Fig. 7
Fig. 7 Training and testing performance: a accuracy, b loss

Table 3
Implementation parameters and its description

Table 4
Classification of WBC type

Table 5
ABCNM model parameters and its values

Table 7
Overall performance metricsTo highlight the results of proposed model the Bold format is used that attracts the researchers for comparison with exisiting models