You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes predict() in LSTM and TCN to fail when segment for prediction is specified explicitly, and is not compatible with other models such as LGBModel, e.g.
model.predict(dataset=dataset, segment="pred")
Possible revision:
defpredict(self, dataset: Dataset, segment: Union[Text, slice] ="test") ->object:
ifnotself.fitted:
raiseValueError("model is not fitted yet!")
dl_test=dataset.prepare(segment, col_set=["feature", "label"], data_key=DataHandlerLP.DK_I)
The text was updated successfully, but these errors were encountered:
The definition of function predict()
in files
lacks an optional argument "segment", as defined in the base class
This causes predict() in LSTM and TCN to fail when segment for prediction is specified explicitly, and is not compatible with other models such as LGBModel, e.g.
Possible revision:
The text was updated successfully, but these errors were encountered: