0% found this document useful (0 votes)
3 views4 pages

ML Exp 3

The document outlines a practical experiment on data analysis using linear regression, focusing on finding a line of best fit through data. It covers both univariate and multivariate regression models and includes learning outcomes related to data handling and visualization in Python. An evaluation grid is provided, detailing marks obtained in various assessment categories.

Uploaded by

virbhadra255
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)
3 views4 pages

ML Exp 3

The document outlines a practical experiment on data analysis using linear regression, focusing on finding a line of best fit through data. It covers both univariate and multivariate regression models and includes learning outcomes related to data handling and visualization in Python. An evaluation grid is provided, detailing marks obtained in various assessment categories.

Uploaded by

virbhadra255
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/ 4

EXPERIMENT TITLE: 3

Student Name:Avinash Kumar UID: 20BCS1108


Branch: BE-CSE Section/Group: 803B
Semester: 5th Subject: Machine Learning Lab

Aim/Overview of the practical: Data analysis of any data set via graphs using linear regression.
 Linear Regression – Finding a straight line of best fit through the data .This works well when the true
underlying function is linear.

A linear model makes a "hypothesis" about the true nature of the underlying function - that it is linear. We express this
hypothesis in the univariate case as

hθ(x)=ax+b

Our simple example above was an example of "univariate regression" - i.e. just one variable (or "feature") - number of hours
studied. Below we will have more than one feature ("multivariate regression") which is given by

hθ(x)=a⊤X

Here a is a vector of learned parameters, and X is the "design matrix" with all the data points. In this formulation the intercept term
has been added to the design matrix as the first column (of all ones).

 Code & Output:


 Learning outcomes (What I have learnt):

1. We learned about data analysis and data handling in python.


2. We learned about various basic functions and libraries required for data analysis using python.
3. We learned graphically analyze data functions of matplotlib library in python.
4. We learned about linear regression and its implementation.

Evaluation Grid :
s.no Parameters Marks Obtained Maximum Marks
1. Student Performance 12
(Conduct of experiment)
objectives/Outcomes.
2. Viva Voce 10
3. Submission of Work Sheet 8
(Record)
Total 30

You might also like