python-scripts/scripts/Linear Regression/README.md

739 B

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