Machine Learning-Based Prediction of Breast Cancer in Women: Insights From Feature Selection of Clinical and Lifestyle Data.

IF 1.9 Q4 ONCOLOGY
International Journal of Breast Cancer Pub Date : 2026-05-18 eCollection Date: 2026-01-01 DOI:10.1155/ijbc/8510185
Leila Allahqoli, Mohammad Hassan Behzadi, Seyedeh Zahra Aghamohammadi, Sevil Hakimi, Hamid Salehiniya, Arezoo Fallahi, Azam Rahmani, Zahra Shahabinia, Afrooz Mazidimoradi, Zohre Momenimovahed, Mohammadmatin Ghiyasvand
{"title":"Machine Learning-Based Prediction of Breast Cancer in Women: Insights From Feature Selection of Clinical and Lifestyle Data.","authors":"Leila Allahqoli, Mohammad Hassan Behzadi, Seyedeh Zahra Aghamohammadi, Sevil Hakimi, Hamid Salehiniya, Arezoo Fallahi, Azam Rahmani, Zahra Shahabinia, Afrooz Mazidimoradi, Zohre Momenimovahed, Mohammadmatin Ghiyasvand","doi":"10.1155/ijbc/8510185","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>This study is aimed at developing and evaluating a machine learning-based model for breast cancer classification using integrated clinical, demographic, reproductive, and lifestyle data.</p><p><strong>Methods: </strong>A retrospective machine learning framework was developed using data from a case-control study conducted in Tehran. The dataset included demographic, clinical, reproductive, lifestyle, and screening-related variables. Data preprocessing was performed within machine learning pipelines to ensure data quality and prevent data leakage. Duplicate records and noninformative variables were removed. Missing values were imputed using median values for numerical variables and the most frequent value for categorical variables. Categorical features were encoded appropriately, and Min-Max normalization was applied where required. Feature selection was conducted using mutual information (MI) and analysis of variance (ANOVA) within a stratified cross-validation framework. The data were split into training (80%) and test (20%) sets. Several supervised learning algorithms, including Gaussian Naive Bayes (GNB), K-nearest neighbors (KNN), decision tree (DT), random forest (RF), support vector machine (SVM), logistic regression (LR), and artificial neural network (ANN), were trained and evaluated. Model performance was assessed using accuracy, precision, recall (sensitivity), F1-score, and receiver operating characteristic-area under the curve (ROC-AUC), with stratified 5-fold cross-validation and final evaluation on an independent test set.</p><p><strong>Results: </strong>Significant differences were observed between breast cancer patients and healthy controls across multiple demographic and clinical variables. Patients were generally older and more likely to be widowed, belong to higher socioeconomic classes, and be housewives, whereas higher education levels and employment were more frequent among healthy individuals (<i>p</i> < 0.001). Reproductive factors, including age at first marriage and breastfeeding duration, also showed significant differences. Feature selection reduced 414 initial variables to 40 key predictors. The most influential features included genetic factors (BRCA1/2 mutations and family history), reproductive and hormonal characteristics (age at menarche, menopause, and infertility), lifestyle behaviors (dietary patterns and physical activity), anthropometric measures (BMI and weight at age 30), and screening-related variables (mammography, ultrasound, and biopsy). All models demonstrated strong and stable performance with minimal differences between cross-validation and test results, indicating good generalization. RF achieved the highest performance (accuracy: 0.9897, precision: 0.9946, recall: 0.9840, F1-score: 0.9892), followed by SVM and LR, whereas ANN showed the lowest overall performance.</p><p><strong>Conclusion: </strong>Machine learning models can effectively classify breast cancer using multidimensional patient data. Ensemble methods, particularly RF, demonstrated superior accuracy and robustness, highlighting their ability to capture complex nonlinear relationships. The identified predictors are consistent with established clinical and epidemiological risk factors, supporting the validity of the proposed models. These findings suggest that machine learning approaches hold strong potential for personalized risk assessment and early detection of breast cancer; however, external validation across diverse populations is necessary to confirm generalizability.</p>","PeriodicalId":46159,"journal":{"name":"International Journal of Breast Cancer","volume":"2026 ","pages":"8510185"},"PeriodicalIF":1.9000,"publicationDate":"2026-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13181590/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Breast Cancer","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1155/ijbc/8510185","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q4","JCRName":"ONCOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Objective: This study is aimed at developing and evaluating a machine learning-based model for breast cancer classification using integrated clinical, demographic, reproductive, and lifestyle data.

Methods: A retrospective machine learning framework was developed using data from a case-control study conducted in Tehran. The dataset included demographic, clinical, reproductive, lifestyle, and screening-related variables. Data preprocessing was performed within machine learning pipelines to ensure data quality and prevent data leakage. Duplicate records and noninformative variables were removed. Missing values were imputed using median values for numerical variables and the most frequent value for categorical variables. Categorical features were encoded appropriately, and Min-Max normalization was applied where required. Feature selection was conducted using mutual information (MI) and analysis of variance (ANOVA) within a stratified cross-validation framework. The data were split into training (80%) and test (20%) sets. Several supervised learning algorithms, including Gaussian Naive Bayes (GNB), K-nearest neighbors (KNN), decision tree (DT), random forest (RF), support vector machine (SVM), logistic regression (LR), and artificial neural network (ANN), were trained and evaluated. Model performance was assessed using accuracy, precision, recall (sensitivity), F1-score, and receiver operating characteristic-area under the curve (ROC-AUC), with stratified 5-fold cross-validation and final evaluation on an independent test set.

Results: Significant differences were observed between breast cancer patients and healthy controls across multiple demographic and clinical variables. Patients were generally older and more likely to be widowed, belong to higher socioeconomic classes, and be housewives, whereas higher education levels and employment were more frequent among healthy individuals (p < 0.001). Reproductive factors, including age at first marriage and breastfeeding duration, also showed significant differences. Feature selection reduced 414 initial variables to 40 key predictors. The most influential features included genetic factors (BRCA1/2 mutations and family history), reproductive and hormonal characteristics (age at menarche, menopause, and infertility), lifestyle behaviors (dietary patterns and physical activity), anthropometric measures (BMI and weight at age 30), and screening-related variables (mammography, ultrasound, and biopsy). All models demonstrated strong and stable performance with minimal differences between cross-validation and test results, indicating good generalization. RF achieved the highest performance (accuracy: 0.9897, precision: 0.9946, recall: 0.9840, F1-score: 0.9892), followed by SVM and LR, whereas ANN showed the lowest overall performance.

Conclusion: Machine learning models can effectively classify breast cancer using multidimensional patient data. Ensemble methods, particularly RF, demonstrated superior accuracy and robustness, highlighting their ability to capture complex nonlinear relationships. The identified predictors are consistent with established clinical and epidemiological risk factors, supporting the validity of the proposed models. These findings suggest that machine learning approaches hold strong potential for personalized risk assessment and early detection of breast cancer; however, external validation across diverse populations is necessary to confirm generalizability.

基于机器学习的女性乳腺癌预测:来自临床和生活方式数据特征选择的见解。
目的:本研究旨在开发和评估基于机器学习的乳腺癌分类模型,该模型使用综合临床、人口统计学、生殖和生活方式数据。方法:利用在德黑兰进行的病例对照研究的数据,开发了回顾性机器学习框架。数据集包括人口统计学、临床、生殖、生活方式和筛查相关变量。数据预处理在机器学习管道中进行,以确保数据质量并防止数据泄漏。删除了重复的记录和非信息性变量。缺失值是用数值变量的中值和分类变量的最常见值来计算的。对分类特征进行适当编码,并在需要时应用最小-最大归一化。在分层交叉验证框架内,使用互信息(MI)和方差分析(ANOVA)进行特征选择。数据分为训练集(80%)和测试集(20%)。对几种监督学习算法,包括高斯朴素贝叶斯(GNB)、k近邻(KNN)、决策树(DT)、随机森林(RF)、支持向量机(SVM)、逻辑回归(LR)和人工神经网络(ANN)进行了训练和评估。采用准确度、精密度、召回率(灵敏度)、f1评分和受试者工作特征曲线下面积(ROC-AUC)对模型性能进行评估,并进行分层5倍交叉验证,最终在独立测试集上进行评估。结果:乳腺癌患者和健康对照组在多种人口统计学和临床变量上存在显著差异。患者一般年龄较大,丧偶的可能性较大,属于较高的社会经济阶层,并且是家庭主妇,而健康个体中高学历和就业的比例更高(p < 0.001)。包括初婚年龄和母乳喂养持续时间在内的生殖因素也显示出显著差异。特征选择将414个初始变量减少到40个关键预测因子。最具影响的特征包括遗传因素(BRCA1/2突变和家族史)、生殖和激素特征(初潮、绝经和不育年龄)、生活方式行为(饮食模式和体育活动)、人体测量指标(30岁时BMI和体重)以及筛查相关变量(乳房x光检查、超声检查和活检)。所有模型均表现出强大而稳定的性能,交叉验证结果与测试结果之间的差异极小,表明具有良好的泛化性。RF的综合性能最高(准确率0.9897,精密度0.9946,召回率0.9840,F1-score 0.9892),其次是SVM和LR, ANN的综合性能最低。结论:机器学习模型可以利用多维患者数据对乳腺癌进行有效分类。集成方法,特别是射频,表现出卓越的准确性和鲁棒性,突出了它们捕获复杂非线性关系的能力。确定的预测因子与已建立的临床和流行病学风险因素一致,支持所提出模型的有效性。这些发现表明,机器学习方法在个性化风险评估和乳腺癌早期检测方面具有很大的潜力;然而,需要对不同人群进行外部验证才能确认其普遍性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
3.40
自引率
0.00%
发文量
25
审稿时长
19 weeks
期刊介绍: International Journal of Breast Cancer is a peer-reviewed, Open Access journal that provides a forum for scientists, clinicians, and health care professionals working in breast cancer research and management. The journal publishes original research articles, review articles, and clinical studies related to molecular pathology, genomics, genetic predisposition, screening and diagnosis, disease markers, drug sensitivity and resistance, as well as novel therapies, with a specific focus on molecular targeted agents and immune therapies.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书