paddlets.metrics.metrics
- class MSE(mode: str = 'normal')[源代码]
基类:
Metric均方误差(mse).
- 参数
mode (str) – 支持的metric模式, 支持normal(非概率预测)和prob(概率预测)两种模式, Note: 目前mode=prob尚未支持.
- _NAME
Metric名称.
- 类型
str
- _MAXIMIZE
用于标识优化方向.
- 类型
bool
- class MAE(mode: str = 'normal')[源代码]
基类:
Metric平均绝对误差(mae).
- 参数
mode (str) – 支持的metric模式, 支持normal(非概率预测)和prob(概率预测)两种模式, Note: 目前mode=prob尚未支持.
- _NAME
Metric名称.
- 类型
str
- _MAXIMIZE
用于标识优化方向.
- 类型
bool