CS229-Python
CS229-Python copied to clipboard
Exercises and solutions to Stanford CS229 Machine Learning in Python
Stanford CS229 Machine Learning in Python
This repository contains the problem sets for Stanford CS229 (Machine Learning) on Coursera translated to Python 3. It also contains some of my notes.
Check out the course website and the Coursera course. Please note that your solutions won't be graded and this repo is not affiliated with Coursera or Stanford in any way.
Installation
Make sure you have jupyter notebooks installed. You can find instructions here.
The following Python packages are used:
You can install all dependencies using:
python3 -m pip install -r requirements.txt
Instructions
- Please download the exercises (pdf) from the Coursera course. Some instructions are included in the Notebooks.
- Complete the exercises in the exercises Notebook.
- Compare your answers to the code in solutions Notebook.
Contents
- Linear Regression
- Logistic Regression & Regularization
- Multiclass Classifcation & Neural Networks
- Neueral Networks Learning
- Regularized Linear Regression and Bias v.s. Variance
- Support Vector Machines
- K-means Clustering and Principal Component Analysis
- Anomaly Detection and Recommender Systems
Copyright Notice
All code, exercises, data and other files in this repo are ©Stanford University. If you are unhappy about me hosting these files on GitHub for educational purposes, please send me an email.
The code was 'translated' to Python by Rick Wierenga. Some of the instructions are modified to better fit the Python ecosystem by me too. The data, background information and the intended exercise are the same.
Solutions
At the request of Stanford staff, I removed the notebooks with solutions from this repository. The exercises and notes are still available.
©2020 Rick Wierenga