Skip to content

Commit bbd2506

Browse files
committed
Added Linear Regression file to find linear relation between two related variables
1 parent 3db555c commit bbd2506

File tree

5 files changed

+5681
-0
lines changed

5 files changed

+5681
-0
lines changed

scripts/Linear Regression/Linear Regression.ipynb

Lines changed: 284 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Linear Regression Model
2+
3+
A linear regression model used written in python language in Jupyter Notebook to help find linear relation between two variables.
4+
5+
## Tech Stack 🛠
6+
7+
- Python
8+
- Pandas
9+
- Matplotlib
10+
- sklearn
11+
12+
## Features ⚡
13+
14+
- Find a line that optimally describes the relation between the given data
15+
- Find slope and intercept of the line to re-plot it anywhere
16+
17+
## Steps to use 👀
18+
19+
- Save a data.csv file in the same folder as the project and name it "data.csv" [lowercase]
20+
- 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.
21+
22+
PS: Have a look at the example code in the folder which is used to find relation between budget and revenue of the movie
23+
24+
<hr>

scripts/Linear Regression/example implementation/Linear Regression.ipynb

Lines changed: 334 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)