Skip to content

SkyWox/TensorflowJS-Linear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorflowJS-Linear

What is it?

An implementation of Tensorflow JS that will try to guess a correct Y value for a linear equation you build.

Demo

How to use:

Build a linear equation in the form y = ax + b.
Other parameters:

Parameter Description
Sample points How many (x,y) pairs are generated from your equation and fed to the algorithm
Epochs How many "generations" of the algorithm will be trained on the data before answering
X to predict The x value you want the algorithm to predict the Y value for

What's happening?

Machine learning in your browser! This uses Tensorflow JS to implement a simple neural network.

Running locally

Scripts are written for a *NIX environment
Assuming you use yarn:

yarn
yarn watch

Default serving location is localhost:1234

Improvements

  • Better UI
  • Graphs of data or Tensorboard
  • Support higher order functions

About

Machine learning using Tensorflow JS to guess your linear equation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published