Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
wgifford committed Sep 18, 2024
1 parent 47c3e97 commit b3ae7cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/inference/tsfminference/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def _forecast_common(self, input_payload: ForecastingInferenceInput) -> PredictO
explode_forecasts=True,
feature_extractor=preprocessor,
add_known_ground_truth=False,
feature_extractor=preprocessor
)

# truncate data length when exploding
Expand All @@ -145,7 +144,7 @@ def _forecast_common(self, input_payload: ForecastingInferenceInput) -> PredictO
# future_data = preprocessor.preprocess(future_data)
# future_data.drop(columns=input_payload.target_columns)

forecasts = forecast_pipeline(test_data, future_time_series=future_data, inverse_scale_outputs=True)
forecasts = forecast_pipeline(data, future_time_series=future_data, inverse_scale_outputs=True)

return PredictOutput(
model_id=input_payload.model_id,
Expand Down

0 comments on commit b3ae7cf

Please sign in to comment.