Overview
An academic project for Biomedical Data Science applying Ridge and LASSO regression in Python with scikit-learn, and evaluating the models with cross-validation and held-out testing.
My contributions
- Applied Ridge and LASSO regression using Python and scikit-learn.
- Evaluated models through cross-validation and held-out testing.
Technical stack
- Python
- scikit-learn
Methodology
- Ridge regression shrinks coefficients to reduce variance.
- LASSO shrinks some coefficients to exactly zero, performing feature selection.
- Cross-validation selected regularization strength; a held-out test set measured generalization.
Interactive demonstration
Illustrates the bias–variance trade-off behind model selection. Generated data — not the coursework dataset. — Synthetic data — generated for illustration.
Key metrics
- Predictors retained by LASSO
- 5 of 13