python-scripts/scripts/Linear Regression
2022-10-10 22:07:30 +05:45
..
example implementation Added Linear Regression file to find linear relation between two related variables 2022-10-10 15:45:26 +05:45
Linear Regression.ipynb Added Linear Regression file to find linear relation between two related variables 2022-10-10 15:45:26 +05:45
README.md Added Linear Regression file to find linear relation between two related variables 2022-10-10 15:45:26 +05:45
requirements.txt Rename requirements.txt.txt to requirements.txt 2022-10-10 22:07:30 +05:45

Linear Regression Model

A linear regression model used written in python language in Jupyter Notebook to help find linear relation between two variables.

Tech Stack 🛠

  • Python
  • Pandas
  • Matplotlib
  • sklearn

Features

  • Find a line that optimally describes the relation between the given data
  • Find slope and intercept of the line to re-plot it anywhere

Steps to use 👀

  • Save a data.csv file in the same folder as the project and name it "data.csv" [lowercase]
  • csv file must have only two columns with names col_1 and col_2 where col_1 is feature and col_2 is the target variable.

PS: Have a look at the example code in the folder which is used to find relation between budget and revenue of the movie