Live data from Hacker News

Ask HN: What is the best way to learn Machine Learning in Python?

news.ycombinator.com

41–50 of 50 posts

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#41
post #28

Earlier quoted context omitted.

This. "Please provide ..." is pretty demanding. At least be courteous when asking for free labor. That said, I'm also interested in the topic. As others are acknowledging, it's a broad field and one really needs to focus on well-defined projects in order to learn anything tangible.

I've seen the phrase "please provide" a lot. And I agree with you, I've never seen it actually used politely- it is always comes off like a strong demand. Maybe part of the problem is it is a stock phrase on exams.

I suspect that a lot of them might not be native English speakers (e.g. OP's username suggests that he is from India, where a lot of people speak English, but it is relatively few people's native tongue).

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#42
post #5

Step-by-step guide, with source links and references? I don't think that's necessarily something one can (or ought to) expect to order up on Hacker News.

This. "Please provide ..." is pretty demanding. At least be courteous when asking for free labor. That said, I'm also interested in the topic. As others are acknowledging, it's a broad field and one really needs to focus on well-defined projects in order to learn anything tangible.

While it certainly comes off as demanding, I think it's important to remember that English is not necessary the OP's first language.

"Never attribute to malice that which is adequately explained by stupidity."

Note: "Stupidity" is obviously not the correct word for this situation, but the quote is still relevant.

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#43
post #20

Earlier quoted context omitted.

that's how education works

OP clearly has not even googled this. "python machine learning" pulls up many easily-accessible articles meant for beginners with no background in machine learning. The scikit-learn website is chock full of tutorials meant for beginners, with code examples! How is someone with this little motivation going to learn something so complex? I want to allocate my time helping people who at least try first.

I dont think hacker news is a bad place to ask a question like this. The most helpful of the answers on a popular post are going to eliminate a lot of low quality content that your going to come across with Google.

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#44

Earlier quoted context omitted.

This. "Please provide ..." is pretty demanding. At least be courteous when asking for free labor. That said, I'm also interested in the topic. As others are acknowledging, it's a broad field and one really needs to focus on well-defined projects in order to learn anything tangible.

While it certainly comes off as demanding, I think it's important to remember that English is not necessary the OP's first language. "Never attribute to malice that which is adequately explained by stupidity." Note: "Stupidity" is obviously not the correct word for this situation, but the quote is still relevant.

I replace Stupidity with Ignorance which, I think, is a solvable problem.

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#45
post #30

Earlier quoted context omitted.

The people demanding you pay them tens of thousands per year, for them to tell you how to learn, say it is. We can trust them, right?

Do you really believe that's how higher education works?

Do you not believe that's how mature businesses work?

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#46
post #4

Machine Learning is a sub-field of computer science and an area of intense current research. It has nothing to do with Python (a programming language) except that some machine learning algorithms might be implemented in Python. You might find Andrew Ng's Stanford Coursera course a good place to start. https://www.coursera.org/learn/machine-learning/home/info .

Well, you could certainly argue that python has the best machine learning libraries. So it's at worst a relevant programming language to the field. edit: +1 to Andrew Ng's Coursera course though!

Was there a reason Ng decided to teach the course in Octave rather than Python? The only time I've ever used .m files was during the course.

I appreciated the challenge of thinking from an array based language, but I felt it held me back from directly comparing my solutions to the tutorials to external sources. (Unless that even in of itself was the reason).

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#47
[1] -- First, you need to learn machine learning(ML) basics. Andrew Ng's course on Coursera is a good start: https://www.coursera.org/learn/machine-learning/home/info

It doesn't teach you ML with Python but it is extremely important to learn the ML concept without any programming language in mind. In addition to that course, any Google search will help you a lot. There are a lot of good explanations of ML concepts on various websites. If you don't understand how algorithms work, you will end up with copying and pasting example codes without knowing what you're doing. You need to imagine what you want to do in your head before you type any letter.

[2] -- Once you have the initial introduction, you can use Python to implement ML concepts. Fortunately, Python has a very easy to learn ML package: Scikit-learn (http://scikit-learn.org). It's free and is used by various companies such as Spotify and Evernote. Scikit-learn has a great documentation and many examples that will make the whole learning process exciting.

[3] -- After you feel comfortable with ML in Python, if you don't have datasets of your own, you can find a lot of datasets on UC Irvine's machine learning repository: http://archive.ics.uci.edu/ml/

The more you practice, the more comfortable you feel with playing with data. To cover a ML technique very well, play with every single parameter of the scikit-learn functions of that technique by using the same dataset. Also, always try to include visualization of the data (scikit-learn has examples with matplotlib to learn from how to do it) so you can actually see the changes of the implementation when parameters of the function change. This will make everything a lot easier.

Good luck!

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#48
post #41
post #28

Earlier quoted context omitted.

I've seen the phrase "please provide" a lot. And I agree with you, I've never seen it actually used politely- it is always comes off like a strong demand. Maybe part of the problem is it is a stock phrase on exams.

I suspect that a lot of them might not be native English speakers (e.g. OP's username suggests that he is from India, where a lot of people speak English, but it is relatively few people's native tongue).

Yes, I am from India, And it was my first question on Hacker News. Apologies if i offended you with my language, I should not have used those combination of words.

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#49
post #41

Earlier quoted context omitted.

I suspect that a lot of them might not be native English speakers (e.g. OP's username suggests that he is from India, where a lot of people speak English, but it is relatively few people's native tongue).

Yes, I am from India, And it was my first question on Hacker News. Apologies if i offended you with my language, I should not have used those combination of words.

Hey, sorry about calling you out. My bad.

Re: Ask HN: What is the best way to learn Machine Learning in Python?

#50
Coursera Machine Learning is one of the best places to start, but there are countless resources. There's a huge, wonderful open list of links at Github[1]. I definitely recommend you take a look at it

There are also another great resources online, like those I list below:

1.) In-depth introduction to machine learning in 15 hours of expert videos[2]

2.) Deep Learning Tutorial (@ ufldl.Stanford.edu/tutorial/, can't post the link because I'm out of mana, I mean, not enough reputation yet)

[1]: https://github.com/josephmisiti/awesome-machine-learning

[2]: https://www.dataschool.io/15-hours-of-expert-machine-learnin...

Post reply on HN