You are on page 1of 16

Price

Price
Price Price
Price
Price
Price
Price
Ordinary Least Squares

Recap

1 4

Linear Regression
Dimensionality Reduction
Another unsupervised learning problem

Motivation I:
Data Compression

Slides of Prof. Dr. Andrew Ng., Stanford


2 5

Compression
Logistic Regression • Speeds up algorithms
• Reduces space

Dimensionality reduction in simple words:


• Dataset is redundant in features
• Question: Can we simply it in a rational and useful
way?
• For example:
– Redundant data set - different units for same attribute
– Reduce data from n-dimension to k-dimension
3 6
(inches) (inches)
Andrew Ng Andrew Ng

Andrew Ng Andrew Ng

Andrew Ng Andrew Ng
Weight
Cost function
Weight
Weight
Cost function

You might also like