Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.39 KB

File metadata and controls

32 lines (22 loc) · 1.39 KB

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/'