Skip to content

AhVir/ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“‚ Machine Learning Algorithm Visualizer

This repository contains an interactive web-based platform designed to visualize machine learning algorithms step-by-step.
The main goal of this project is to help students, beginners, and educators understand the internal workings of common ML algorithms through clear, animated, and intuitive visual simulations.

The website is hosted on GitHub Pages:
๐Ÿ”— https://avir.github.io/ml/


Purpose of This Project

During my machine learning course, I realized that many algorithms are easy to understand theoretically but much harder to visualize.
For example, in algorithms like K-Means Clustering, concepts such as centroid initialization, distance calculation, and iterative updates become far clearer when seen visually.

So I decided to build this platform to:

  • Provide interactive demonstrations of ML algorithms
  • Make learning ML more intuitive and engaging
  • Help classmates and juniors learn through visualization
  • Enable faculty members to use these simulations in class
  • Build a long-term project that expands as I learn new algorithms

๐Ÿ›  What This Project Provides

Each algorithm will have:

  • A dedicated page
  • Interactive controls (inputs, sliders, dataset options)
  • Step-by-step visualization of the algorithmโ€™s internal process
  • Dynamic plots and animations
  • Clear explanations of each step

The first implemented algorithm is:

โœ” K-Means Clustering

  • Random centroid initialization
  • Euclidean distance calculation
  • Cluster assignment
  • Centroid recomputation
  • Iterative visualization until convergence

โžค Future Plans

As I progress through my ML course, I will continue adding more algorithms, such as:

  • K-Nearest Neighbors (KNN)
  • Linear Regression (Gradient Descent visualization)
  • Logistic Regression
  • PCA (Dimensionality Reduction)
  • DBSCAN
  • Decision Trees
  • Support Vector Machines
  • And moreโ€ฆ

This repository will grow into a complete ML Algorithm Interactive Learning Hub.


Deployment

The project is entirely client-side and hosted using GitHub Pages, making it easy for anyone to access and explore directly from their browser.

Website:
๐Ÿ”— https://avir.github.io/ml/


๐Ÿค Contributions

Suggestions, improvements, or new feature ideas are always welcome.
Feel free to open an issue or submit a pull request.


๐Ÿ“„ License

This project is open-source and available under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published