News for hackers. Stuff that matters.
Re:Machine Learning Exercises in Python, Part 1 by mindcrime on Friday August 12, 2016 @11:20PM (#12280090)
As far as I can remember you can't submit assignments in Python, can you?

When I took the class earlier this year, the answer was - effectively - "no". I mean, yeah, you could do some trickery with calling Python from Octave using whatever FFI Octave has, or you could possibly reverse engineer the protocol they use to talk from your code to the upstream server... but anybody doing all that would be doing more work that just completing the assignments in Octave to begin with.

Re:Machine Learning Exercises in Python, Part 1 by tylerhou on Saturday August 13, 2016 @01:48AM (#12280441)
There exist implementations of an interface between Python and the Coursera grading server.

https://github.com/mstampfer/Coursera-Stanford-ML-Python is an example.

Re:Machine Learning Exercises in Python, Part 1 by mindcrime on Saturday August 13, 2016 @01:57AM (#12280459)
Of course somebody would have reverse engineered the protocol already. Oh well. I still think most people would find it easier to just do the assignments themselves than deal with all this, but I'll grant that there's "always one in every crowd" as they say.
Re:Machine Learning Exercises in Python, Part 1 by jordigh on Saturday August 13, 2016 @08:41AM (#12281232)
We have Pytave. You don't need FFI anymore. Or rather, we wrote the FFI for you. Write your code in Scipy and Octave sees Octave-shaped objects in return.