Machine Learning Separates Lifestyle Signal From Screening Noise in Palestinian Colorectal Cancer Data

In a Palestinian case-control study, machine learning isolated a set of modifiable and context-linked predictors that tracked with colorectal cancer while screening-related variables were deliberately removed from the main modeling pipeline. The design choice mattered because previous colonoscopy and fecal occult blood testing can reflect access to care, prior diagnostic suspicion, or participation in screening rather than underlying biologic risk. By excluding those variables, the analysis focused on factors more likely to be relevant for prevention-oriented risk stratification and public health planning.

The dataset included 216 adults, split evenly between 108 colorectal cancer cases and 108 cancer-free controls. Investigators initially reviewed 57 variables and retained 39 candidate predictors after excluding the outcome and non-modifiable factors. The resulting models were therefore built around variables that could plausibly inform intervention, counseling, or population-level targeting rather than fixed demographic attributes alone. In a setting where local evidence remains limited, that framing gives the study practical value even before external validation is available.

A single finding dominated the interpretation. Physical activity emerged as the most influential predictor across the optimized ensemble models.

Why Physical Activity Rose to the Top

The prominence of physical activity fits the biology of colorectal carcinogenesis. Movement influences insulin sensitivity, inflammatory signaling, gut motility, and body composition, all of which can shift the colonic milieu in directions that either reduce or amplify long-term cancer risk. Lower activity may also travel with broader patterns of dietary quality, occupational inactivity, and socioeconomic constraint, which complicates causal interpretation but does not blunt the public health relevance of the signal. In machine learning terms, the algorithm was not merely ranking variables; it was detecting a cluster of behaviors and living conditions that appear to move together in the background of cancer risk.

Dietary and social factors followed closely behind physical activity. Fruit consumption frequency, yearly income, occupation, and place of residence all contributed meaningfully to classification performance. Each of those variables can operate as a marker of food access, routine activity, education, transportation, healthcare proximity, and daily stress exposure. In Palestine, as in many settings where cancer prevention resources are unevenly distributed, these contextual dimensions can shape risk long before symptoms ever prompt diagnostic workup.

The study did not stop at a single model. It compared multiple feature-selection strategies, including filter, wrapper, embedded, and hybrid methods, before pairing them with ten optimized classifiers. That kind of architecture is valuable because feature selection can materially alter which predictors appear dominant and how well a model generalizes internally. Nested cross-validation, with preprocessing and hyperparameter tuning confined to the training folds, reduced the chance that performance estimates were inflated by information leakage.

Ensemble Learning Delivered the Strongest Internal Performance

Among the tested combinations, Forward Selection with the Ensemble classifier performed best after screening-related variables were excluded. Accuracy reached 90.3% ± 4.3, balanced accuracy was 90.28%, sensitivity was 89.81% ± 5.59, and specificity was 90.74% ± 4.18. Those values suggest a model that separated cases from controls with substantial internal consistency rather than simply favoring one class over the other. The balanced accuracy is especially relevant in clinical classification work because it gives equal weight to both sensitivity and specificity.

Hybrid approaches were competitive as well. Hybrid LASSO + GA with Ensemble and Hybrid mRMR + PSO with Ensemble both achieved a balanced accuracy of 89.81%. The convergence of several high-performing pipelines around similar discrimination values adds credibility to the idea that the same broad predictor set was repeatedly informative, even when the selection mechanism changed. In other words, the signal was not dependent on a single brittle modeling choice.

Still, high internal accuracy should not be confused with deployable clinical utility. The cohort was small, the study was retrospective, and validation remained internal only. Case-control data also carry the usual risks of selection bias and residual confounding, especially when exposures such as diet, income, and physical activity are measured after diagnosis or are drawn from records rather than prospective observation. A model can look strong in a closed dataset and still fail when transported to another population, clinic system, or screening environment.

SHAP Interpretation Points Toward Prevention Rather Than Diagnostics

SHAP analysis gave the machine learning results a more clinically readable shape. Across the optimized ensemble models, physical activity stayed at the top of the predictor hierarchy, followed by fruit consumption frequency and socioeconomic-contextual measures. This matters because the strongest variables were not tumor markers or laboratory surrogates. They were features that point toward prevention, access, and behavior modification.

That pattern suggests the classifier may be capturing the long arc of colorectal cancer risk accumulation rather than a short-term diagnostic signature. If confirmed externally, such a framework could help identify communities where prevention programs, nutrition support, activity promotion, and screening outreach should be intensified. The model is not ready for bedside deployment, but its output is aligned with a familiar epidemiologic reality: colorectal cancer risk is shaped by everyday exposures that often cluster by income, work setting, and where people live.

Screening variables were excluded from the main analysis for a reason that deserves emphasis. Prior colonoscopy or fecal occult blood testing may identify people already engaged with the health system, not necessarily people with lower biological risk. Keeping those variables out of the core model prevented the classifier from leaning on access-to-care proxies that could have obscured the modifiable factors investigators wanted to study. The resulting design brought the analysis closer to a prevention framework.

External Validation Will Decide Whether the Signal Survives

The study offers a useful proof of concept, not a ready-made clinical tool. The next step is external validation in larger, independent Palestinian cohorts, ideally with prospective data collection and more robust measurement of diet, activity, and socioeconomic exposure. Without that step, the apparent performance of the ensemble models remains an internally validated estimate rather than evidence for routine implementation.

Published in BMC Medical Informatics and Decision Making, the work adds a data-driven layer to colorectal cancer prevention discussions in Palestine. Its most actionable message is simple: once screening proxies are removed, lifestyle and social context still carry enough predictive weight to organize meaningful risk models. Whether those models can hold up outside the original sample remains the unanswered test.


Reporting by Dr. Revathy Mohan V.R., MBBS for Medicine World Foundation, with additional data provided by Gastroenterology (AGA).
PRIMARY CLINICAL EVIDENCE & REGISTRY DATA