Submitted:
04 August 2026
Posted:
05 August 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. The Datasets
- BLD-CC: Balanced CC dataset for training: 1,017 samples per class; 180 samples per class reserved for testing.
- BLD-MLO: Balanced MLO dataset for training: 1,091 samples per class; 192 samples per class reserved for testing.
- BLD-MIX: Combination of the two previous datasets for training: 2,108 samples per class; 372 samples per class reserved for testing.
- AUG-CC: Imbalanced CC dataset (to be balanced using data oversampling): 2,320 healthy and 1,017 sick cases for training; 180 samples per class reserved for testing.
- AUG-MLO: Imbalanced MLO dataset: 2,308 healthy and 1,091 sick cases for training; 192 samples per class reserved for testing.
- AUG-MIX: Combination of the two previous augmented datasets for training: 4,628 healthy and 2,108 sick cases; 372 samples per class reserved for testing.
2.2. Pipeline Scheme
2.3. Preprocessing Stage
- Conversion to floating-point numerical format through an affine transformation that ensures maximum contrast (minimum value equal to 0.0 or black, maximum value equal to 1.0 or white).
- When necessary, horizontal mirroring along the X-axis of the image to ensure that the significant information is always located on the left side.
- Nonlinear contrast enhancement using a pointwise nonlinear power-law filter: y = xn, with n = 1.2 if the total sum of pixel values is less than 50% of the maximum possible value, and n = 2 otherwise.
- Resizing to a fixed size of 384 × 512 pixels. Most available files have an aspect ratio of 3:4 = 0.75 (ar = width/height). In some cases, this value is smaller, and the image is resized without distortion to a height of 512 pixels. Then, blank columns are added to the right side. If ar were greater than 0.75, the opposite procedure would be applied: resizing to a width of 384 pixels and adding blank rows at the top.
2.4. Convolutional Neural Networks
2.5. Second Classification Stage
- A simple multilayer perceptron (MLP) with one hidden layer and a single output neuron (probability of disease). This neural network was optimized in two ways. First, the hidden layer size was determined by performing a preliminary training with an excessive number of neurons and analyzing the autocorrelation matrix of the hidden-layer outputs and its eigenvalues. Then, once trained, the best output threshold for declaring a positive case was selected by maximizing the parameter: , where precision is understood as the probability that a positive prediction is correct, and recall as the probability that a true positive case is detected. The parameter β determines how strongly recall is prioritized. In this work, β = 1.5 was used.
- A Support Vector Machine (SVM) model [19], which consists of defining a transformation of the feature vectors that simplifies the classification problem by making it linearly separable. In this case, an automatic parameter optimization option was applied.
- A Bagged Tree model (Bootstrap Aggregated Trees, BT) [20] with ten trees. In this case, several decision trees are trained using random (and overlapping) subsets of the training set. The final decision is obtained by running all constructed trees in parallel and averaging their results. For proper training, the cost of a false negative was set to twice the cost of a false positive.
- A Gradient Boosting model (XGBoost) [21]. This technique is based on the sequential construction of weak models (decision trees), where each new model is trained to correct the errors made by the previous ones (implemented by optimizing a loss function using gradient descent). Automatic parameter optimization was applied, and the cost of a false negative was also set to twice the cost of a false positive.
- The final method tested was a heuristic calculation (HRS). In this case, six disease probability estimates are available. These are converted into health probabilities: x'=1-x. They are then averaged using a harmonic mean instead of an arithmetic mean: (the inverse of the averaged inverses). The use of this formula causes the average to decrease much more sharply if one of the probabilities decreases, compared to a linear average. This average is considered the global probability of health, and therefore: is used as the global discriminant function. As in the MLP case, the optimal threshold is again calculated by maximizing Fβ with β = 1.5.
2.6. Application of Feature Engineering Techniques
3. Results
3.1. Performance Metrics
3.2. CNN Results (First Stage)
3.3. Second Stage Results
3.4. K-Fold Experiment
3.5. Dataset Ablation Experiment
3.6. Demonstration Application
4. Discussion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AUC | Area Under the Curve |
| AUG | Augmented dataset |
| BLD | Balanced dataset |
| BT | Bagged tree classifier |
| CAD | Computer aided diagnosis |
| CC | Cranial caudal view |
| CNN | Convolutional neural network |
| DICOM | Digital imaging and communications in medicine |
| F1-score | Harmonic mean of precision and recall |
| FoM | Figure of Merit |
| GAN | Generative Adversarial Networks |
| HRS | Heuristic aggregation method |
| LM | Latero-medial view |
| ML | Medio-lateral view |
| MLO | Medio-lateral oblique view |
| MLP | Multi-layer perceptron |
| ReLU | Rectified linear unit |
| ROC | Receiver Operating Characteristic |
| ROI | Region of Interest |
| SGDM | Stochastic gradient descent with momentum |
| SMOTE | Synthetic minority oversampling technique |
| SVM | Support vector machine |
| WHO | World health organization |
| XGBOOST | eXtreme gradient boosting |
References
- “Breast Cancer”; World health Organization (WHO), 23 03 2021; Available online: https://www.who.int/news-room/fact-sheets/detail/breast-cancer (accessed on 04-05-2026).
- Lecun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proc. IEEE 1998, vol. 86(no. 11), 2278–2324. [Google Scholar] [CrossRef]
- Rumelhart, D.; Hinton, G.; Williams, R. Learning representations by back-propagating errors; Nature, 1986; Volume no 323, pp. 533–536. [Google Scholar] [CrossRef]
- Nasser, M.; Yusof, U.K. “Deep Learning Based Methods for Breast Cancer Diagnosis: A Systematic Review and Future Direction,”. Diagn. 2023, vol. 13(no. 1), 161. [Google Scholar] [CrossRef] [PubMed]
- Shams, S.; Platania, R.; Zhang, J.; Kim, J.; Lee, K.; Park, S.J. Deep Generative Breast Cancer Screening and Diagnosis. In Medical Image Computing and Computer Assisted Intervention (MICCAI 2018). Lecture Notes in Computer Science; Frangi, A., Schnabel, J., Davatzikos, C., Alberola-López, C., Fichtinger, G., Eds.; Springer: Cham, 2018; vol 11071. [Google Scholar] [CrossRef]
- Singh, Vivek Kumar; Rashwan, Hatem A.; Romani, Santiago; Akram, Farhan; Pandey, Nidhi; Sarker, Md. Mostafa Kamal; Saleh, Adel; Arenas, Meritxell; Arquez, Miguel; Puig, Domenec; Torrents-Barrena, Jordina. Breast tumor segmentation and shape classification in mammograms using generative adversarial and convolutional neural network. Expert Syst. With Appl. 2020, Volume 139, 112855. [Google Scholar] [CrossRef]
- Guan, Shuyue; Loew, Murray. Breast cancer detection using synthetic mammograms from generative adversarial networks in convolutional neural networks. Proc. SPIE 10718, 14th International Workshop on Breast Imaging (IWBI 2018), 6 July 2018; p. 107180X. [Google Scholar] [CrossRef]
- Zheng, J.; Lin, D.; Gao, Z.; Wang, S.; He, M.; Fan, J. Deep Learning Assisted Efficient AdaBoost Algorithm for Breast Cancer Detection and Early Diagnosis. IEEE Access 2020, vol. 8, 96946–96954. [Google Scholar] [CrossRef]
- Dehghan Rouzi, M.; et al. Breast Cancer Detection with an Ensemble of Deep Learning Networks Using a Consensus-Adaptive Weighting Method. J. Imaging 2023, 9(11), 247. [Google Scholar] [CrossRef] [PubMed]
- Shah, et al. Optimizing Breast Cancer Detection With an Ensemble Deep Learning Approach. Int. J. Intell. Syst. 2024. [Google Scholar] [CrossRef]
- Masud, et al. "From Machine Learning to Ensemble Approaches: A Systematic Review of Mammogram Classification Methods.". Diagnostics 2025, 15, 2829. Available online: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12651907/. [CrossRef] [PubMed]
- Ali, M.D.; Saleem, A.; Elahi, H.; Khan, M.A.; Khan, M.I.; Yaqoob, M.M.; Farooq Khattak, U.; Al-Rasheed, A. Breast Cancer Classification through Meta-Learning Ensemble Technique Using Convolution Neural Networks. Diagnostics 2023, 13, 2242. [Google Scholar] [CrossRef] [PubMed]
- Abdikenov, B.; Zhaksylyk, T.; Imasheva, A.; Orazayev, Y.; Karibekov, T. Innovative Multi-View Strategies for AI-Assisted Breast Cancer Detection in Mammography. J. Imaging 2025, 11, 247. [Google Scholar] [CrossRef] [PubMed]
- Jeba Prasanna Idas, S.; Hemalatha, K.; Naveenkumar, J.; et al. Recent trends on mammogram breast density analysis using deep learning models: neoteric review. Artif. Intell. Rev. 2025, 58, 240. [Google Scholar] [CrossRef]
- Carr, C.; Kitamura, F.; Partridge, G. RSNA Screening Mammography Breast Cancer Detection. Available online: https://www.kaggle.com/competitions/rsnabreast-cancer-detection/overview (accessed on 04-05-2026).
- National Electrical Manufacturers Association. “Digital Imaging and Communications in Medicine (DICOM) Standard”. Rosslyn, VA, USA; Available online: https://dicomstandard.org (accessed on 04-05-2026).
- Available online: https://www.kaggle.com/competitions/rsna-breast-cancerdetection/discussion/377790 (accessed on 04-05-2026).
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 2016; pp. 770–778. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, vol. 20(no. 3), 273–297. [Google Scholar] [CrossRef]
- Breiman, L. Bagging predictors. Mach. Learn. 1998, vol. 24(no. 2), 123–140. [Google Scholar] [CrossRef]
- Friedman, J. H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, vol. 29(no. 5), 1189–1232. Available online: https://www.jstor.org/stable/2699986 (accessed on 04-05-2026). [CrossRef]
- Tadist, K.; Najah, S.; Nikolov, N.S.; et al. Feature selection methods and genomic big data: a systematic review. J. Big Data 2019, 6, 79. [Google Scholar] [CrossRef]
- Rahman; Zaman, S.; Parvej, S.; Abdul Fattah, H. M. Heart Disease Prediction Using Ensemble Solutions and Exploring the Effect of Target Engineering with Pearson Correlation Based Feature Selection. 6th International Conference on Electrical Engineering and Information & Communication Technology (ICEEICT), Dhaka, Bangladesh, 2024; pp. 1407–1412. [Google Scholar] [CrossRef]
- Selvaraju, R. R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 2017; pp. 618–626. [Google Scholar] [CrossRef]









| CC | MLO | ML | LM | |
|---|---|---|---|---|
| Healthy | 26199 | 27313 | 8 | 10 |
| Sick | 566 | 590 | 0 | 0 |
| BLD_CC | BLD-MLO | BLD-MIX | AUG-CC | AUG_MLO | AUG-MIX | ||
|---|---|---|---|---|---|---|---|
| Train | Healthy | 1017 | 1090 | 2107 | 2320 | 2307 | 4627 |
| Sick | 1015 | 1090 | 2105 | 1015 | 1090 | 2105 | |
| Test | Healthy | 180 | 193 | 373 | 180 | 193 | 373 |
| Sick | 182 | 193 | 375 | 182 | 193 | 375 |
| Training dataset | Precision | Recall | F1 |
|---|---|---|---|
| BLD-CC | 0.70 | 0.64 | 0.67 |
| BLD-MLO | 0.98 | 0.54 | 0.70 |
| BLD-MIX | 0.87 | 0.59 | 0.71 |
| AUG-CC | 0.77 | 0.64 | 0.70 |
| AUG-MLO | 0.74 | 0.67 | 0.71 |
| AUG-MIX | 0.95 | 0.53 | 0.68 |
| Training dataset | Precision | Recall | F1 |
|---|---|---|---|
| BLD-CC | 0.81 | 0.68 | 0.74 |
| BLD-MLO | 0.83 | 0.67 | 0.74 |
| BLD-MIX | 0.82 | 0.68 | 0.74 |
| AUG-CC | 0.85 | 0.67 | 0.75 |
| AUG-MLO | 0.83 | 0.64 | 0.73 |
| AUG-MIX | 0.83 | 0.58 | 0.68 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.89 | 0.89 | 0.85 | 0.85 | 0.60 |
| Recall | 0.63 | 0.63 | 0.64 | 0.63 | 0.88 |
| F1 | 0.74 | 0.73 | 0.73 | 0.73 | 0.71 |
| AUC | 0.79 | - | - | - | 0.83 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.90 | 0.91 | 0.87 | 0.88 | 0.68 |
| Recall | 0.67 | 0.64 | 0.63 | 0.66 | 0.84 |
| F1 | 0.77 | 0.75 | 0.73 | 0.75 | 0.75 |
| AUC | 0.81 | - | - | - | 0.81 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.81 | 0.82 | 0.80 | 0.80 | 0.53 |
| Recall | 0.68 | 0.68 | 0.69 | 0.69 | 0.95 |
| F1 | 0.74 | 0.74 | 0.74 | 0.74 | 0.68 |
| AUC | 0.76 | - | - | - | 0.80 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.81 | 0.83 | 0.78 | 0.81 | 0.66 |
| Recall | 0.69 | 0.68 | 0.69 | 0.70 | 0.83 |
| F1 | 0.74 | 0.75 | 0.73 | 0.75 | 0.74 |
| AUC | 0.76 | - | - | - | 0.78 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.83 | 0.87 | 0.85 | 0.85 | 0.59 |
| Recall | 0.69 | 0.65 | 0.68 | 0.66 | 0.90 |
| F1 | 0.75 | 0.75 | 0.76 | 0.76 | 0.71 |
| AUC | 0.78 | - | - | - | 0.82 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.80 | 0.87 | 0.84 | 0.84 | 0.66 |
| Recall | 0.71 | 0.64 | 0.68 | 0.68 | 0.84 |
| F1 | 0.75 | 0.74 | 0.75 | 0.75 | 0.74 |
| AUC | 0.79 | - | - | - | 0.78 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.0235 | 0.0051 | 0.0114 | 0.1134 | 0.0000 |
| Recall | 0.0153 | 0.0116 | 0.0145 | 0.1066 | 0.0000 |
| F1 | 0.0039 | 0.0077 | 0.0103 | 0.0243 | 0.0000 |
| AUC | 0.0052 | - | - | - | 0.0000 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.0081 | 0.0046 | 0.0133 | 0.0124 | 0.0000 |
| Recall | 0.0073 | 0.0000 | 0.0087 | 0.0093 | 0.0000 |
| F1 | 0.0031 | 0.0019 | 0.0066 | 0.0085 | 0.0000 |
| AUC | 0.0076 | - | - | - | 0.0000 |
| MLP | SVM | BT | XGBOOST | HRS | |
|---|---|---|---|---|---|
| Precision | 0.0109 | 0.0016 | 0.0080 | 0.0126 | 0.0000 |
| Recall | 0.0112 | 0.0061 | 0.0087 | 0.0109 | 0.0000 |
| F1 | 0.0036 | 0.0043 | 0.0065 | 0.0066 | 0.0000 |
| AUC | 0.0049 | - | - | - | 0.0000 |
| CC all features |
CC selected features |
MLO all features |
MLO selected features |
MIX all features |
MIX selected features |
|
|---|---|---|---|---|---|---|
| MLP | 0.56 | 0.53 | 0.59 | 0.58 | 0.60 | 0.57 |
| SVM | 0.56 | 0.55 | 0.55 | 0.54 | 0.54 | 0.54 |
| BT | 0.56 | 0.56 | 0.58 | 0.57 | 0.55 | 0.53 |
| XGBOOST | 0.55 | 0.57 | 0.58 | 0.61 | 0.53 | 0.55 |
| HRS | 0.67 | 0.67 | 0.66 | 0.65 | 0.67 | 0.66 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).