### Learn Mathematics for Machine Learning

#### Hacker News Comments about Learn Mathematics for Machine Learning

*All the comments and stories posted to Hacker News that reference this course.*

On a related note, I'm curious if anyone has taken the Mathematics for Machine Learning ( https://www.coursera.org/specializations/mathematics-machine... ) courses on Coursera, and whether it really covers enough to be comfortable with ML. The course bills itself as enough math knowledge for folks who barely remember high school math.

⬐ hariasI have completed all three courses in the series. It was a good supplement to other resources, especially 3blue1brown's Linear Algebra course on youtube[0] (mind-blowing, do check it out) but I wouldn't recommend it as a first course. The first two courses weren't rigorous enough for my taste (I am yet to find a rigorous course on Coursera), but the third was pretty good. You should take up books if you are serious.

MIT OCW Scholar(independent study) course on Linear Algebra by Prof. Strang[1] is really good and is designed for self-study. If you have the time, you could look up Coding the matrix[2] too. I read probability from Mathematics for Computer Science-MIT[3] and also referred Khan Academy[4] and PennState STAT 414/415 [5] for statistics and probability. StatQuest channel[6] on Youtube has handwavy but easy to understand videos on statistics for ML too. The Deep learning book[7] by Ian Goodfellow et al. has a couple of chapters at the beginning that gives you a fairly good idea of the mathematics required to get into Deep learning. Communities like r/AskStatistics and r/statistics on Reddit were really helpful when I got stuck.

I also chanced upon Mathematics for Machine Learning[8] book recently and it seems to be good. It has a chapter on optimization that is left out in most books but skips statistics.

[0] - https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2x...

[1] - https://ocw.mit.edu/courses/mathematics/18-06sc-linear-algeb...

[2] - http://codingthematrix.com/

[3] - https://courses.csail.mit.edu/6.042/spring18/mcs.pdf

[4] - https://www.khanacademy.org/math/statistics-probability

[5] - https://onlinecourses.science.psu.edu/stat414/

[6] - https://www.youtube.com/user/joshstarmer/videos

[7] - https://www.deeplearningbook.org

[8] - https://mml-book.com

⬐ jamestimmins⬐ csomarThese are great insights! Thanks so much. Do you think it's worth going through pre-calc/calc deeply? I assumed I should do that first, but it would take quite a while (I haven't taken calc in ~8 years and barely remember more than the basics).

⬐ hariasEssence of calculus[0] by 3blue1brown for the basics and the second course in the Coursera Mathematics for Machine Learning would let you get started. You would rarely need calculus more advanced than that covered in the above, and if need be you will be in a position to look it up quickly. If you can sustain your interest in ML over a long period of time and are in no hurry, I would recommend going through all the math mentioned. If you are a top-down learner, the fast.ai course on ML and deep learning for coders will get you started head-first. All the best!

[0] - https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53...

Looking at the courses, it doesn't cover calculus and probability. That's two topics that you should already know and that you might not have mastered in High School. Otherwise, you are good to go.

⬐ pumanoirI have. It’s great because it’s developed using geometric intuition (a la 3b1b). Just missing probability/stats.

Nice article. Would you recommend this MOOC? https://www.coursera.org/specializations/mathematics-machine... It doesn't focus on probability or statistics though. If not, is there any other MOOC you would suggest?

You should consider taking this course series "Mathematics for Machine Learning" from coursera. https://www.coursera.org/specializations/mathematics-machine...

However, if you know the very basics of matrices (multiplication, transpose) and calculus (derivatives of basic functions, and partial derivates, and chain rule) I'd highly recommend first trying basic applied ML before diving deep into the math. It'll help you see where the math you're learning is actually used, as you learn them.

Try deeplearning.ai first, then try this "math for ML" course.

⬐ thomasghjklLink is dead

{"errorCode":"77h08e7nk"}

⬐ icc97This course is from Imperial College in London. It's typically ranked as one of the top 3 universities from the UK. Finally it has joined the ranks of doing a coursera course. Other noticeable absentees from coursera are Oxford and Cambridge. I know they do provide a few of their own though open courses.

I guess universities shouldn't be forced to give open courses, but it is a fantastic thing that US showed was possible and I hope that more UK universities follow suit.

⬐ argotechnica⬐ chi3Oxford actually has one course on EdX: https://www.edx.org/school/oxfordx

My understanding is that, like many MOOCs, it is largely department/faculty driven rather than a strategic or philanthropic move by the university overall.

I've been looking for something like this to brush up/add to my math knowledge; can anyone recommend this course or would you recommend some other way?

⬐ p1eskMany ML methods require solid knowledge of probability and statistics. Strangely this course does not cover that.

⬐ chi3Ah, I should've figured that out myself from looking at the contents. I might try it out and combine it with some reading of my old statistics book or some other means. Thanks!

⬐ opensandwichI agree - it looks equivalent to perhaps 1st year mathematics in Australian university or 2nd year 1st semester if I'm being really generous.

This definitely isn't sufficient for machine learning, but it is a start.

⬐ abol3z⬐ geebeeIt is good for understanding many ML algorithms and how they work internally. So in my opinion it's enough.

My impression from reading about a few ML techniques (such as Neural Nets or Support Vector Machines) is that this class of ML algorithms relies heavily on regression techniques that are, at their core, nonlinear optimization problems. This means finding local maxima and minima for systems of nonlinear equations, either analytically or through gradient descent. Either way, you're going to need to deal with a system of partial derivatives, which means you need to understand vector calculus and linear algebra. If that's the focus of this course, then I'd say it does make sense.

I understand what I described above is a subset of ML, and I generally do agree with you that a solid background in probability and stats is important for people who plan to do a lot of ML.

Note - another possible objection here is that

all"STEM" fields require calculus through differential equations and linear algebra. That's pretty much the common thread for most majors generally grouped together as STEM fields. So calling this "mathematics for machine learning" could be a little strange. If we're going to call vector calc and linear algebra "mathematics for ML", why aren't we calling it "math for physics", or "math for engineering"... I think that part of what is going on is that ML has gotten very popular, and people are starting to ask what the essential math background is, and are discovering that it's, well, pretty much the two year science and engineering track calculus you'd take at most universities.⬐ p1eskFunny, you used the term “regression”. People without stats 101 background will not know what you’re talking about.

Take a look at the Coursera specialization: Mathematics for Machine Learning [1]. The specialization isn't free but you can certainly apply for financial aid.

[1]: https://www.coursera.org/specializations/mathematics-machine...

⬐ astrodevYes! It's a new course that will be open for enrolment soon. I think it's exactly what most people here are looking for.

There is the financial aid and normally there is the option to watch the lectures and see the assignment for free. On the other hand, the cost of the courses rarely exceeds $50.