Learn AI / Further study / Phase 2
Classic AI with CS50 AI
Months 4–50/8
CS50's Introduction to AI with Python: search, logic, probability, optimization, learning, neural networks and language.
This is the core of the path: seven weeks that cover the big ideas of AI from search to language models, each with hands-on Python projects. Budget 10–15 hours a week (about 7–10 weeks total). Prerequisite, in the course's words: "CS50x or at least one year of experience with Python."
| Week | Topic | Core ideas to master | Check yourself: can you explain… |
|---|---|---|---|
| 0 | Search | States, actions, goal tests; depth-first vs breadth-first search; greedy best-first and A* with heuristics; adversarial search with minimax and alpha-beta pruning | Why A* finds the shortest path when its heuristic never overestimates? |
| 1 | Knowledge | Propositional logic, entailment, model checking, inference rules, resolution; a glimpse of first-order logic | How a program can deduce a fact it was never told? |
| 2 | Uncertainty | Probability, conditional probability, Bayes' rule, Bayesian networks, sampling, Markov chains and hidden Markov models | How to update a belief when new evidence arrives? |
| 3 | Optimization | Local search (hill climbing, simulated annealing), linear programming, constraint satisfaction with backtracking and arc consistency | Why hill climbing can get stuck, and how annealing escapes? |
| 4 | Learning | Nearest-neighbor, perceptron, support vector machines, regression; loss functions; overfitting and regularization; Q-learning; k-means clustering | The difference between training error and test error? |
| 5 | Neural networks | Neurons, activation functions, gradient descent, backpropagation, multilayer, convolutional and recurrent networks; TensorFlow/Keras | What backpropagation actually computes? |
| 6 | Language | Syntax and parsing, n-grams, bag-of-words and Naive Bayes, word embeddings, attention and the transformer | Why attention let models handle long text better than recurrent networks? |
How to get the most out of it
- Do every project. They are where the ideas click: you build a game-playing AI, a logic puzzle solver, a probability model, a crossword solver, an image classifier and a language model component, among others.
- Write a one-paragraph summary of each week in your own words before moving on. If you can't, rewatch the part you can't explain.
- Draw the algorithms. Trace BFS, minimax and backpropagation by hand on a tiny example once each.
- Notice the arc: weeks 0–3 are symbolic AI (humans write the rules and the search); weeks 4–6 are machine learning (the system learns from data). Modern AI is mostly the second, but the first still powers planning, games, scheduling and verification.
Week topics from the course site, checked November 2026; check the current syllabus at cs50.harvard.edu/ai.
Phase 2 checklist0 of 8 done · saved in this browser