Skip to content

Commit

Permalink
Fixed issue where feature_names wasn't propagating to EBM after refac…
Browse files Browse the repository at this point in the history
…tor.
  • Loading branch information
interpret-ml committed Dec 12, 2019
1 parent fdfd531 commit 3aaf4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/interpret-core/interpret/glassbox/ebm/ebm.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def fit(self, X, y): # noqa: C901

# Build preprocessor
self.preprocessor_ = EBMPreprocessor(
schema=self.schema, binning_strategy=self.binning_strategy, feature_types=self.feature_types
schema=self.schema, binning_strategy=self.binning_strategy, feature_names=self.feature_names, feature_types=self.feature_types
)
self.preprocessor_.fit(X)

Expand Down

0 comments on commit 3aaf4fd

Please sign in to comment.