Manoj (@ThedatagGuy) header
Manoj (@ThedatagGuy) profile picture

23 | JRF•ML research•Ex-Data engineer • coding • cooking • maths

Bengaluru
Joined April 2025
Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)Photo by Manoj (@ThedatagGuy)
Math and ML → Part 1: The Mathematical Foundation of Regularization Regularization is one of the most crucial techniques in machine learning for preventing overfitting. But have you ever wondered why it actually works from a mathematical perspective? The Problem: When a model overfits, it essentially memorizes the training data instead of learning the underlying patterns. This leads to excellent performance on training data but poor generalization to unseen test data. The Mathematical Root Cause: Let's dive into the math In ordinary linear regression (first equation), we estimate parameters (θ*) by solving a system of equations. Here's where things get tricky: When your feature matrix exhibits high multicollinearity (features are highly correlated), certain columns become linearly dependent on others. Mathematically, this drives the determinant of the matrix toward zero, making it singular or leaning more towards a singular matrix. The problems? The inverse becomes unstable, leading to: >Unreliable parameter estimates >Extreme coefficient values >Poor model generalization And here's the reality: Multicollinearity isn't some edge case; it's incredibly common in real world datasets. The Mathematical Solution: Regularization, look at the second equation. Notice how the regularization parameter (α) is added to the diagonal of the matrix? By adding αI to X^T X, we're mathematically guaranteeing that the matrix remains invertible, regardless of multicollinearity in the original data. Even when X^T X is singular, (X^T X + αI) is always invertible for α > 0. This ensures: >Stable parameter estimation >Controlled coefficient magnitudes >Better generalization to new data This is Part 1 of my "Math & ML" series, where I'll bridge the gap between mathematical theory and practical machine learning. I want to show you the "why" behind the algorithms, not just the "how." If you found this insightful and want more content connecting mathematics to ML intuition, let me know in the comments! Retweets appreciated to help others discover the mathematical beauty in ML!
19
61
3
628
70,556
Manoj retweeted
All this shi just to die on a random day
524
21,880
612
124,055
2,667,789
Karnataka united
ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವದ ಹಾರ್ಧಿಕ ಶುಭಾಶಯಗಳು 💛❤️ ಇತಿಹಾಸ ಬಹಳ ದೊಡ್ಡದು ಆದಷ್ಟು ಅದನ್ನ ಉಳಿಸೋ ಕಡೆಗೆ ಕೆಲಸ ಮಾಡೋಣ ಕರ್ಣಾಟ ಬಲಂ ಅಜೇಯಂ
9
42
769
Manoj retweeted
So grateful to be born in this greatest state. Happy Karnataka Rajyotsava 💛❤️
8
58
6
445
18,667
ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವದ ಹಾರ್ಧಿಕ ಶುಭಾಶಯಗಳು 💛❤️ ಇತಿಹಾಸ ಬಹಳ ದೊಡ್ಡದು ಆದಷ್ಟು ಅದನ್ನ ಉಳಿಸೋ ಕಡೆಗೆ ಕೆಲಸ ಮಾಡೋಣ ಕರ್ಣಾಟ ಬಲಂ ಅಜೇಯಂ
5
1
1
48
1,475
Karnataka is the best state to go on a road trip. The sheer diversity is hard to beat. From the lush green forests of Malnad to the rocky hills of North Karnataka to the sun kissed coastline of Mangalore - Udupi to the beautiful hills of Chikmagalur, Kodagu to the thick jungles of Bandipur, Nagarhole to the stunning Jog Falls. From the magnificent Hoysala era temples of Belur, Halebid to glory of Hampi to the cave temples of Badami to the dazzling splendor of Mysuru Maharaja Palace. On top of that very hospitable and friendly people, safe atmosphere and great food.
71 frames of our incredible Karnataka as a tribute to the 71st Kannada Rajyotsava! 71ನೇ ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವ! ಒಂದು ರಾಜ್ಯ, ಹಲವು ಜಗತ್ತು! #KarnatakaRajyotsava
9
63
486
8,805
All Hindus are praying for this Muslim girl and demanding strong punishment for the boy. God forbid, if the situation were the other way around, many Muslims would be busy justifying the accused, calling him mentally ill, or coming up with some other excuse. We have seen people even justify terror attacks and describe terrorists as “bhatke hue naujawan.” There are many things Indian Muslims need to learn from Hindus.
पंचकूला में बच्ची के साथ मारपीट मामले पर वीडियो आई सामने जहाँ बच्ची माता उसे खाना खिलाती दिखाई दे रही है
157
451
40
3,371
79,825
71 frames of our incredible Karnataka as a tribute to the 71st Kannada Rajyotsava! 71ನೇ ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವ! ಒಂದು ರಾಜ್ಯ, ಹಲವು ಜಗತ್ತು! #KarnatakaRajyotsava
83
1,023
77
4,342
142,890
Manoj retweeted
stuff like this sounds stupid until you turn like 23
"When you die, you can't see sunsets." ― Hayao Miyazaki
101
4,956
85
77,670
745,156
Want to start a unhinged cringe insta account
4
11
411
Going to room early after so many days cuz I kept my model on run and it will take 15 hours to complete 😭 No it's not on cpu its a a5000 blackwell gpu Sound is insane
11
345
Pencho fridayyy
3
1
32
828
ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವದ ಸಂದರ್ಭದಲ್ಲಿ, ನಮ್ಮ ಕನ್ನಡಿಗರಿಗಾಗಿ ಕನ್ನಡದಲ್ಲೊಂದು ಹರಟೆ! ಕನ್ನಡಿಗನಾದ ನನಗೆ ತಾಂತ್ರಿಕ ವಿಷಯಗಳ ಬಗ್ಗೆ ಕನ್ನಡದಲ್ಲೇ ಮಾತನಾಡುವ ಅವಕಾಶ ಸಿಗುವುದು ಅಪರೂಪ. A chit-chat in Kannada, for our Kannadigas! A rare opportunity for me to discuss technology in my mother tongue. Link below.
10
97
2
597
13,418
people living in their cocoons without knowing the shyt reality of the job market and world i want that life man
4
40
723
To be held at @IITKgp , no registration fee, accomodation and TA is covered (if you get selected). Register now at docs.google.com/forms/d/e/1F… For more information do visit: ruralconnect2k26.swanlab.in/
3
2
87
People visit France for a week and stuff their mouth with cotton to pronounce Bordeaux or Chamonix correctly to get validation from white skin folks. And then they live 10 years here and think it’s cool not to be able to pronounce Baiyyappanahalli or Hesaraghatta :/
77
188
13
2,095
49,789
i think its time to disappear and fk up life
5
28
624
Decided one thing that is I'm not doing PhD here Now have to decide whether to continue this work or leave
My prof wants me to join phd under them I am still confused whether to do PhD in india or abroad When i was joining I told that i would do this only for 6-8 months after that I will leave Now I worked on one objective and drafted 2 papers which are under review
3
23
746
Kerala might be the most performative state man
7
1
35
2,019
My prof wants me to join phd under them I am still confused whether to do PhD in india or abroad When i was joining I told that i would do this only for 6-8 months after that I will leave Now I worked on one objective and drafted 2 papers which are under review
A long ass post is incoming in the evening I really need some guidance regarding PhD
9
1
32
1,742
I wanted experience and I got it how this side works and everything So I was thinking to quit and maybe prep for gate last 2 months Then look for better opportunities Only downside is if anyone works on those papers when the review comes my name may get pushed to second author
1
3
149
So this is it I'm confused should I join or should I just work as jrf or leave
3
104