mirror of https://github.com/microsoft/autogen.git
Update flaml/automl.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
parent
5faafa01d4
commit
39d8c0e3e8
|
@ -2376,7 +2376,7 @@ class AutoML(BaseEstimator):
|
||||||
def cv_score_agg_func(val_loss_folds, log_metrics_folds):
|
def cv_score_agg_func(val_loss_folds, log_metrics_folds):
|
||||||
return metric_to_minimize, metrics_to_log
|
return metric_to_minimize, metrics_to_log
|
||||||
```
|
```
|
||||||
“val_loss_folds” - list of float, it records the loss scores of each ford; “log_metrics_folds” - list of dict/float, it records the metrics of each fords to log.
|
“val_loss_folds” - list of floats, the loss scores of each fold; “log_metrics_folds” - list of dicts/floats, the metrics of each fold to log.
|
||||||
This function should return the final aggregate result of all folds. A float number of the minimization objective, and a dictionary as the metrics to log or None.
|
This function should return the final aggregate result of all folds. A float number of the minimization objective, and a dictionary as the metrics to log or None.
|
||||||
E.g.,
|
E.g.,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue