Skip to content

Commit

Permalink
fix: proper indexes length
Browse files Browse the repository at this point in the history
  • Loading branch information
Lopa10ko committed Jun 14, 2024
1 parent e43412e commit 805947f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def predict(self, input_data):
predictions = self.model.forecast(steps=forecast_length)
predict = np.array(predictions).reshape(1, -1)

input_data.idx = np.arange(start_id, end_id)
input_data.idx = np.arange(start_id, end_id + 1)

output_data = self._convert_to_output(input_data,
predict=predict,
Expand Down

0 comments on commit 805947f

Please sign in to comment.