Skip to content

Commit

Permalink
[python-package] Fix class Booster: feature_types = None
Browse files Browse the repository at this point in the history
  • Loading branch information
Roffild committed Feb 13, 2021
1 parent 9a0399e commit 344cb16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python-package/xgboost/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ class Booster(object):
"""

feature_names = None
feature_types = None

def __init__(self, params=None, cache=(), model_file=None):
# pylint: disable=invalid-name
Expand Down

0 comments on commit 344cb16

Please sign in to comment.