Hello,
I was trying to use the SARIMA Learner and Predictor nodes.
I was getting the below mentioned errors.
“Unable to import datetime from pandas”
I checked the error message on ChatGPT and understand that the code needs to be revised as below.
from pandas import Timestamp
Also, I am getting an error that knime_io has been deprecated and knime.scripting.io package needs to be used. In the SARIMA Predictor component, only last statement in the code needs to be changed along with the import statement.
knio.output_tables[0] = knio.Table.from_pandas(out)
Also, the Dynamic selection in the SARIMA predictor has the “Output as Integer” selected in the configuration which was resulting in the Python Script failure in the Try-Except loop inside the configuration. Additionally, keeping the Default as selected option is resulting in an error as follows -
ERROR Python Script 3:59:0:376 Execution failed in Try-Catch block: ValueError: In-sample dynamic prediction is not available if memory conservation has been used to avoid storing forecasted or predicted state means or covariances.
It would be great if the default selection for Dynamic can be kept as “Blank” and the Output as Integer option within the boolean configuration node kept as unticked.
I was hoping that the KNIME team can review the Time Series components and update the backend Python scripts for direct use.
Thanks.
–
Best Regards,
nilotpalc