ml-simulations
ml-simulations copied to clipboard
Animated Visualizations of Popular Machine Learning Algorithms
Machine Learning Animations
Understanding Machine Learning through Animated Visualizations
This repository contains the source code for animated visualizations of some famous machine learning algorithms. They were created using the R
package animation
, and ilustrate algorithm convergence and the effect of hyper-parameter tuning. The animations available so far are:
- XGBoost decision boundary as iterations proceed:
![](https://github.com/davpinto/ml-simulations/raw/master/img/xgb-iterations.jpg)
- KNN decision boundary varying the number of nearest neighbors k.
![](https://github.com/davpinto/ml-simulations/raw/master/img/knn-decision.jpg)
- Multivariate Gaussian Mixture Models (GMMs) fitting by EM algorithm.
![](https://github.com/davpinto/ml-simulations/raw/master/img/em-algorithm.jpg)
- Multimodal Density Estimation using GMMs.
![](https://github.com/davpinto/ml-simulations/raw/master/img/gmm-density.jpg)
- Tikhonov Regularization effect in Extreme Learning Machines (ELMs).
![](https://github.com/davpinto/ml-simulations/raw/master/img/elm-regularization.jpg)
- Image Segmentation using K-means.
![](https://github.com/davpinto/ml-simulations/raw/master/img/kmeans-segmentation.jpg)
- Image Reconstruction using Principal Components Analysis (PCA).
![](https://github.com/davpinto/ml-simulations/raw/master/img/pca-reconstruction.jpg)
Take a look at the website and have fun!