Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Hourly predictions

gianip
6 - Meteoroid

Hi

 

I have a data set which looks like this:

 

IDDate-Hour-MinuteVALUE
103.08.2020 00:5042621
203.08.2020 01:5069828
303.08.2020 02:5070897
403.08.2020 03:5073074
503.08.2020 04:50741136
603.08.2020 05:50741491
703.08.2020 06:50818614
803.08.2020 07:50845002
903.08.2020 08:50852243
1003.08.2020 09:50862989
1103.08.2020 10:50878809
1203.08.2020 11:50886333
1303.08.2020 12:50905734
1403.08.2020 13:50908544
1503.08.2020 14:50909821
1603.08.2020 15:50910864
1703.08.2020 16:50911989
1803.08.2020 17:50912165
1903.08.2020 18:50912341
2003.08.2020 20:50931256
2103.08.2020 21:50931410
2203.08.2020 22:50931654
2303.08.2020 23:50931848
2404.08.2020 00:506298
2504.08.2020 01:5083324

 

 

The dataset contains data back 1 year (rolling) and ID (random number ascending), Datetime and the Value. I have a value for every hour per day (24 per day).

 

What I want to achieve is to predict the values for the upcoming days considering the hours, means I like to predict 24 values per day in near future considering the seasonality (e.g. higher values at month ends etc.)

 

Can somebody bring me on the right path how I can achieve this? I have tried by using the tools ARIMA or ETS, but was not able to achieve the output i want.
The output should be in the same format as the input, so that I can use the daily / hourly values of the future as thresholds and feed into a DB and then do a comparisonwith the real values during the days in future.

 

Hope, somebody can help.

 

Regards

Giani

2 REPLIES 2
jrgo
14 - Magnetar

Hi @gianip 

 

These type of questions don't usually get much replies since designing a predictive model is a bit more involved than just dropping a few tools and getting your prediction, or a good prediction to be exact. 

 

That said, and with some down time at the moment, here's a general approach (workflow attached). The first part is looking that the quality of your data is solid and that your data is not missing any intervals you're looking to create your forecast on. in this case, there was one missing. This would have caused the issues with the forecast data as the periods and sub-periods it produced would have been misrepresented. I.e. a forecast for hour 0500 should actually have been for hour 0600. 

 

The forecast it generated is not ideal, but likely because there wasn't enough historical data to produce a good prediction. That said, you'll likely have to go through some trial/error to fine-tune the model configurations till you get a good fit, which is where my help stops 🙂

 

jrgo_1-1629405427166.png

 

Hope this helps!

Jimmy

gianip
6 - Meteoroid

Hi @jrgo 

 

Wow, I'm impressed how fast I get a first reply on my post. 

 

I think with your help I understand more about how to start with this project and how to use the tools. The thing with filling the gaps is something that I didn't know.

So, thank you very much for guiding me in a direction. Very appreciated.

 

Maybe I'll come back in later stage with some additional questions when the workflow development is more mature 🙂

 

Regards

Labels