Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 667 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 667 Bytes

Linear Regression

An example of how to create a simple self-developed Linear Regression from scratch in Python

Main.py

Shows how to use LinearRegression.py

LinearRegression.py

Contains the Linear Regression using gradient descent

How to use

You can pull the repository the way it is. Running Main.py calls Linear Regression with the boston dataset. If you just want to use the Linear Regression you have to call fit() with a Numpy Array X (m_samples, n_features) and a Numpy Array y (m_samples).

Contribution

If you have an idea how to improve this Linear Regression keeping it as simple as possible please fork it and make a PR.