https://github.com/vncsmnl/cs50ai
๐ค This is CS50โs Introduction to Artificial Intelligence with Python Solutions
https://github.com/vncsmnl/cs50ai
artificial-intelligence cs50 cs50ai cs50ai2024 harvardx portfolio python solutions transformer
Last synced: about 1 month ago
JSON representation
๐ค This is CS50โs Introduction to Artificial Intelligence with Python Solutions
- Host: GitHub
- URL: https://github.com/vncsmnl/cs50ai
- Owner: vncsmnl
- License: mit
- Created: 2024-07-19T00:02:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T00:08:14.000Z (almost 2 years ago)
- Last Synced: 2025-10-27T00:35:43.502Z (8 months ago)
- Topics: artificial-intelligence, cs50, cs50ai, cs50ai2024, harvardx, portfolio, python, solutions, transformer
- Language: Python
- Homepage: https://vinicius.is-a.dev/CS50AI
- Size: 25.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Harvard CS50AI 2024 Solutions
This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory behind graph search algorithms, classification, optimization, machine learning, large language models, and other topics in artificial intelligence as they incorporate them into their own Python programs. By courseโs end, students emerge with experience in libraries for machine learning as well as knowledge of artificial intelligence principles that enable them to design intelligent systems of their own.
## Screenshots ๐ผ๏ธ

## Week 0 - Search ๐
Search Problems. Depth-First Search. Breadth-First Search. Greedy Best-First Search. A* Search. Minimax. Alpha-Beta Pruning.
- [Degrees](./week_0/degrees/degrees.py)
- [Tic-Tac-Toe](./week_0/tictactoe/tictactoe.py)
## Week 1 - Knowledge ๐ญ
Propositional Logic. Entailment. Inference. Model Checking. Resolution. First Order Logic.
- [Knights](./week_1/knights/puzzle.py)
- [Minesweeper](./week_1/minesweeper/minesweeper.py)
## Week 2 - Uncertainty ๐ง
Probability. Conditional Probability. Random Variables. Independence. Bayesโ Rule. Joint Probability. Bayesian Networks. Sampling. Markov Models. Hidden Markov Models.
- [PageRank](./week_2/pagerank/pagerank.py)
- [Heredity](./week_2/heredity/heredity.py)
## Week 3 - Optimization โ
Local Search. Hill Climbing. Simulated Annealing. Linear Programming. Constraint Satisfaction. Backtracking Search.
- [Crossword](./week_3/crossword/crossword.py)
## Week 4 - Learning ๐
Supervised Learning. Nearest-Neighbor Classification. Perceptron Learning. Support Vector Machines. Regression. Loss Functions. Overfitting. Regularization. Reinforcement Learning. Markov Decision Processes. Q-Learning. Unsupervised Learning. k-means Clustering.
- [Shopping](./week_4/shopping/shopping.py)
- [Nim](./week_4/nim/nim.py)
## Week 5 - Neural Networks ๐
Artificial Neural Networks. Activation Functions. Gradient Descent. Backpropagation. Overfitting. TensorFlow. Image Convolution. Convolutional Neural Networks. Recurrent Neural Networks.
- [Traffic](./week_5/traffic/traffic.py)
## Week 6 - Language ๐
Syntax. Semantics. Context-Free Grammar. nltk. n-grams. Bag-of-Words Model. Naive Bayes. Word Representation. word2vec. Attention. Transformers.
- [Parser](./week_6/parser/parser.py)
- [Attention](./week_6/attention/mask.py)
## CS50 Certificate ๐

## License ๐
[](./LICENSE)
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.