Everything you need to know about the math for machine learning as a beginner.

๐Ÿงต๐Ÿ‘‡

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

For example๐Ÿ‘‡

(2 / 17)
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 / 17)
If you want to learn python, these courses are freecodecamp could be of help to you.

๐Ÿ”—Basics: youtube .com/watch?v=rfscVS0vtbw
๐Ÿ”—Intermediate :youtube .com/watch?v=HGOBQPFzWKo

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

It is 100% compulsory.

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

(6 / 17)
Math for machine learning should come after you have worked on some projects, doesn't have to a complex one at all, but one that gives you a taste of how machine learning works in the real world.

(7 / 17)
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 challenge.

(8 / 17)
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 / 17)
The topics of math you'll have to focus on
- Linear Algebra
- Calculus
- Trigonometry
- Algebra
- Statistics
- Probability

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

(10 / 17)
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 / 17)
Seeing Theory
> This website gives you an interactive to learn statistics and probability

๐Ÿ”—seeing-theory. brown. edu/basic-probability/index.html

(12 / 17)
Gilbert Strang lectures on Linear Algebra (MIT)
> They're 15 years old but still 100% relevant today!
Despite the fact these lectures are for freshman college students ,I found it very easy to follow.

๐Ÿ”—youtube. com/playlist?list=PL49CF3715CB9EF31D

(13 / 17)
Essence of Linear Algebra
> A beautifully crafted set 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 / 17)
Khan Academy
>The resource you must refer to when you forget something or want to revise a topic.

๐Ÿ”—khanacademy. org/math

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

๐Ÿ”—youtube. com/watch?v=WUvTyaaNkzM&list=PL0-GT3co4r2wlh6UHTUeQsrf3mlS2lk6x

(16 / 17)
The math for Machine learning e-book
> This is a book aimed for someone who knows a decent amount of high school math like trignometry, calculus etc.

I suggest reading this after having the fundamentals down on khan academy.

๐Ÿ”—mml-book. github .io

(17 / 17)

More from Pratham Prasoon

More from Machine learning

With hard work and determination, anyone can learn to code.

Hereโ€™s a list of my favorites resources if youโ€™re learning to code in 2021.

๐Ÿ‘‡

1. freeCodeCamp.

Iโ€™d suggest picking one of the projects in the curriculum to tackle and then completing the lessons on syntax when you get stuck. This way you know *why* youโ€™re learning what youโ€™re learning, and you're building things

2.
https://t.co/7XC50GlIaa is a hidden gem. Things I love about it:

1) You can see the most upvoted solutions so you can read really good code

2) You can ask questions in the discussion section if you're stuck, and people often answer. Free

3. https://t.co/V9gcXqqLN6 and https://t.co/KbEYGL21iE

On stackoverflow you can find answers to almost every problem you encounter. On GitHub you can read so much great code. You can build so much just from using these two resources and a blank text editor.

4. https://t.co/xX2J00fSrT @eggheadio specifically for frontend dev.

Their tutorials are designed to maximize your time, so you never feel overwhelmed by a 14-hour course. Also, the amount of prep they put into making great courses is unlike any other online course I've seen.

You May Also Like

๐™Ž๐™๐™–๐™ง๐™ž๐™ฃ๐™œ ๐™ข๐™ฎ ๐™ฌ๐™ž๐™จ๐™™๐™ค๐™ข ๐‘พ๐’๐’'๐’• ๐’ƒ๐’† ๐’”๐’–๐’“๐’‘๐’“๐’Š๐’”๐’†๐’… ๐’Š๐’‡ ๐’•๐’๐’Ž๐’๐’“๐’“๐’๐’˜ ๐’– ๐’“๐’†๐’‚๐’… ๐’•๐’‰๐’† ๐’”๐’‚๐’Ž๐’† ๐’”๐’•๐’–๐’‡๐’‡ ๐’Š๐’ 50๐’Œ ๐’˜๐’๐’“๐’Œ๐’”๐’‰๐’๐’‘ ๐’๐’“ ๐’”๐’๐’Ž๐’†๐’๐’๐’† ๐’Ž๐’‚๐’๐’‚๐’ˆ๐’Š๐’๐’ˆ ๐’š๐’๐’–๐’“ ๐’Ž๐’๐’๐’†๐’š ๐’˜๐’Š๐’•๐’‰ ๐’”๐’‚๐’Ž๐’† ๐’๐’๐’ˆ๐’Š๐’„
Simple and effective way 2 make Money


Idea 1:- Use pivot level like 14800 in case of nifty and sell 14800straddle monthly expiry (365+335) exit if nifty closes on daily basis below S1 or above R1

After closing below S1 if it closes above S1 next day or any day enter the same position again vice versa for R1

Idea2:- Use R1 and S1 corresponding strikes multiple
Incase of R1 15337 take 15300ce
N in case of S1 14221 use 14200pe
Sell both and hold till expiry or exit if nifty closes below S1 or above R1 around closing
If the same bounces above S1 and falls below R1 re-enfer same strikes

Use same criteria for nifty, usdinr and banknifty

(This is must)Use this margin rule for 1lot banknifty pair keep 4Lax margin
For nifty one lot keep 3Lax
For usdinr 100lots keep 4Lax

I bet you if you do this on consistent basis your ROI will be more than 70% on yearly basis.

Couldn't explain easier than this

Criticisms are most welcomed.
**Thread on Bravery of Sikhs**
(I am forced to do this due to continuous hounding of Sikh Extremists since yesterday)

Rani Jindan Kaur, wife of Maharaja Ranjit Singh had illegitimate relations with Lal Singh (PM of Ranjit Singh). Along with Lal Singh, she attacked Jammu, burnt - https://t.co/EfjAq59AyI


Hindu villages of Jasrota, caused rebellion in Jammu, attacked Kishtwar.

Ancestors of Raja Ranjit Singh, The Sansi Tribe used to give daughters as concubines to Jahangir.


The Ludhiana Political Agency (Later NW Fronties Prov) was formed by less than 4000 British soldiers who advanced from Delhi and reached Ludhiana, receiving submissions of all sikh chiefs along the way. The submission of the troops of Raja of Lahore (Ranjit Singh) at Ambala.

Dabistan a contemporary book on Sikh History tells us that Guru Hargobind broke Naina devi Idol Same source describes Guru Hargobind serving a eunuch
YarKhan. (ref was proudly shared by a sikh on twitter)
Gobind Singh followed Bahadur Shah to Deccan to fight for him.


In Zafarnama, Guru Gobind Singh states that the reason he was in conflict with the Hill Rajas was that while they were worshiping idols, while he was an idol-breaker.

And idiot Hindus place him along Maharana, Prithviraj and Shivaji as saviours of Dharma.