File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 18
18
from torchrec .metrics .auc import AUCMetric
19
19
from torchrec .metrics .calibration import CalibrationMetric
20
20
from torchrec .metrics .ctr import CTRMetric
21
+ from torchrec .metrics .mae import MAEMetric
21
22
from torchrec .metrics .metrics_config import (
22
23
MetricsConfig ,
23
24
RecMetricEnum ,
46
47
RecMetricEnum .CALIBRATION : CalibrationMetric ,
47
48
RecMetricEnum .AUC : AUCMetric ,
48
49
RecMetricEnum .MSE : MSEMetric ,
50
+ RecMetricEnum .MAE : MAEMetric ,
49
51
RecMetricEnum .MULTICLASS_RECALL : MulticlassRecallMetric ,
50
52
}
51
53
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class RecMetricEnum(RecMetricEnumBase):
22
22
AUC = "auc"
23
23
CALIBRATION = "calibration"
24
24
MSE = "mse"
25
+ MAE = "mae"
25
26
MULTICLASS_RECALL = "multiclass_recall"
26
27
27
28
You can’t perform that action at this time.
0 commit comments