Day 7 β Covariance & Correlation in Machine Learning

Hey everyone π Dhairya here.
Before diving in β a small personal update: I had to take a 4-day break because I was feeling sick π€. I didnβt want to force myself and burn out, so I allowed my body to rest. Iβm back now and ready to continue the challenge with full energy. πͺ
π’ What I Learned Today
Todayβs focus was on Covariance and Correlation β two fundamental statistical tools that measure the relationship between variables.
Covariance
Measures how two variables vary together.
Positive β variables increase together
Negative β one increases while the other decreases
Limitation: depends on scale (not standardized).
Correlation
Standardized version of covariance (values between -1 and 1).
+1 β strong positive relationship
-1 β strong negative relationship
0 β no linear relationship
Used a lot in ML for feature selection, multicollinearity detection.
π± Reflections
I always thought correlation was just "relationship strength," but now I see itβs directly tied to covariance β just normalized. This makes correlation much more useful in ML since itβs scale-independent.
Visualizing scatter plots and comparing covariance/correlation values made things click.
π» Notebook
My Day 7 notebook (with examples & plots) is here π GitHub Link β Day 7 Notebook
π Resources
π₯ YouTube
π Websites
π― Whatβs Next?
For Day 8, Iβll explore Probability Distributions in ML Applications (how theyβre used in actual algorithms).
See you tomorrow π
β Dhairya
Subscribe to my newsletter
Read articles from Dhairya Patel directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Dhairya Patel
Dhairya Patel
I'm a student, trying to find experience and develop skills, and I want to log that journey here. ππ