Here's everything you need to know about the math for machine learning.

(+ free resources )
🧵👇

Before diving into the math, I suggest first having solid programming skills.

For example👇

(2 / 18)
In Python, these are the concepts which you must know:

- Object oriented programming in Python : Classes, Objects, Methods
- List slicing
- String formatting
- Dictionaries & Tuples
- Basic terminal commands
- Exception handling

(3 / 18)
If you want to learn those concepts for python, these courses are freecodecamp could be of help to you.

🔗Basics:youtube∙com/watch?v=rfscVS0vtbw
🔗Intermediate :youtube∙com/watch?v=HGOBQPFzWKo

(4 / 18)
👉You need to have really strong fundamentals in programming, because machine learning involves a lot of it.

It is 100% compulsory.

(5 / 18)
👉Another question that I get asked quite often is when should you even start learning the math for machine learning?

(6 / 18)
👉Math for machine learning should come after you have worked on a project or two, doesn't have to a complex one at all, but one that gives you a taste of how machine learning works.

(7 / 18)
👉Here's how I do it, I look at the math when I have a need for it.

For instance I was recently competing in a kaggle machine learning challenge.

(8 / 18)
I was brainstorming about which activation function to use in a part of my neural net, I looked up the math behind each activation function and this helped me to choose the right one.

(9 / 18)
The topics of math you'll have to focus on for machine learning
- Linear Algebra
- Calculus
- Trigonometry
- Algebra
- Statistics
- Probability

Now here are the resources and a brief description about them.

(10 / 18)
Neural Networks
> A series of videos that go over how neural networks work with approach visual, must watch.

🔗youtube. com/watch?v=aircAruvnKk&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi

(11 / 18)
Seeing Theory
> This website helps you learn statistics and probability in an intuitive way.

🔗seeing-theory. brown. edu/basic-probability/index.html

(12 / 18)
Gilbert Strang's lectures on Linear Algebra (MIT)

> This is 15 years old but still 100% relevant today!
Despite the fact these lectures are made for freshman college students at MIT,I found it very easy to follow👌

🔗youtube. com/playlist?list=PL49CF3715CB9EF31D

(13 / 18)
Essence of Linear Algebra
> A beautiful playlist of videos which teach you linear algebra through visualisations in an easy to digest manner

🔗youtube. com/watch?v=fNk_zzaMoSs&list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab

(14 / 18)
Khan Academy
>The resource you must refer to when you forget something or want to revise a topic super quick

🔗khanacademy. org/math

(15 / 18)
Essence of calculus
> A beautiful series on calculus, makes everything seem super simple.

🔗youtube. com/watch?v=WUvTyaaNkzM&list=PL0-GT3co4r2wlh6UHTUeQsrf3mlS2lk6x

(16 / 18)
The math for Machine learning e-book

> This book is for someone who knows quite a decent amount of high school math like trignometry, calculus, I suggest reading this after having the fundamentals down on khan academy.

mml-book. github .io

(17 / 18)
If you found this thread helpful then don't forget to follow me, it takes a ton of effort to write these threads and your support keeps me going. 🔥🙏

Good luck in your machine learning journey!

(18 / 18 🎉)

More from Pratham Prasoon

More from Machine learning

Thanks for this incredibly helpful analysis @dgurdasani1

Two questions. 1/ Does this summarise the AZ published data :
The plan is to extend the time interval for all age groups despite it being largely untested on the over 55yrs, although the full data is not yet published


Do we have the actual numbers of over 55yr olds given a 2nd dose at c12 weeks and the accompanying efficacy data?

Not to mention the efficacy data of the full first dose over that same period?

I’d quite like to know whether I am to be a guinea pig & the ongoing risks to manage

You attached photos of excerpts from a paper. Could you attach the link?

Re Pfizer. As I understand it the most efficacious interval for dosing was investigated at the start of the trial.


Here’s the link to the

I’ve got to say that this way of making and announcing decisions is not inspiring confidence in me and I am very pro vaccination as a matter of principle, not least because my brother caught polio before vaccinations available.

You May Also Like

Fake chats claiming to be from the Irish African community are being disseminated by the far right in order to suggest that violence is imminent from #BLM supporters. This is straight out of the QAnon and Proud Boys playbook. Spread the word. Protest safely. #georgenkencho


There is co-ordination across the far right in Ireland now to stir both left and right in the hopes of creating a race war. Think critically! Fascists see the tragic killing of #georgenkencho, the grief of his community and pending investigation as a flashpoint for action.


Across Telegram, Twitter and Facebook disinformation is being peddled on the back of these tragic events. From false photographs to the tactics ofwhite supremacy, the far right is clumsily trying to drive hate against minority groups and figureheads.


Declan Ganley’s Burkean group and the incel wing of National Party (Gearóid Murphy, Mick O’Keeffe & Co.) as well as all the usuals are concerted in their efforts to demonstrate their white supremacist cred. The quiet parts are today being said out loud.


The best thing you can do is challenge disinformation and report posts where engagement isn’t appropriate. Many of these are blatantly racist posts designed to drive recruitment to NP and other Nationalist groups. By all means protest but stay safe.
Trump is gonna let the Mueller investigation end all on it's own. It's obvious. All the hysteria of the past 2 weeks about his supposed impending firing of Mueller was a distraction. He was never going to fire Mueller and he's not going to


Mueller's officially end his investigation all on his own and he's gonna say he found no evidence of Trump campaign/Russian collusion during the 2016 election.

Democrats & DNC Media are going to LITERALLY have nothing coherent to say in response to that.

Mueller's team was 100% partisan.

That's why it's brilliant. NOBODY will be able to claim this team of partisan Democrats didn't go the EXTRA 20 MILES looking for ANY evidence they could find of Trump campaign/Russian collusion during the 2016 election

They looked high.

They looked low.

They looked underneath every rock, behind every tree, into every bush.

And they found...NOTHING.

Those saying Mueller will file obstruction charges against Trump: laughable.

What documents did Trump tell the Mueller team it couldn't have? What witnesses were withheld and never interviewed?

THERE WEREN'T ANY.

Mueller got full 100% cooperation as the record will show.