AI_Visuals.js

These are just a collection of my projects using Google's TensorFlow.js or just raw JavaScript

The purpose is to help better visualize machine learning by visualizing the learning process

Polynomial Fitter
This is a simple application of TensorFlow.js to curve fitting. Using the ideas of a predictor, optimizer, and loss function, we fit a curve onto a set of generated data. This was adopted from Google's example of fitting a curve to synthetic data.


K-Means Algorithm
This is a implementation of the K-Means Algorithm, also referred to as Lloyd's algorithm. The algorithm is part of a class of machine learning algorithms that seek to partition a set of observations into k clusters of which all observations in a cluster are predicted to be of the same label.