Skip to content

Commit

Permalink
Use feature names
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherbunn committed Oct 31, 2023
1 parent aa7ca03 commit a5049b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evalml/pipelines/multiseries_regression_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ def predict_in_sample(
y_train_unstacked.columns.intersection(y_unstacked.columns)
]
X_unstacked = X_unstacked[
X_train_unstacked.columns.intersection(X_unstacked.columns)
X_train_unstacked.columns.intersection(
set(list(self.input_feature_names.values())[0]),
)
]

X_train_unstacked = infer_feature_types(X_train_unstacked)
Expand Down

0 comments on commit a5049b0

Please sign in to comment.