Skip to content

Commit de54ace

Browse files
author
GitName
committed
fix float approximation in docstring
1 parent 05da8da commit de54ace

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: imblearn/metrics/_classification.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,8 @@ def macro_averaged_mean_absolute_error(y_true, y_pred):
10381038
0.25
10391039
>>> macro_averaged_mean_absolute_error(y_true_balanced, y_pred)
10401040
0.5
1041-
>>> np.round(macro_averaged_mean_absolute_error(y_true_imbalanced, y_pred,
1042-
4)
1043-
0.1667
1041+
>>> macro_averaged_mean_absolute_error(y_true_imbalanced, y_pred)
1042+
0.16666666666666666
10441043
10451044
"""
10461045
all_mae = []

0 commit comments

Comments
 (0)