SARIMA Temperature Forecasting

This workflow demonstrates how the SARIMA components can be used to generate forecasts. In this case for hourly temperature data.


This is a companion discussion topic for the original entry at https://kni.me/w/uBLF2U7A9IiqWvmv

Hi,

I wanted to forecast using automatic SARIMA but I am getting this notification

ERROR Breakpoint 7:56:0:84:0:346:347 Execute failed: Seasonal component settings incompatable, verify S and at least one other term are non-zero, or all are zero.

How can i solve this problem.

Thanks

Hi @gizemyigi and welcome to the forum.

I am able to run this workflow without any changes as downloaded from the Hub. Are you making changes to the settings, or trying to use a different input file?

If so, maybe it would best to post a new thread on the main Analytics Platform with more details (and if possible, uploading your workflow in progress):

1 Like

Hi @ScottF

Why the workflow isn’t loading?
The forecast process freezes in the loading phase.


Auto-SARIMA

It looks like the workflow is loading OK, but is stuck on execution of the Auto-SARIMA component.

How long did you let the component run? It can take quite a while depending on the input parameters. Do you see any message in the console or the log?

2 Likes

About 15 minutes

ready charge however it took a long time. can i influence my pc?

Check here for how you can allocate more RAM to KNIME:

You may also just need a faster CPU, depending on your hardware.

2 Likes

@ScottF What a shame to bother one last time, I want to know if it is possible for the forecast to give me an interval instead of a single value

Something like this?

One of our other data scientists has made the preliminary updates to the component, but we need to do a bit of verification and testing before it gets pushed to the public KNIME Hub. So watch the Auto-SARIMA component for a future update!

(And thanks for the feedback!)

2 Likes

Also it just occurred to me that the main reason this component took so long to run on your machine was the Conda Environment Propagation node embedded inside, which is creating a new Python environment with the packages needed to run.

The good news is this is a one time operation, and subsequent executions of the component will use the already created environment. So future runs should be noticeably faster.

2 Likes

Thanks for all, I really appreciate your help. I can’t wait for it.

Hi @Jalvear -

The component has been updated to include the lower and upper bounds. Hope this helps!

2 Likes

A post was split to a new topic: Auto-SARIMA and Python Trouble

Hi,
The workflow throws the following exception. Can anyone help to solve the problem? thank you.

==========================================
ERROR Python Script (1⇒1) (deprecated) 3:38:0:110:0:56:0:2 Execute failed: Can only compute partial correlations for lags up to 50% of the sample size. The requested nlags 499 must be < 250.
Traceback (most recent call last):
File “”, line 13, in
File “C:\Users\xxxx\Anaconda3\envs\SARIM\lib\site-packages\statsmodels\tsa\stattools.py”, line 996, in pacf
raise ValueError(
ValueError: Can only compute partial correlations for lags up to 50% of the sample size. The requested nlags 499 must be < 250.

====================

Did you adjust the nlags parameter to be less than 250, and see if it will run successfully then?

Hello there, is there any solution for this error here? Thanks a lot! Best regards!

Your current python environment does not contain the statsmodels library. You can read more about setting up your python environment in our docs here: KNIME Python Integration Guide

1 Like