Coursera/Stanford Machine Learning course assignments in Python
Assignments for Andrew Ng's Machine Learning course implemented in Python without solutions in line with the Coursera Code of Honor. The code is structurally equivalent to the Matlab implementation from Coursera and the results are numerically equivalent with the correct Python implementation of the incomplete scripts. After completing each assignment, students can submit for grading to the Coursera website by executing the submit.py script. e.g below: (OSX or Linux) (On Windows change "export PYTHONPATH=../" to "set PYTHONPATH=..")
cd Coursera-Stanford-ML-Python/ex1
export PYTHONPATH=../
python submit.py
login (Email address):
token:
==
== Part Name | Score | Feedback
== --------- | ----- | --------
== Warm up exercise | 10 / 10 | Nice work!
== Computing Cost (for one variable) | 0 / 40 |
== Gradient Descent (for one variable) | 0 / 50 |
== Feature Normalization | 0 / 0 |
== Computing Cost (for multiple variables) | 0 / 0 |
== Gradient Descent (for multiple variables) | 0 / 0 |
== Normal Equations | 0 / 0 |
== --------------------------------
== | 10 / 100 |
The login credentials will be saved to a file for subsequent submissions. Please see the wiki for a short tutorial on using Python.