3 ms·
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
by mindcrime 10y ago
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.
- tylerhou 10y agoThere exist implementations of an interface between Python and the Coursera grading server. https://github.com/mstampfer/Coursera-Stanford-ML-Python https://github.com/mstampfer/Coursera-Stanford-ML-Python is an example.
- mindcrime 10y agoOf 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.
- jordigh 10y agoWe 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.