Skip to content

This is a simple model, that tries to approximate the function y = m * x + b.

License

Notifications You must be signed in to change notification settings

ccarmesin/visualisation-of-linear-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple linear regression model with gradient 3dGraph

This is a simple model, that tries to approximate the function y = m * x + b. For the slope(m) I choosed 1 and the y-intercept(b) is 0. Under Visualisation you can find some sample datapoints, and the guessed function at the left, that updates in real-time. At the right is the gradient landscape where try to go to the dark blue area where m is 1 and b is 0.

About this repo

This repository contains the logic and scripts that combine three packages:

Gallery

Visualisation of the function we want to approximate:

alt text

Visualisation of the gradient Landscape:

alt text

Install

  1. Download the project
  2. Call 'npm install' in your projectfolder(Make sure npm is installed)
  3. 'npm run build'
  4. 'npm run watch'
  5. If your browser doesn't open by itself navigate to 'http://localhost:1234/'

About

This is a simple model, that tries to approximate the function y = m * x + b.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published