Skip to content

Repository for all development done under course ML Ops zoomcamp

Notifications You must be signed in to change notification settings

joaofonsecapromptly/ml-ops-zoomcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Suggestions

My version of public learning is creating this notebook of difficulties and what was done to overcome it. Hopefully, it can be useful to improve the course as well

Module 1

1 - Local Env Setup (macOs)

1.1. Check Local MacOS envprep by Adetbekov for Docker setup

1.2. Package Version Control using Poetry

  • Install poetry: pip install poetry
  • Start environemnt: poetry init which will create a pyproject.toml file with main dependencies. Feel free to skip dependency and install them later using poetry add
  • Start a .venv poetry shell and add .venv to .gitignore

(Bonus) Updating code that uses seaborn.distplot

Module 2

Adding MLFlow

  • Poetry already showed to be useful since if we use pip to install MLFlow it will install 2.1.3 by default which is incompatible with pyarrow 16
  • Also, when using requirements.txt in the videos, make sure to define versions of packages. Example: my first version of sklearn was not supported with MLFlow's autologging

First test of running train.py with MLFlow autlogging

  • First test of running train.py with MLFlow autlogging

  • Hyperoptimization in MLFlow

  • Final experiment with test set, saving the best model

About

Repository for all development done under course ML Ops zoomcamp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published