Professional Documents
Culture Documents
gritty
Instructor
Dr. Hiren Kumar Thakkar
30 July 2019
Public Notice regarding Use of Content & Images
3
Algorithms
• Supervised learning
• Prediction
• Classification (discrete labels), Regression (real values)
• Unsupervised learning ( )
• Clustering
• Probability distribution estimation
• Finding association (in features)
• Dimension reduction
• Reinforcement learning
• Decision making (robot, chess machine)
4
Machine learning structure
• Supervised learning
5
Machine learning structure
• Unsupervised learning
6
Training and testing
Universal set
(unobserved)
8
Definition
Linear Regression
➢ Calculate R2
(Adjusted R2)
11
Example – Mouse Size Vs Weight
12
Fitting a regression line
13
How the regression line is obtained?
14
How the regression line is obtained?
residual
16
How the regression line is obtained?
17
How the regression line is obtained?
18
How the regression line is obtained?
19
How the regression line is obtained?
20
How the regression line is obtained?
21
How the regression line is obtained?
22
How the regression line is obtained?
23
How the regression line is obtained?
24
Regression line as Y = mx + c
25
Mathematics of Regression Line
26
Mathematics of Regression Line
Slop = 0.78 ≠ 0
Courtesy: https://www.thehealthsite.com/news/birthweight-height-can-predict-infants-future-health-study-679744/
28
Coefficient of determination 2
(r )