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.

  • 相关阅读:
    将HTML格式的String转化为HTMLElement
    程序执行效率
    Oracle之sql追踪
    单行bash、shell、perl命令
    主机安装
    时间序列分析
    R统计图
    需求分析
    oracle数据导入导出
    linux权限问题
  • 原文地址:https://www.cnblogs.com/larkiisready/p/11681619.html
Copyright © 2011-2022 走看看