ih4cku / blog

deprecated, Git issues are great for writing blogs :)
2 stars 0 forks source link

loss #41

Open ih4cku opened 8 years ago

ih4cku commented 8 years ago
ih4cku commented 8 years ago
ih4cku commented 8 years ago

Loss function is to measure the quality of model output.

The typical loss function for classification problem is:

ih4cku commented 8 years ago

Logistic function:

Sigmoid function is a special case of the Logistic function when :

The output range of the sigmoid function is [0, 1].

The first derivative of sigmoid function is:

ih4cku commented 8 years ago

In the linear classifier: , each row of W is a classifier. Each row of W can corresponds to a template of the category. So, the classifier is doing template matching.