zoukankan      html  css  js  c++  java
  • loss VS metrics in keras

    link

    The loss function is used to optimize your model. This is the function that will get minimized by the optimizer. 常用的有: MSE交叉熵

    A metric is used to judge the performance of your model. This is only for you to look at and has nothing to do with the optimization process.

    For example : For some reason you may want to minimize the MSE loss for a regression model while also want to check the AUC for the model . In this case the MSE is the loss function and the AUC is the metric . Metric is the model performance parameter that one can see while the model is judging itself on the validation set after each epoch of training. It is important to note that the metric is important for few Keras callbacks like EarlyStopping when one wants to stop training the model in case the metric isn’t improving for a certaining no. of epochs.

  • 相关阅读:
    Maven简介
    Activiti核心API
    Activiti数据库支持
    使用idea进行activiti工作流开发入门学习
    Activiti 工作流
    枚举其他用法
    枚举类的基本使用
    kotlin中抽象类
    kotlin中接口
    kotlin 类的继承
  • 原文地址:https://www.cnblogs.com/larkiisready/p/11681619.html
Copyright © 2011-2022 走看看