Remove unused variable. (#8046)
This commit is contained in:
parent
8746f9cddf
commit
ff1c559084
@ -2668,7 +2668,7 @@ class Booster:
|
||||
values = []
|
||||
# pylint: disable=consider-using-f-string
|
||||
regexp = re.compile(r"\[{0}<([\d.Ee+-]+)\]".format(feature))
|
||||
for i, val in enumerate(xgdump):
|
||||
for val in xgdump:
|
||||
m = re.findall(regexp, val)
|
||||
values.extend([float(x) for x in m])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user