Unverified Commit 42a42670 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[python-package] fix mypy error in Booster.get_split_value_histogram() (#5794)

parent 9fce6b8f
......@@ -4415,7 +4415,7 @@ class Booster:
model = self.dump_model()
feature_names = model.get('feature_names')
tree_infos = model['tree_info']
values = []
values: List[float] = []
for tree_info in tree_infos:
add(tree_info['tree_structure'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment