-
Notifications
You must be signed in to change notification settings - Fork 546
Description
Is your feature request related to a problem? Please describe.
The AutoML instance argument metric documentation is currently:
metric - A string of the metric name or a function, e.g., 'accuracy', 'roc_auc', 'roc_auc_ovr', 'roc_auc_ovo', 'roc_auc_weighted', 'roc_auc_ovo_weighted', 'roc_auc_ovr_weighted', 'f1', 'micro_f1', 'macro_f1', 'log_loss', 'mae', 'mse', 'r2', 'mape'. Default is 'auto'. If passing a customized metric function, the function needs to have the following input arguments:
where it lists examples of metrics that are supported, but doesn't provide a full list of all metrics.
This forces a user to trawl through the AutoML source code to verify whether that metric is supported in the first place.
An SDK that forces a user to manually go through its underlying source code is undesirable.
Describe the solution you'd like
- The docstring for the
metricargument should provide the full list of supported metric values. - If this is too verbose, then in the very least it should contain a url link to some page where the full list can be found.
If this is already documented somewhere, then it should be made much more obvious to someone reading the docs via the two methods above.
Additional context
No response