Skip to content

This repo is my attempt to turn all the major ML concepts into clean visualizations. Instead of long theory notes, every topic has a plot or interactive example so the idea sticks faster. The notebook walks through ML in the same order most people learn it, starting from regression and moving all the way to deep learning basics.

Notifications You must be signed in to change notification settings

vikramlingam/Machine-Learning-Concepts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Machine Learning Concepts: Visual Guide

This repo is my attempt to turn all the major ML concepts into clean visualizations.
Instead of long theory notes, every topic has a plot or interactive example so the idea sticks faster.

The notebook walks through ML in the same order most people learn it, starting from regression and moving all the way to deep learning basics.


What’s inside

1. Linear Regression

  • Simple Linear Regression
  • Multiple Linear Regression (pair plot)
  • Polynomial Regression
  • Loss Function Surface (MSE)

2. Regression Diagnostics & Regularization

  • Linearity check
  • Multicollinearity
  • Normality of residuals
  • Homoscedasticity
  • Coefficient shrinkage (L1 / L2)
  • Bias–Variance Tradeoff

3. Time Series Forecasting

  • Basic time series plot
  • Moving average smoothing
  • Time series decomposition
  • Stationarity

4. Classification Algorithms

  • Sigmoid curve
  • Decision boundaries for kNN, Logistic Regression, SVM, etc.
  • ROC Curve and AUC

5. Clustering

  • k-Means step-by-step
  • Elbow method
  • DBSCAN clusters
  • Silhouette score plot

6. Dimensionality Reduction

  • PCA intuition (before/after projection)
  • PCA explained variance plot
  • t-SNE vs PCA visual comparison

7. Ensemble Learning

  • Bagging vs Boosting visual
  • Random Forest decision boundary
  • Gradient Boosting tree add-on effect

8. Neural Networks (Basics)

  • Perceptron decision line
  • Activation functions comparison
  • Feed-forward network flow
  • Loss landscape for neural nets

9. NLP Basics

  • Bag of Words vs TF-IDF
  • Word embeddings in 2D
  • Cosine similarity point plot

10. Extra Concepts

  • Overfitting vs underfitting
  • Train-val-test split visual
  • Learning rate effect
  • Confusion matrix visual form

How to use

Just open the notebook: Machine_Learning_Concepts.ipynb Run it top to bottom.
Each section has markdown + code + visualization right after it.
No external dataset needed, everything is generated inside.


Goal

Make ML feel less abstract.
If a plot explains the idea faster than text, that’s what I pick.


Next steps

  • Add interactive widgets (Sliders for K, learning rate, etc.)
  • Add deep learning training visual (loss curve + accuracy side-by-side)
  • Maybe convert the whole thing into a small web app later

If you have suggestions or want to add visuals for missing concepts, feel free to open an issue or PR.

About

This repo is my attempt to turn all the major ML concepts into clean visualizations. Instead of long theory notes, every topic has a plot or interactive example so the idea sticks faster. The notebook walks through ML in the same order most people learn it, starting from regression and moving all the way to deep learning basics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published