Skip to content

Commit

Permalink
Update python-package/lightgbm/engine.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Titov <[email protected]>
  • Loading branch information
jameslamb and StrikerRUS authored Dec 18, 2024
1 parent 4176327 commit d116279
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 @@ -607,7 +607,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 d116279

Please sign in to comment.