Skip to content

Commit

Permalink
casting categorical to array
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-taylor committed Mar 19, 2024
1 parent 6306805 commit 6beb419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ISLP/models/model_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def fit(self, X, y=None):

self.column_info_ = _get_column_info(X,
self.columns_,
self.is_categorical_,
self.is_ordinal_,
np.asarray(self.is_categorical_),
np.asarray(self.is_ordinal_),
default_encoders=self.default_encoders)
# include each column as a Feature
# so that their columns are built if needed
Expand Down

0 comments on commit 6beb419

Please sign in to comment.