The good news is that someone converted the matlab/octave exercise templates into numpy, and published them as jupyter notebooks that can work with the course's auto-grader: https://github.com/dibgerge/ml-coursera-python-assignments