Linear Regression With One Variable-Machine Learning and Artificial Intelligence-Lecture Slides, Slides of Machine Learning

This lecture was delivered by Dr. Ramya Riya at Ankit Institute of Technology and Science. This lecture is part of lecture series on Machine Learning and Artificial Intelligence course. It includes: Linear, Regression, Model, Representation, Supervised, Learning, Predict, Training, Set, Cost, Function, Hypothesis, Parameters, Simplified

Typology: Slides

2011/2012

Uploaded on 08/26/2012

parvani
parvani 🇮🇳

4.6

(5)

73 documents

1 / 49

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Andrew'Ng'
Linear'regression'
with'one'variable'
Model'
representa6on'
Machine'Learning'
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Partial preview of the text

Download Linear Regression With One Variable-Machine Learning and Artificial Intelligence-Lecture Slides and more Slides Machine Learning in PDF only on Docsity!

Linear regression

with one variable

Model representa6on

Machine Learning

0 100 200 300 400 500 0 500 1000 1500 2000 2500 3000 0 100 200 300 400 500 0 500 1000 1500 2000 2500 3000 Housing Prices (Portland, OR)

Price

(in 1000s

of dollars)

Size (feet

2

Supervised Learning

Given the “right answer” for

each example in the data.

Regression Problem

Predict real-­‐valued output

Training Set

Learning Algorithm

h

Size of

house

Es6mated

price

How do we represent h?

Linear regression with one variable. Univariate linear regression.

Cost func6on

Machine Learning

Linear regression

with one variable

y

x

Idea: Choose so that is close to for our training examples

Hypothesis:

Parameters:

Cost Func6on:

Goal:

Simplified

y

x

(for fixed , this is a func6on of x) (func6on of the parameter ) 0

y

x

(for fixed , this is a func6on of x) (func6on of the parameter ) 0

Cost func6on

intui6on II

Machine Learning

Linear regression

with one variable

(for fixed , this is a func6on of x) (func6on of the parameters ) 0 100 200 300 400 500 0 1000 2000 3000 Price ($) in 1000’s Size in feet^2 (x)

(for fixed , this is a func6on of x) (func6on of the parameters )

(for fixed , this is a func6on of x) (func6on of the parameters )