Linear Regression
Stanford CS 229 Machine Learning - Lecture 2
Gradient Descent

Topics

Normal Equations
Artificial Neural Network Application Video

ALVIN is an army vehicle driving algorithm using ANN. The program learns by observing a human driver:

  • 20 times a second, a picture of the road ahead is taken, digitized, & simplified.
  • Steering angle response of the driver is also recorded.
  • The data is used to train ALVIN.
  • After a few minutes of training, the software drives the vehicle on the single road by itself.
Notation
M = Number of training examples
xi = ith Input variable or feature
n = Number of features
m = Number of training examples
y = Output variables or target variables
(x, y) = training example
ith training example = (xi, yi)
For conciseness, define x0 = 1
y = h(x) = θ0x0 + θ1x1 + θ2x2 + ...
y = h(x) = ∑i=0 to n θixi = θTX
θ = Parameters of the learning algorithm
Training Set
Learning Algorithm

Hypothesis (h)

New Case

Prediction

   Login to remove ads X
Feedback | How-To