I'm getting this error while running the TS Model Factory:
Error in my_output[j, 8] <- fit_stat[2] :
Please advise
Turns out the 2021.2 version does not support those tools. I downgraded to the 2020.4 and the workflow runs.
Alteryx will need to solve that issue in the next version
try exporting your workflow instead of uploading it... also check out the solution here:
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Predictive-Logistic-Regression-Error/td-p/7929
Updated it
fyi - i'm not getting any errors on your workflow. it takes a bit to run but it's not recreating your error. It could be our R environments...
I'm not sure how to fix that, is there something I should be downloading? I have used a lot of R tools and have not ran into any issues before
My suggestion would be to try uninstalling and reloading the Alteryx R tool.
@KilianL- can you confirm that the workflow runs as posted for you?
@KilianL @apathetichell I uninstalled and reinstalled it and I'm still getting the error
Hi @User514 , that error is unexpected, your workflow runs without error for me.
You can contact Alteryx support team, they are very good at troubleshooting errors. You can submit your case here: https://community.alteryx.com/t5/Support/bd-p/SupportPage
Thank you for the response. Unfortunatly the support team still hasn't gotten back to me. Is there anything you suggest I try on my end?
I've uninstalled Alteryx and RAtleryx, and reinstalled them. I still get the same error.
Are there libraries I should have downloaded?
The TS Factory Macros should run without any further installs (Designer + predictive tools installed).
If you need a solution urgently, you can look into creating a batch macro around the standard TS Tools. You can read more about it here: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Time-Series-Factory-Tools-vs-Batch-Macro-Time-Series/ta-p/455753
Weird - I was running it in 2021.2 - but anyway - as noted - your workflow was solid. I don't mess with TS Model Factory personally - I'd use a batch macro if I had to. Btw -514 is Montreal?
Hi @User514 , in my case this tool is very useful.
The error is related with the output, I deleted the code and work for me.
Gabriel
Hi, Some time ago I discarded part of the script, but I have already identified the function that generates the problem.