Open songhappy opened 5 years ago
Is MAE a metrics or loss in Keras? @zhichao-li
MAE is a loss in Keras and in BigDL it is also wrapped as a metrics
MAE
is not a metrics in Keras 1.2.2, but user can customize a similar one.
In Keras 2.x, user can use any loss function as metrics, maybe we can support that later. Theoretically, the forwarding logic is the same only that the interface is not the same in Zoo for now.
MAE of bigdl.optim.optimizer is a validation method, and in zoo.pipeline.api.keras.objectives, mae = MAE = MeanAbsoluteError, then MAE is a criterion. There are a lot of places we do
then MAE always calls the later one which cause problems.