Skip to content
Projets

EgeSoysal/awesome-ml-roadmap

Voir sur GitHub

À propos

A curated, step-by-step roadmap to learn Artificial Intelligence, Machine Learning, Deep Learning, and LLMs from scratch.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

🚀 How I'd Learn AI & Machine Learning From Scratch

Awesome Focus Level License

"If I forgot everything I knew about Machine Learning and had to start over today, this is the exact, no-fluff roadmap I would follow."

This isn't just a dump of links. Every resource below comes with what to focus on, the exact trick to avoid tutorial hell, and what it enables you to build.


🗺️ Visual Learning Roadmap

graph LR
    A[1. Math & Python] --> B[2. Classic ML Theory]
    B --> C[3. Neural Networks]
    C --> D[4. Master LLMs]
    D --> E[5. Build & Compete]
    
    style A fill:#ff9800,stroke:#333,stroke-width:2px,color:#000
    style B fill:#2196f3,stroke:#333,stroke-width:2px,color:#fff
    style C fill:#9c27b0,stroke:#333,stroke-width:2px,color:#fff
    style D fill:#e91e63,stroke:#333,stroke-width:2px,color:#fff
    style E fill:#4caf50,stroke:#333,stroke-width:2px,color:#fff

🌟 Core University Courses (Foundational Pillars)

Use these three university courses as your structured reference anchors, not as a checklist to finish before writing code.

Stanford CS229: Machine Learning Harvard CS50's Intro to AI Stanford CS231n: Computer Vision
Stanford CS229 Harvard CS50 AI Stanford CS231n
🎯 Focus: Core ML algorithms & loss functions.
💡 Trick: Skim lectures to learn when to pick an algorithm.
🛠️ Payoff: Understand how models actually learn from data.
🎯 Focus: Search algorithms, logic, probability & optimization.
💡 Trick: Complete the mini Python projects after each lecture.
🛠️ Payoff: Build classical AI systems (game bots, solvers).
🎯 Focus: CNNs, image classification & backpropagation.
💡 Trick: Study the lecture notes, they are gold.
🛠️ Payoff: Build models that see, detect, and classify images.

📐 Phase 1: Start With the Math & Tools

Golden Rule: Do not buy a 600-page math textbook. You only need enough math to read code without panicking when you see a matrix or a derivative.

Essence of Linear Algebra - 3Blue1Brown Neural Networks & Gradient Descent - 3Blue1Brown Python & NumPy Micro-Courses - Kaggle
Essence of Linear Algebra Neural Networks & Gradient Descent Kaggle Python
  • 1. Essence of Linear Algebra (3Blue1Brown) - Watch on YouTube

    • 🎯 What to Study: Vectors, dot products, matrix multiplication, and eigenvalues.
    • 💡 The Trick: Watch passively like a movie to build visual intuition. You only need to recognize what a matrix operation does in code, not solve proofs by hand.
    • 🛠️ Real-World Payoff: You will finally understand what "tensor shapes" and "embeddings" mean when debugging neural networks.
  • 2. Neural Networks & Gradient Descent (3Blue1Brown) - Watch on YouTube

    • 🎯 What to Study: Specifically Chapter 2 (Gradient descent, how neural networks learn).
    • 💡 The Trick: Memorize the core loop: Guess $\rightarrow$ Measure how wrong you are (Loss) $\rightarrow$ Nudge the weights $\rightarrow$ Repeat.
    • 🛠️ Real-World Payoff: Every single AI model, from linear regression to GPT, learns using this exact mechanism.
  • 3. Python & NumPy Micro-Courses (Kaggle) - Start in Browser

    • 🎯 What to Study: Python basics, array indexing, broadcasting, and vectorized operations in NumPy.
    • 💡 The Trick: Don't waste days configuring local environments yet. Everything runs free inside your browser.
    • 🛠️ Real-World Payoff: Data manipulation is 70% of ML work; NumPy lets you process millions of numbers in milliseconds.

📊 Phase 2: Classic Machine Learning Theory

Golden Rule: Never throw a massive neural network at a problem that a 5-line decision tree can solve faster and cheaper.

Stanford CS229 (Autumn 2018) - Andrew Ng scikit-learn Kaggle Datasets & Notebooks
Stanford CS229 scikit-learn Kaggle Datasets
  • 1. Stanford CS229: Machine Learning (Andrew Ng) - Watch on YouTube

    • 🎯 What to Study: Linear/Logistic Regression, Decision Trees, SVMs, and Bias vs. Variance.
    • 💡 The Trick: Don't binge-watch every derivation. Focus on learning how to tell if a model actually learned a pattern or just memorized the training data (overfitting).
    • 🛠️ Real-World Payoff: Know which algorithm fits tabular/business data and how to diagnose why a model fails in production.
  • 2. scikit-learn - Explore Docs

    • 🎯 What to Study: The .fit(), .predict(), and .score() API workflow, plus train_test_split and cross-validation.
    • 💡 The Trick: Use scikit-learn's "Algorithm Cheat-Sheet" on their homepage whenever you aren't sure which model to test first.
    • 🛠️ Real-World Payoff: Train, evaluate, and benchmark real predictive models in under 15 lines of clean Python.
  • 3. Kaggle Datasets & Notebooks - Browse Datasets

    • 🎯 What to Study: Exploratory Data Analysis (EDA), handling missing values, and feature engineering from top-voted public notebooks.
    • 💡 The Trick: Pick a dataset you genuinely care about (football stats, Spotify tracks, stock prices) and try to predict one column before peeking at other people's code.
    • 🛠️ Real-World Payoff: Real data is messy. This teaches you how to clean raw CSVs into model-ready inputs.

🧠 Phase 3: Build Neural Networks

Golden Rule: Build the engine from scratch once so you understand what happens under the hood, then switch to modern frameworks to move fast.

Neural Networks: Zero to Hero - Karpathy PyTorch Tutorials (Learn the Basics) Practical Deep Learning - fast.ai
Neural Networks Zero to Hero PyTorch Tutorials fast.ai
  • 1. Neural Networks: Zero to Hero (Andrej Karpathy) - Watch on YouTube

    • 🎯 What to Study: The first video: The spelled-out intro to neural networks and backpropagation: building micrograd.
    • 💡 The Trick: You don't have to finish the entire playlist right away. Coding micrograd (~100 lines of Python) removes the "black box" mystery of backpropagation forever.
    • 🛠️ Real-World Payoff: When your neural network's loss turns into NaN or stops improving, you'll actually know why.
  • 2. PyTorch Tutorials (Learn the Basics) - Open Tutorials

    • 🎯 What to Study: Tensors, Dataset & DataLoader, building an nn.Module, and writing a standard training loop.
    • 💡 The Trick: Click "Run in Google Colab" at the top of each tutorial to get free GPU access instantly.
    • 🛠️ Real-World Payoff: PyTorch is the lingua franca of modern AI research. Go from zero to a working image classifier in one afternoon.
  • 3. Practical Deep Learning for Coders (fast.ai) - Start Course

    • 🎯 What to Study: Transfer learning, fine-tuning pretrained vision/tabular models, and finding optimal learning rates.
    • 💡 The Trick: Fast.ai teaches "top-down": you ship a working model in Lesson 1 and peel back the layers later.
    • 🛠️ Real-World Payoff: Train high-accuracy models on custom images or audio in minutes using pretrained weights.

💡 Action Step: Dive in blind. Grab your own photos or voice recordings, train a classifier on them, and Google errors only when you get stuck.


🤖 Phase 4: Master LLMs (Large Language Models)

Golden Rule: Once you code a tiny transformer on your own laptop, frontier models stop feeling like magic. Tokens, attention, and fine-tuning become pure engineering.

Transformers Explained Visually - 3Blue1Brown Let's Build GPT: From Scratch - Karpathy Claude Code (AI-Assisted Training)
Transformers Explained Visually Let's Build GPT Claude Code
Hugging Face LLM Trainer Skill Autoresearch - Andrej Karpathy
Hugging Face Skills Autoresearch
  • 1. Transformers Explained Visually (3Blue1Brown) - Watch on YouTube

    • 🎯 What to Study: Tokenization, word embeddings, Self-Attention (Query, Key, Value), and how probabilities predict the next token.
    • 💡 The Trick: Pause and rewind the Q-K-V matrix animations until the intuition clicks. This single mechanism powers the entire LLM revolution.
    • 🛠️ Real-World Payoff: Understand context windows, why models hallucinate, and how attention scales with input length.
  • 2. Let's Build GPT: From Scratch, in Code (Andrej Karpathy) - Watch on YouTube

    • 🎯 What to Study: Bigram models, self-attention heads, multi-head attention, residual connections, and character-level text generation.
    • 💡 The Trick: Type every single line of code alongside him instead of copy-pasting. Train it on a small text file (like Shakespeare or your own chat logs).
    • 🛠️ Real-World Payoff: Build a working Generative Pre-trained Transformer from scratch on your own machine.
  • 3. Claude Code (AI-Assisted Training) - Read Docs

    • 🎯 What to Study: Delegating boilerplate training scripts, hyperparameter sweeps, and log analysis to a terminal-native AI agent.
    • 💡 The Trick: Let the agent write the training script, execute it, inspect the loss curve, and automatically patch bugs while you focus on architecture.
    • 🛠️ Real-World Payoff: 10x your experimentation speed by turning repetitive ML engineering into automated loops.
  • 4. Hugging Face LLM Trainer Skill (huggingface-llm-trainer) - View on GitHub

    • 🎯 What to Study: How SKILL.md instructs AI agents to configure SFT/LoRA training and push models to Hugging Face GPUs.
    • 💡 The Trick: Plug this skill into your coding agent so you can fine-tune open-weights models (like Llama or Qwen) from a single natural-language prompt.
    • 🛠️ Real-World Payoff: Customize open-source LLMs for specialized tasks without manually wrestling with distributed GPU configs.
  • 5. Autoresearch (Andrej Karpathy) - View on GitHub

    • 🎯 What to Study: Autonomous experiment loops where an AI agent modifies training code, runs trials overnight, and keeps only improvements.
    • 💡 The Trick: Use validation loss (val_loss) as the strict objective metric so the agent never hallucinates progress.
    • 🛠️ Real-World Payoff: Turn your hardware into an automated R&D lab that optimizes model performance while you sleep.

🛠️ Phase 5: Keep Building, Shipping & Competing

Golden Rule: Your first models will be bad, and fixing broken models teaches you everything online courses skip.

Hugging Face Spaces Kaggle Competitions
Hugging Face Spaces Kaggle Competitions
  • 1. Ship Live Demos on Hugging Face Spaces - Launch a Space

    • 🎯 What to Build: Practical mini-apps: an inbox spam filter, a gym progress predictor, a tiny GPT trained on your group chat, or a Snake-playing neural net.
    • 💡 The Trick: Wrap your Python model in Gradio or Streamlit (takes ~15 lines) and host it free on Spaces so anyone can test it via a URL.
    • 🛠️ Real-World Payoff: A live, clickable demo link on your GitHub/CV beats a bullet point saying "I know PyTorch" every single time.
  • 2. Benchmark Yourself in Kaggle Competitions - Join Competitions

    • 🎯 What to Study: Feature engineering tricks, model ensembling (combining XGBoost + Neural Nets), and validation strategies from medal-winning solutions.
    • 💡 The Trick: Start with "Getting Started" competitions first, then move to Featured/Prize competitions to see how your pipeline ranks against thousands of engineers.
    • 🛠️ Real-World Payoff: Learn battle-tested optimization techniques (and potentially win real prize money).

🤝 Contributing

Found an awesome, zero-fluff resource or a practical trick that belongs here? Feel free to open a Pull Request or create an Issue!

Explorer des projets similaires

Chargement…