Repository of OpenClassrooms' AI Engineer path, project #5
Goal : use Jupyter Notebook and Scikit-Learn to create, assess and improve a clustering model based on customers and orders data.
You can see the results here :
make venv
source env/bin/activate
# pip install kaggle jupyterlab ipywidgets numpy pandas scipy statsmodels sklearn plotly matplotlib
# > or :
# pip install -r requirements.txt
# > or :
make install
jupyter-lab notebooks/main.ipynb
# make isort
# make format
# make lint
# make bandit
# make mypy
# make test
# > or just :
make qa
- Fix Plotly issues with JupyterLab
jupyter labextension install jupyterlab-plotly
- If using Jupyter Notebook instead of JupyterLab, uncomment the following lines in the notebook
import plotly.io as pio
pio.renderers.default='notebook'