¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

multivariate regression

Mukundhan Srinivasan Machine Learning Inglés 5 páginas

multivariate regression

Contenido del apunte (5)

Página 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

Página 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

Página 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;

Página 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

Página 5

Información

Descripción
Machine Learning Apunte sobre multivariate regression, creado por Mukundhan Srinivasan el 19/03/2018.
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?