









































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










































Model representa6on
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)
2
Linear regression with one variable. Univariate linear regression.
Cost func6on
Idea: Choose so that is close to for our training examples
(for fixed , this is a func6on of x) (func6on of the parameter ) 0
(for fixed , this is a func6on of x) (func6on of the parameter ) 0
(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 )