Beginner ML projects for learning by running, inspecting, modifying, and rebuilding.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRun the Titanic survival classifier:
python 01_titanic_survival/train.pyRun the house price regression model:
python 02_house_price_regression/train.pyRun the spam detector:
python 03_spam_detector/train.pyRun the tiny neural network from scratch:
python 04_tiny_neural_network/train.pyRun the PyTorch neural network:
python 05_pytorch_neural_network/train.pyRun NumPy linear regression from scratch:
python 06_linear_regression_from_scratch/train.pyRun NumPy logistic regression from scratch:
python 07_logistic_regression_from_scratch/train.pyRun the MNIST digit classifier:
python 08_mnist_digit_classification/train.pyOpen the EDA notebook:
09_data_processing_and_eda/eda_titanic.ipynb
Run the CIFAR-10 CNN:
python 10_cifar10_cnn/train.py --fake-data --epochs 1 --max-train-batches 5 --max-test-batches 2Run the embeddings text classifier:
python 11_embeddings_text_classifier/train.pyRun the tiny transformer language model:
python 12_tiny_transformer_language_model/train.py --max-steps 20 --eval-interval 10- Run one project.
- Ask AI to explain the code section by section.
- Add print statements to inspect the data.
- Change one thing and rerun it.
- Rewrite the skeleton in a new file from memory.