mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-27 06:59:03 +00:00
fix
This commit is contained in:
parent
50fb20ebbc
commit
96f0688595
@ -536,6 +536,8 @@ def evaluate_model_CV(
|
||||
log_training_metric=log_training_metric,
|
||||
fit_kwargs=fit_kwargs,
|
||||
)
|
||||
if isinstance(metric_i, dict) and "intermediate_results" in metric_i.keys():
|
||||
del metric_i["intermediate_results"]
|
||||
if weight is not None:
|
||||
fit_kwargs["sample_weight"] = weight
|
||||
total_fold_num += 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user