【发布时间】:2018-04-28 08:44:01
【问题描述】:
我还不清楚metrics 是什么(如下代码所示)。他们到底在评估什么?为什么我们需要在model 中定义它们?为什么我们可以在一个模型中拥有多个指标?更重要的是,这一切背后的机制是什么?
任何科学参考也值得赞赏。
model.compile(loss='mean_squared_error',
optimizer='sgd',
metrics=['mae', 'acc'])
【问题讨论】:
-
这些答案(免责声明:我的)也可能有用:1)How does Keras evaluate the accuracy? 2)Loss & accuracy - Are these reasonable learning curves?
标签: python machine-learning neural-network deep-learning keras