Skip to content

Machine-Learning-ML/Ridge-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ridge regression (sklearn)

Small notebook demo: synthetic data, Ridge regression, metrics, and a simple plot.

Setup

python -m venv .venv
.venv\Scripts\activate   # Windows
# source .venv/bin/activate   # Linux / macOS
pip install -r requirements.txt

Run

Open ridge-regression.ipynb in Jupyter or VS Code. The notebook is kept without stored outputs so Git diffs stay small; run all cells locally to regenerate figures.

Git hygiene

  • Do not commit .env, API keys, or large datasets (see .gitignore).
  • Prefer pip freeze > requirements.lock.txt in CI or release branches if you need exact pins.

About

Hands-on Ridge regression demo with scikit-learn: synthetic data, train/test split, MSE, coefficients, and a simple matplotlib plot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors