Optimizing for accuracy instead of loss in Keras model

前端 未结 3 1860
攒了一身酷
攒了一身酷 2021-01-07 02:02

If I correctly understood the significance of the loss function to the model, it directs the model to be trained based on minimizing the loss value. So for example, if I wan

3条回答
  •  半阙折子戏
    2021-01-07 03:00

    Accuracy is not differentiable. So it cannot be a loss function. It can only work as a metric.

提交回复
热议问题