right answers are given for a data set
Types of supervised learning:
Regression: Predict continuous valued output
Classification: Discrete answers
either 0 or 1 : true or false
what is the probability that the input turns out to be true or false?
if you need to consider more than one parameter, the graph may look different
No right answers given
something like organizing news.
Notation
Training set -> Fed into learning algorithm -> hypothesis(h)
Measures the performance of a machine learning model: the goal is to find thetas that minimize the cost function
Finding θ1 which minimizes J(θ) when θ0 = 0
Contour plots are used to indicate cost functions
A way to minimize the cost function J
Start at some random θ0 and θ1 and keep changing them simultaneously in order to reduce J(θ0, θ1)
Intuition
Batch