Machine Learning from scratch by Charles-Meldhine Madi Mnemoi
Project description
cmnemoi-learn - Machine Learning from scratch by Charles-Meldhine Madi Mnemoi
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.
Install the package
pyenv and poetry
pyenv install 3.11
pyenv local 3.11
poetry install
Anaconda or Miniconda
conda create -n cmnemoi-learn python=3.11 -y
conda activate cmnemoi-learn
pip install cmnemoi-learn
Contributing
Clone the repo :
git clone https://github.com/cmnemoi/cmnemoi-learn.git
cd cmnemoi-learn
Then install dependencies.
If you run Poetry and pyenv:
pyenv install 3.11
pyenv local 3.11
poetry install --with=dev,test
If you run Miniconda or Anaconda:
conda create -n cmnemoi-learn-dev python=3.11 -y
conda activate cmnemoi-learn-dev
pip install -r requirements-dev.txt
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cmnemoi_learn-0.5.0.tar.gz
.
File metadata
- Download URL: cmnemoi_learn-0.5.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8d6139949cc4d0211b086c5bc6e1eb3c662fe9d831ef1f56b4638947c1a0b3 |
|
MD5 | 1c2db568dd808bc7d5b1c4777e58bdd5 |
|
BLAKE2b-256 | 87889933a50d838164e6d54908587188bb0c74e558a56e7ebe21243fe276b9b1 |
File details
Details for the file cmnemoi_learn-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: cmnemoi_learn-0.5.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74529a22144c7f9524a3802e9450b3601a0f6493d1931734325560bd8243004b |
|
MD5 | db6aa49af5cda6fe5f88479d2c87c3b8 |
|
BLAKE2b-256 | 0ed6ef5588b3f9b2dc9b0a9835b1e1e3be1991c6989bc0f069d71b31bedac369 |