GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

multivariate regression

Mukundhan Srinivasan Machine Learning Englisch 5 Seiten

Inhalt der Notizen (5)

Seite 1

single variate regression:

h-theta = theta-0 + theta-1 * x

multi-variate:

h-theta = theta-0 + theta-1 * x1 + theta-2 * x2 + theta-3*x3 +.....theta-n * xn

alternately:

h-theta = theta-0 * x-0 + theta-1 * x1 + theta-2 * x2 + theta-3*x3 +.....theta-n * xn

where x-0 = 1

in matrix form:

h= [theta]-Transpose * [x]

Cost function : multi-variate:

multivariate regression

Seite 2

objective of multi-variate linear regression would be :

choose theta-0, theta-1, theta -1 such that the cost function J(theta) will be a minimum;

Gradient descent algorithm:

multivariate regression

Seite 3

feature scaling:

to enable faster convergence: use feature scaling to bring the parameters into similar range:

-1

mean normalization:

(x1 - mean) /Range ; (Mean - X2)/range;

Seite 4

Learning rate : alpha:

when using gradient descent : plot function J(theta) vs No of iterations

for sufficiently small alpha, this curve should be downward sloping;

smaller the alpha, slower the convergence;

if theta is large, then convergence may not occur and curve slopes upward

multivariate regression

Seite 5

Informationen

Beschreibung
Machine Learning Notiz am multivariate regression, erstellt von Mukundhan Srinivasan am 19/03/2018.
Erstellt von
Mukundhan Srinivasan · Mär 2018
Aktualisiert
25 Mär 2018
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck