ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Creating Dummy Variable with large Number of Values

MAAbdullahAlMubarah
アステロイド

Dear Alteryx Experts 

 

I want to use linear regression for prediction, but I have a problem with the predictor variables (X-axis) 3 of them are categorical and I have at least 60 values on each of them , If I use formula tool for creating dummy variable I believe it will take more than 2 or 3 days to do so , can anyone tell me how to solve this issue faster? 

Note (If macro needed please provide it with workflow example for dummy creation for 60 values). 

14件の返信14
MAAbdullahAlMubarah
アステロイド

The same thing will happen even if I use R, I'm sure for that, I have experience with R, For Python, I think it will work but

I 'm not Python developer, can I get feedback from @jdunkerley79 and @BenMoss how to deal with this issue? 

JoeS
Alteryx Alumni (Retired)

As you have done the work inside Alteryx, you shouldn't get the error from the linear regression anymore?

MAAbdullahAlMubarah
アステロイド

I didn't get your point?

JoeS
Alteryx Alumni (Retired)
Sorry, what I meant is that using the transpose and crosstab has pulled the work out of R and into Alteryx, so you shouldn't get the matrix error anymore?
MAAbdullahAlMubarah
アステロイド

There is no error from the dummy variables, I mean in the regression tool it cannot handle this large matrix of dummy variables created, It has a memory limitation problem.  

ラベル
トップのソリューション投稿者