Skip to content

Commit

Permalink
patches to deal with categorical data in xgboost
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul committed Jul 1, 2022
1 parent 60fce5b commit 078402e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xgbse/_kaplan_neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def fit(
if time_bins is None:
time_bins = get_time_bins(self.T_train, self.E_train)
self.time_bins = time_bins
# TODO check this section....

# converting data to xgb format
dtrain = convert_data_to_xgb_format(X, y, self.xgb_params["objective"], enable_categorical=enable_categorical)
Expand Down

0 comments on commit 078402e

Please sign in to comment.