0% found this document useful (0 votes)
21 views1 page

Assignment Linear Regression

Uploaded by

Arighna Deb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Assignment Linear Regression

Uploaded by

Arighna Deb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ACTIVITY

School of Electronics Engineering


Kalinga Institute of Industrial Technology
Deemed to be University
5th Semester BTech in Electronics & Computer Science
Subject: Data Analytics (EM 30009)
Full Marks: 5

1. Develop a linear regression model based on the following dataset: X = CGPA, Y = Salary (in Lakhs) per
annum. Predict the output Y when CGPA is 8.1 from your linear regression model. Interpret your
results.
Name A B C D E F
X 6.5 6.6 7.5 7.7 8.1 8.5
Y 10 20 6 15 16 24

Assume the above dataset is stored in “cgpa_salary.csv” file, write a python code to read the dataset
from the file, split the dataset into train and test, train the linear regression model, predict the test set
result, and compare your manual calculation with the results obtained from the program.

You might also like