{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,26]],"date-time":"2026-06-26T06:45:48Z","timestamp":1782456348058,"version":"3.54.5"},"reference-count":63,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2026,6,26]],"date-time":"2026-06-26T00:00:00Z","timestamp":1782432000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Digit. Health"],"abstract":"<jats:p>This study addresses the practical problem of building reliable and interpretable tools to support the early detection of breast and prostate cancers. We investigate how the choice of numerical optimization method affects the training of logistic regression (LR) models for binary cancer classification. In particular, we focus on five widely used algorithms:gradient descent (GD), Newton-Raphson (NR), conjugate gradient (CG), Broyden\u2013Fletcher\u2013Goldfarb\u2013Shanno (BFGS) and limited-memory BFGS (L-BFGS). We further consider ridge (L2) regularization as a standard mechanism to improve numerical stability, control coefficient magnitude, and enhance generalization reliability across datasets. Through algebraic analysis and numerical experiments on two public datasets for breast and prostate cancer, we compare these methods in terms of convergence behavior, computational efficiency, and classification performance. Our results highlight clear trade-offs between runtime, number of iterations, and predictive quality, which are directly relevant when integrating LR into real-world digital health systems. Guided by these insights and by standard practice in the literature, we implement a conventional regularized LR model in a Flask\u2013React web application dedicated to cancer detection. In this platform, the Flask backend manages data processing, model training, and inference, while the React frontend offers an interactive interface for healthcare professionals. Clinicians can enter patient-level features and immediately visualize probabilistic predictions and class labels, illustrating how interpretable statistical models, coupled with appropriate optimization strategies, can be deployed in a web-based decision-support tool for breast and prostate cancer screening.<\/jats:p>","DOI":"10.3389\/fdgth.2026.1767120","type":"journal-article","created":{"date-parts":[[2026,6,26]],"date-time":"2026-06-26T05:45:57Z","timestamp":1782452757000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Algebraic evaluation of optimization in tumors classification with numerical assessments via a flask\u2013react web interface"],"prefix":"10.3389","volume":"8","author":[{"given":"Nouhaila","family":"Houssa","sequence":"first","affiliation":[{"name":"LAM2A, Faculty of Sciences Ain Chock, University Hassan II of Casablanca","place":["Casablanca, Morocco"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Seddik","family":"Abdelalim","sequence":"additional","affiliation":[{"name":"LAM2A, Faculty of Sciences Ain Chock, University Hassan II of Casablanca","place":["Casablanca, Morocco"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ilias","family":"Elmouki","sequence":"additional","affiliation":[{"name":"MoNum, Hassania School of Public Works (EHTP)","place":["Casablanca, Morocco"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2026,6,26]]},"reference":[{"key":"B1","year":""},{"key":"B2","author":"Nicholson","year":""},{"key":"B3","year":""},{"key":"B4","doi-asserted-by":"publisher","first-page":"221","DOI":"10.1146\/annurev-bioeng-071516-044442","article-title":"Deep learning in medical image analysis","volume":"19","author":"Shen","year":"2017","journal-title":"Annu Rev Biomed Eng"},{"key":"B5","author":"Hastie","year":""},{"key":"B6","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4614-7138-7","volume-title":"An Introduction to Statistical Learning: With Applications in R","author":"James","year":"2013"},{"key":"B7","volume-title":"Introduction to Machine Learning","author":"Alpaydin","year":"2020"},{"key":"B8","volume-title":"Deep Learning","author":"Goodfellow","year":"2016"},{"key":"B9","doi-asserted-by":"publisher","first-page":"115","DOI":"10.1038\/nature21056","article-title":"Dermatologist-level classification of skin cancer with deep neural networks","volume":"542","author":"Esteva","year":"2017","journal-title":"Nature"},{"key":"B10","author":"Nocedal","year":""},{"key":"B11","volume-title":"Convex Optimization","author":"Boyd","year":""},{"key":"B12","doi-asserted-by":"crossref","DOI":"10.1002\/9781118548387","volume-title":"Applied Logistic Regression","author":"Hosmer","year":"2013"},{"key":"B13","doi-asserted-by":"publisher","first-page":"21","DOI":"10.1109\/TIT.1967.1053964","article-title":"Nearest neighbor pattern classification","volume":"13","author":"Cover","year":"1967","journal-title":"IEEE Trans Inf Theory"},{"key":"B14","doi-asserted-by":"publisher","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"B15","volume-title":"Flask Web Development: Developing Web Applications with Python","author":"Grinberg","year":"2018"},{"key":"B16","volume-title":"Learning React: Modern Patterns for Developing React Apps","author":"Banks","year":"2020"},{"key":"B17","doi-asserted-by":"publisher","first-page":"e078378","DOI":"10.1136\/bmj-2023-078378","article-title":"Tripod+ai statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods","volume":"385","author":"Collins","year":"2024","journal-title":"BMJ"},{"key":"B18","doi-asserted-by":"publisher","first-page":"1364","DOI":"10.1038\/s41591-020-1034-x","article-title":"Reporting guidelines for clinical trial reports for interventions involving artificial intelligence: the consort-AI extension","volume":"26","author":"Liu","year":"2020","journal-title":"Nat Med"},{"key":"B19","doi-asserted-by":"publisher","first-page":"924","DOI":"10.1038\/s41591-022-01772-9","article-title":"Reporting guideline for the early-stage clinical evaluation of decision support systems driven by artificial intelligence: decide-AI","volume":"28","author":"Vasey","year":"2022","journal-title":"Nat Med"},{"key":"B20","doi-asserted-by":"publisher","first-page":"109370","DOI":"10.1016\/j.compeleceng.2024.109370","article-title":"A review of explainable artificial intelligence in healthcare","volume":"118","author":"Sadeghi","year":"2024","journal-title":"Comput Biol Med"},{"key":"B21","author":"Feng","year":""},{"key":"B22","doi-asserted-by":"publisher","first-page":"205","DOI":"10.1002\/med4.75","article-title":"Automated machine learning with interpretation: a systematic review of methodologies and applications in healthcare","volume":"2","author":"Yuan","year":"2024","journal-title":"Med Adv"},{"key":"B23","doi-asserted-by":"publisher","first-page":"187","DOI":"10.47102\/annals-acadmedsg.2023113","article-title":"Clinical performance of automated machine learning: a systematic review","volume":"53","author":"Thirunavukarasu","year":"2024","journal-title":"Ann Acad Med Singap"},{"key":"B24","doi-asserted-by":"publisher","first-page":"102900","DOI":"10.1016\/j.artmed.2024.102900","article-title":"Transformers and large language models in healthcare: a review","volume":"154","author":"Nerella","year":"2024","journal-title":"Artif Intell Med"},{"key":"B25","doi-asserted-by":"publisher","first-page":"215","DOI":"10.1111\/j.2517-6161.1958.tb00292.x","article-title":"The regression analysis of binary sequences","volume":"20","author":"Cox","year":"1958","journal-title":"J R Stat Soc Ser B"},{"key":"B26","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1093\/biomet\/71.1.1","article-title":"On the existence of maximum likelihood estimates in logistic regression models","volume":"71","author":"Albert","year":"1984","journal-title":"Biometrika"},{"key":"B27","doi-asserted-by":"publisher","first-page":"310","DOI":"10.1111\/j.2517-6161.1981.tb01676.x","article-title":"On the existence of maximum likelihood estimators for the binomial response models","volume":"43","author":"Silvapulle","year":"1981","journal-title":"J R Stat Soc Ser B"},{"key":"B28","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4419-8853-9","volume-title":"Introductory Lectures on Convex Optimization: A Basic Course","author":"Nesterov","year":"2004"},{"key":"B29","doi-asserted-by":"crossref","DOI":"10.1017\/CBO9780511804441","volume-title":"Convex Optimization","author":"Boyd","year":"2004"},{"key":"B30","doi-asserted-by":"publisher","first-page":"384","DOI":"10.1214\/09-EJS521","article-title":"Self-concordant analysis for logistic regression","volume":"4","author":"Bach","year":"2010","journal-title":"Electron J Stat"},{"key":"B31","author":"Kakade","year":""},{"key":"B32","volume-title":"Introduction to Optimization","author":"Polyak","year":"1987"},{"key":"B33","volume-title":"Nonlinear Programming","author":"Bertsekas","year":"1999"},{"key":"B34","doi-asserted-by":"publisher","first-page":"309","DOI":"10.1098\/rsta.1922.0009","article-title":"On the mathematical foundations of theoretical statistics","volume":"222","author":"Fisher","year":"1922","journal-title":"Philos Trans R Soc London Ser A"},{"key":"B35","volume-title":"Theory of Point Estimation","author":"Lehmann","year":"1998"},{"key":"B36","doi-asserted-by":"publisher","first-page":"177","DOI":"10.1007\/s10107-006-0706-8","article-title":"Cubic regularization of newton method and its global performance","volume":"108","author":"Nesterov","year":"2006","journal-title":"Math Program"},{"key":"B37","doi-asserted-by":"publisher","first-page":"231","DOI":"10.1561\/2200000050","article-title":"Convex optimization: algorithms and complexity","volume":"8","author":"Bubeck","year":"2015","journal-title":"Found Trends Mach Learn"},{"key":"B38","doi-asserted-by":"publisher","first-page":"864","DOI":"10.1016\/0041-5553(63)90382-3","article-title":"Gradient methods for minimizing functionals","volume":"3","author":"Polyak","year":"1963","journal-title":"USSR Comput Math Math Phys"},{"key":"B39","volume-title":"Methodus Fluxionum et Serierum Infinitarum","author":"Newton","year":"1671"},{"key":"B40","volume-title":"Analysis Aequationum Universalis","author":"Raphson","year":"1690"},{"key":"B41","doi-asserted-by":"crossref","DOI":"10.1137\/1.9781611971200","volume-title":"Numerical Methods for Unconstrained Optimization and Nonlinear Equations","author":"Dennis","year":"1996"},{"key":"B42","first-page":"89","article-title":"Functional analysis and applied mathematics","volume":"3","author":"Kantorovich","year":"1948","journal-title":"Usp Mat Nauk"},{"key":"B43","volume-title":"Iterative Solution of Nonlinear Equations in Several Variables","author":"Ortega","year":"1970"},{"key":"B44","volume-title":"Principles of Mathematical Analysis","author":"Rudin","year":"1976"},{"key":"B45","volume-title":"Mathematical Analysis","author":"Apostol","year":"1974"},{"key":"B46","doi-asserted-by":"publisher","first-page":"1","DOI":"10.2140\/pjm.1966.16.1","article-title":"Minimization of functions having Lipschitz continuous first partial derivatives","volume":"16","author":"Armijo","year":"1966","journal-title":"Pac J Math"},{"key":"B47","doi-asserted-by":"publisher","first-page":"226","DOI":"10.1137\/1011036","article-title":"Convergence conditions for ascent methods","volume":"11","author":"Wolfe","year":"1969","journal-title":"SIAM Rev"},{"key":"B48","doi-asserted-by":"publisher","first-page":"409","DOI":"10.6028\/jres.049.044","article-title":"Methods of conjugate gradients for solving linear systems","volume":"49","author":"Hestenes","year":"1952","journal-title":"J Res Natl Bur Stand"},{"key":"B49","doi-asserted-by":"publisher","first-page":"149","DOI":"10.1093\/comjnl\/7.2.149","article-title":"Function minimization by conjugate gradients","volume":"7","author":"Fletcher","year":"1964","journal-title":"Comput J"},{"key":"B50","doi-asserted-by":"publisher","first-page":"76","DOI":"10.1093\/imamat\/6.1.76","article-title":"The convergence of a class of double-rank minimization algorithms","volume":"6","author":"Broyden","year":"1970","journal-title":"IMA J Appl Math"},{"key":"B51","doi-asserted-by":"publisher","first-page":"317","DOI":"10.1093\/comjnl\/13.3.317","article-title":"A new approach to variable metric algorithms","volume":"13","author":"Fletcher","year":"1970","journal-title":"Comput J"},{"key":"B52","doi-asserted-by":"publisher","first-page":"23","DOI":"10.1090\/S0025-5718-1970-0258249-6","article-title":"A family of variable-metric methods derived by variational means","volume":"24","author":"Goldfarb","year":"1970","journal-title":"Math Comput"},{"key":"B53","doi-asserted-by":"publisher","first-page":"647","DOI":"10.1090\/S0025-5718-1970-0274029-X","article-title":"Conditioning of quasi-Newton methods for function minimization","volume":"24","author":"Shanno","year":"1970","journal-title":"Math Comput"},{"key":"B54","author":"Powell","year":""},{"key":"B55","doi-asserted-by":"publisher","first-page":"1171","DOI":"10.1137\/0724077","article-title":"Global convergence of a class of quasi-Newton methods on convex problems","volume":"24","author":"Byrd","year":"1987","journal-title":"SIAM J Numer Anal"},{"key":"B56","doi-asserted-by":"publisher","first-page":"46","DOI":"10.1137\/1019005","article-title":"Quasi-Newton methods, motivation and theory","volume":"19","author":"Dennis","year":"1977","journal-title":"SIAM Rev"},{"key":"B57","doi-asserted-by":"publisher","first-page":"503","DOI":"10.1007\/BF01589116","article-title":"On the limited memory BFGS method for large scale optimization","volume":"45","author":"Liu","year":"1989","journal-title":"Math Program"},{"key":"B58","doi-asserted-by":"publisher","first-page":"773","DOI":"10.1090\/S0025-5718-1980-0572855-7","article-title":"Updating quasi-Newton matrices with limited storage","volume":"35","author":"Nocedal","year":"1980","journal-title":"Math Comput"},{"key":"B59","first-page":"2825","article-title":"Scikit-learn: machine learning in Python","volume":"12","author":"Pedregosa","year":"2011","journal-title":"J Mach Learn Res"},{"key":"B60","author":"Minka","year":""},{"key":"B61","doi-asserted-by":"publisher","first-page":"627","DOI":"10.1145\/1273496.1273567","article-title":"Trust region newton method for large-scale logistic regression","volume":"9","author":"Lin","year":"2008","journal-title":"J Mach Learn Res"},{"key":"B62","first-page":"1871","article-title":"LIBLINEAR: a library for large linear classification","volume":"9","author":"Fan","year":"2008","journal-title":"J Mach Learn Res"},{"key":"B63","author":"Komarek","year":""}],"container-title":["Frontiers in Digital Health"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdgth.2026.1767120\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,26]],"date-time":"2026-06-26T05:46:01Z","timestamp":1782452761000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdgth.2026.1767120\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,26]]},"references-count":63,"alternative-id":["10.3389\/fdgth.2026.1767120"],"URL":"https:\/\/doi.org\/10.3389\/fdgth.2026.1767120","relation":{},"ISSN":["2673-253X"],"issn-type":[{"value":"2673-253X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,26]]},"article-number":"1767120"}}