Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Al-Saffar committed Dec 7, 2023
1 parent 50afac9 commit faf1365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myresources/crocodile/deeplearning_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def fit(self, df: 'pd.DataFrame'):
self.clipper_categorical.fit(df=df.loc[:, self.cols_ordinal + self.cols_onehot])
self.encoder_onehot.fit(df[self.cols_onehot])
self.encoder_ordinal.fit(df[self.cols_ordinal])
self.clipper_numerical.fit(df[self.cols_numerical])
self.clipper_numerical.fit(df.loc[:, self.cols_numerical])
self.imputer.fit(df[self.cols_numerical])
self.scaler.fit(df[self.cols_ordinal + self.cols_numerical])

Expand Down

0 comments on commit faf1365

Please sign in to comment.