How can I use "loss" to determine how my model is doing?

xazshcdt report abuse

When training my model in Keras after each epoch model outputs a values named "loss". I assume it somehow correlates with the accuracy of my model.

Answers

Finchpal report abuse

In short, loss is a sum of errors based on training and validation data. The less the sum of errors, the better your model is doing.

xazshcdt report abuse

Thanks! Could you also explain how the loss is calculated?

Finchpal report abuse

Loss can be calculated using a variety of algorithms, but when we are talking neural networks, usually its negative log-likelihood or residual sum of squares. It also depends on what kind of model(regression or classification you are making).

Add Answer

Need support?

Just drop us an email to ... Show more