Skip to content

FAXTROT/linear_regression

Repository files navigation

Illustration of linear regression

Simple linear regression with 2D visualization.

How to run

  1. $ pip install -r requirements.txt

a) $ python linear_regression_multiple_features.py

b) $ python linear_regression_one_feature.py

Sample output (with multiple features)

Show Init Data

Epoch 0

Epoch 1

Epoch 2

Epoch 3

                                      ...

Epoch 9

Error

About

Visualization of linear regression

Resources

Stars

Watchers

Forks

Languages