Python for ML Roadmap

You don’t need to master Python first and ML second. Learn the Python you need as you learn ML. This section covers the essential libraries.

Core Libraries

Data manipulation

Visualization

ML

Deep Learning

Environment setup

# create a virtual environment for ML work
python -m venv ~/Education/ai_ml/projects/.venv
source ~/Education/ai_ml/projects/.venv/bin/activate
 
# core stack
pip install numpy pandas matplotlib seaborn scikit-learn jupyter
 
# deep learning (when you get there)
pip install torch torchvision torchaudio

Jupyter notebooks

Good for exploration and learning. Use ../projects/ for notebooks.

jupyter notebook --notebook-dir=~/Education/ai_ml/projects/