Repository in which I will implement some of the machine learning models described in Elements Of Statistical Learning by Hastie, Tibshirani and Friedman from scratch (using only numpy) in form of a Python package.
The implementations will be unit tested against popular implementation (Scikit-learn, PyTorch) with pytest.
The quality of the code will be checked using black, pylint and mypy at each commit through a GitHub Action CI pipeline.
The package will be published on PyPI at each push to the main branch through a GitHub Action CD pipeline.
python3.11 venv .venv
source .venv/bin/activate
pip install cmnemoi-learnClone the repo :
git clone https://github.com/cmnemoi/cmnemoi-learn.git
cd cmnemoi-learnThen install dependencies.
python3.11 venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txtIf you run Poetry and pyenv:
pyenv install 3.11
pyenv local 3.11
poetry install --with=dev,testThe source code of this project is available under MIT License