Skip to content

Commit

Permalink
Merge branch 'python/remove-cv-agg' of github.com:microsoft/LightGBM …
Browse files Browse the repository at this point in the history
…into python/remove-cv-agg
  • Loading branch information
jameslamb committed Dec 18, 2024
2 parents 47bd9d7 + d116279 commit c5a69fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/lightgbm/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def _agg_cv_result(
# (<dataset_name>, <metric_name>, mean(<values>), <is_higher_better>, std_dev(<values>))
# ]
return [
(k[0], k[1], float(np.mean(metric_values[k])), metric_types[k], float(np.std(metric_values[k])))
(k[0], k[1], float(np.mean(v)), metric_types[k], float(np.std(v)))
for k, v in metric_values.items()
]

Expand Down

0 comments on commit c5a69fd

Please sign in to comment.