Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Error running K-Centroids Cluster Analysis Sample workflow

Gadro
6 - Meteoroid

Hello everyone,

 

I've attempted to run the K-centroids sample workflow but am getting these persistent errors captured in the screenshot attached below. These errors persist in other workflows when attempting to use the tool. A quick search made me suspect unary values and 0 variance may be the cause but since this error comes up when running the sample workflow this is probably not the case.

 

Has anyone encountered a similar issue and/or knows how to resolve it?

 

Thanks in advance!

Gadro_0-1663615315780.png

 

9 REPLIES 9
AndrewSu
Alteryx
Alteryx

@Gadro , could you please share the workflow in question?  Where did you find this workflow?  

Gadro
6 - Meteoroid

Hello,

 

As mentioned the workflow in question is Alteryx's sample workflow K-Centroids Cluster Analysis Sample Workflow. In designer Click Help, Predictive Tool Samples, Predictive Analytics, 7 - K-Centroids Cluster Analysis Sample.

 

Gadro_0-1663628176160.png

 

AndrewSu
Alteryx
Alteryx

@Gadro , thanks for the clarification!  Click path was helpful for me to locate it in my environment. 

 

I can confirm that I am on 22.1 and that this workflow works for me.  What version of Designer are you currently on?  You may need to uninstall/reinstall the predictive starter kit.  

 

See this link for how to download the starter kit:  https://help.alteryx.com/20221/designer/download-and-use-predictive-tools 

 

See this link for how to uninstall current starter kit: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Cannot-Re-install-Starter-Kits/td-p/53... 

 

Hope this helps.  If doing this resolves your issue, please mark it as a solution so the rest of the community can benefit from our collaboration. 

 

Thanks!

Gadro
6 - Meteoroid

Hi @AndrewSu, thanks for getting back to me. We are on version 22.1.1. We have the full R Analytics kit installed. Do we need to install the predictive starter kit as well? All other tools seem to work fine.

AndrewSu
Alteryx
Alteryx

@Gadro ,  my apologies.  I mistook the "Predictive tool samples" as a starter kit, but I think those are actually installed when you install the Predictive tools.  

 

Check out this article on how to uninstall the predictive tools

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Uninstall-Predictive-Analytic-Tools/td... 

 

After you do this, you can reinstall them thru your licensing portal

 

https://alteryx.flexnetoperations.com/flexnet/operationsportal/startPage.do 

 

AndrewSu_0-1663711807561.png

AndrewSu_1-1663711856061.png

 

Gadro
6 - Meteoroid

Hello Andrew,

 

Thanks for the response. We went through the process of uninstalling and reinstalling predictive tools but the errors are persisting. Any other suggestions?

 

Thanks in advance!

 

Gadro_0-1664210658644.png

 

AndrewSu
Alteryx
Alteryx

@Gadro ,  please try downloading the attached macro and replace the existing "K-Centroids Cluster Analysis" Macro on your workflow with this new macro and see if that works.

 

If that does not work, I think you may need to submit a support ticket which you can do at the link below. 

https://alteryx-community.force.com/CustomerCasePortal/s/createrecord/New_Case_Portal_Case?lang=en 

Gadro
6 - Meteoroid

Thanks, Andrew. We'll give that a try.

AndrewSu
Alteryx
Alteryx

@Gadro , please mark the previous post as a solution if the issue is resolved.  

 

That way other's in the community can benefit from our collaboration. 

 

Thanks. 

Labels