Unify metric names in ApiMetric
& MetricsRepository
#1097
Labels
api
Anything related to user-facing interfaces & parameter passing
good first issue
Good for newcomers
minor
Minor changes
Currently, when a user passes a metric name to FEDOT API, the
ApiMetric
maps the name to the function.ApiMetric
contains its own map from metric names to metric implementations that does not correspond to the innerMetricsRepository
.This leads to different metric names in API ("acc" instead of "accuracy") or inability to use some metrics by their names (such as "precision")
Therefore,
ApiMetric
should useMetricsRepository
instead of its own map.The text was updated successfully, but these errors were encountered: