O GoConqr está de visual novo! Conte para nós o que você achou.

Notas

Cost Function

Mukundhan Srinivasan Machine Learning Inglês 3 páginas

Conteúdo das notas (3)

Página 1

Model :

(x,y) => Data Set

m => number of data pairs in data set

(xi , yi) => element i in data set (x,y)

supervised learning algorithm:

training set

|

learning algorithm

|

size of house -> hypothesis h -> estimated price

linear regression : h (x) = theta0 + theta1*x

Página 2

h (x) = theta0 + theta1*x;

error = (theta0 + theta1*xi) - yi

sum of squared errors = sigma (1->m) error^2

mean sum of squared errors = 1/2m * (sum of squared errors)

...also referred to as cost function;

objective : find theta0 & theta1 so as to minimize cost function

exercise : h(x) = theta1 * x

given data sets (1,1) (2,2) (3,3)

find theta1, that minimizes cost function J(theta1)

Página 3

for 2 parameters theta0 and theta1:

plot as J(theta) as functions of theta0 and theta1

Informações

Descrição
Machine Learning Notas sobre Cost Function, criado por Mukundhan Srinivasan em 17-03-2018.
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?