Added Linear Regression file to find linear relation between two related variables

This commit is contained in:
nebula 2022-10-10 15:45:26 +05:45
parent 3db555c936
commit bbd2506500
5 changed files with 5681 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,24 @@
# 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
<hr>

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
- Python 3.6 or higher
- Anaconda Installation
or can be used by uploading it to the online jupyter notebook version