Skip to Content
Deep Learning with Keras
book

Deep Learning with Keras

by Antonio Gulli, Sujit Pal
April 2017
Intermediate to advanced
318 pages
7h 40m
English
Packt Publishing
Content preview from Deep Learning with Keras

An overview of losses functions

Losses functions (or objective functions, or optimization score function; for more information, refer to https://keras.io/losses/) can be classified into four categories:

  • Accuracy which is used for classification problems. There are multiple choices: binary_accuracy (mean accuracy rate across all predictions for binary classification problems), categorical_accuracy (mean accuracy rate across all predictions for multiclass classification problems), sparse_categorical_accuracy (useful for sparse targets), and top_k_categorical_accuracy (success when the target class is within the top_k predictions provided).
  • Error loss, which measures the difference between the values predicted and the values actually observed. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Deep Learning with Keras

Advanced Deep Learning with Keras

Rowel Atienza, Neeraj Verma, Valerio Maggio
Deep Learning with TensorFlow 2 and Keras - Second Edition

Deep Learning with TensorFlow 2 and Keras - Second Edition

Antonio Gulli, Dr. Amita Kapoor, Sujit Pal

Publisher Resources

ISBN: 9781787128422Supplemental Content