News for hackers. Stuff that matters.
Re:Machine Learning Exercises in Python, Part 1 by jdwittenauer on Friday August 12, 2016 @08:29PM (#12279638)
None of the material in these posts could be used directly to complete assignments for the class. I suppose someone could attempt to "back-port" some of the Python code to Octave, but if you're going to that much trouble it's probably easier to just solve it in Octave in the first place.
Re:Machine Learning Exercises in Python, Part 1 by rawnlq on Friday August 12, 2016 @09:19PM (#12279763)
I took the course a while back and most of the assignments were just straight copying pasting from the pdf or translating some math formula into octave and never more than 10 lines of code. It's so spoon-fed already I don't see why anyone would want to cheat by porting it from python.
Re:Machine Learning Exercises in Python, Part 1 by 0xmohit on Friday August 12, 2016 @09:32PM (#12279798)
Having taken the myself, I couldn't agree more.

The class is meant to introduce one to machine learning. As such, the problems are usually fairly simple and one wouldn't need to cheat unless all one is attempting to do it to solve those without looking at either the leture videos or slides.

(Translating from Python to Octave might, on the other hand, require more effort in comparison to implementing the solutions in Octave.)

Re:Machine Learning Exercises in Python, Part 1 by danjoc on Friday August 12, 2016 @10:23PM (#12279944)
I know I'm just burning karma here, but this really triggers me.

Andrew Ng gives you a free introductory course in one of the hottest topics in computing, and in exchange asks you not to do one thing. And you do that one thing. I have my solutions in octave, and it would be really convenient for me to back them up on github, but I keep them on a usb stick for this very reason. I am respecting the man's wishes who was so kind as to teach me about machine learning.

You should take them down if you don't have the explicit permission to share them as the honor code states. You don't have explicit permission, do you?

Re:Machine Learning Exercises in Python, Part 1 by jdwittenauer on Friday August 12, 2016 @11:36PM (#12280131)
Since you linked to the honor code, can you point to anything in these blog posts that qualifies - in the context of completing the class - as "solutions to homework, quizzes, exams, projects, and other assignments"? Could anything I provided be directly used to "cheat" and finish the class without doing the work?

And just as a practical matter, there are dozens of github repos with literal (as in copy, paste, submit, done) solutions to these problems already available.

You're certainly free to disagree, but I do not view this as violating either the spirit or the intent of the honor code. This content has been out for years and is not in any way novel or unique. It's simply another vector through which the material can be learned, possibly opening it up to an even wider audience. Which is, I believe, what Andrew's goal was all along.

[dead]
Re:Machine Learning Exercises in Python, Part 1 by jdwittenauer on Saturday August 13, 2016 @12:03AM (#12280217)
I don't see much value in continuing to debate this. You're entitled to your opinion and I respect that, but I do not share your viewpoint.
Re:Machine Learning Exercises in Python, Part 1 by lemonghost on Saturday August 13, 2016 @01:17AM (#12280376)
> The way I see it, Andrew Ng is an entrepreneur co-founder with a startup called Coursera. He makes his courses free, because he's a good guy, and free attracts the audience that makes his platform worth something.

I liked this class and Andrew seems like a great guy but I'd like to point out that it's no longer free to take the evaluations for Coursera courses. Coursera is a startup and needs to find a way to monetize the courses to stay in business. I have no problem with that but I think its a little disingenuous to present Coursera as a free service when its clearly not.

Re:Machine Learning Exercises in Python, Part 1 by wodenokoto on Saturday August 13, 2016 @08:26AM (#12281199)
I see this written on HN and reddit a lot lately, yet I've just signed up and begun two courses, included Andrews ML course and have yet to be asked for money or met restrictions beyond the once in place last year.
Re:Machine Learning Exercises in Python, Part 1 by sanswork on Sunday August 14, 2016 @03:15AM (#12284606)
I'm doing the ML course at the moment and I'm asked to pay for a certificate after every screen.
Re:Machine Learning Exercises in Python, Part 1 by wodenokoto on Monday August 15, 2016 @09:41AM (#12290338)
Yes, you are right. I should have written "forced to" instead of asked to, but now it is too late to edit.

Anyway, my point stands. I can take these courses for free, despite people on HN and reddit claiming you can't.

Re:Machine Learning Exercises in Python, Part 1 by tyrael71 on Friday August 12, 2016 @09:10PM (#12279730)
These are direct solutions to the exercises. I took the class some time ago and also did it in python.
Re:Machine Learning Exercises in Python, Part 1 by mastazi on Friday August 12, 2016 @09:17PM (#12279759)
As far as I can remember you can't submit assignments in Python, can you? Or maybe you did it in Python first, and then ported in Octave before submitting? If so, how did it work out for you? At first I thought I wanted to go down the same path (because I'm comfortable with Python but not with Octave) but then concluded it was too much trouble backporting everything.
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.