Skip to content

Commit de5da74

Browse files
codeloopahosler
authored andcommitted
fix function call
1 parent eb9b58f commit de5da74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/opctl/operator/lowcode/forecast/model/ml_forecast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _train_model(self, data_train, data_test, model_kwargs):
144144

145145
def _build_model(self) -> pd.DataFrame:
146146
data_train = self.datasets.get_all_data_long(include_horizon=False)
147-
data_test = self.datasets.get_all_data_long_test()
147+
data_test = self.datasets.get_all_data_long_forecast_horizon()
148148
self.models = dict()
149149
model_kwargs = self.set_kwargs()
150150
self.forecast_output = ForecastOutput(

0 commit comments

Comments
 (0)