Skip to content

Commit

Permalink
Flipped base list
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherbunn committed Oct 31, 2023
1 parent be5da54 commit 5635cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions evalml/pipelines/multiseries_regression_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ def predict_in_sample(
# Order series columns to be same as expected input feature names
input_features = list(self.input_feature_names.values())[0]
X_unstacked = X_unstacked[
[feature for feature in X_unstacked.columns if feature in input_features]
[feature for feature in input_features if feature in X_unstacked.columns]
]
X_train_unstacked = X_train_unstacked[
[
feature
for feature in X_train_unstacked.columns
if feature in input_features
for feature in input_features
if feature in X_train_unstacked.columns
]
]
y_overlapping_features = [
Expand Down

0 comments on commit 5635cc2

Please sign in to comment.