Hello -
I'm new to alteryx, though not to data or modeling. My goal is to create a TS model (ETS or Arima) that estimates models by groups. So, I downloaded TS Model Factory from the gallery and attached the modeling dataset (attached) to the macro input tool. The data seem to be fine - at least 24 obs per group with no nulls for the target variable or the grouping variable.
However, I'm receiving an error at the R Tool "node" saying "The input '#1' was not initialized. I don't completely understand the error and so can't fix it: In looking at the code within the R Tool I see that:
read.Alteryx("#1", mode="data.frame")if (AlteryxFullUpdate)
Should I switch to another read mode? Or is this something else that I'm missing entirely?? Any help in this would be tremendously appreciated as my deadline is beginning to seriously loom.
Thanks very much,
John
Solved! Go to Solution.
Hello @JohnTheAnalyst
I´m not sure if I got your question right...I believe you are trying to work directly on the TS Model factory macro file (yxmc) , but in order to use a macro we need to bring it as tool to a workflow.
Just tried to run your dataset using
the TS Model Factory and everything went fine, so I'll write down my steps:
1)Download the TS Model Factory tool from the Gallery
2) Import the package into Designer ( I believe we're on the same page here at this point)
3) Start a new workflow and import your dataset to it
4) Right-click anywhere on the canvas and choose the options "Find Tool" -> "Insert" -> "Macro" -> "TS ModelFactory (snapshot attached). Now you'll see the tool on the canvas
5) Connect the input data and configure the tool
My workflow is also attached
Hope it helps
Regards
Thank you so much! I guess I wanted to make that far more difficult than it was. Very straightforward (and even elegant) advise. You rescued my deadline))
Glad I could help! Good luck on your task @JohnTheAnalyst