Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #131: Think Like a CSE... The R Error Message: cannot allocate vector of size...

gawa
16 - Nebula
16 - Nebula

Cannot reproduce issue(ver 2022.3) but

Spoiler
it should be datasize problem, and can be solve by deselecting unnecessary fields because cluster tools usually need a couple of fields.
And, csv file always load data as STRING, so using Autofield would help to reduce size
olga_strubbe
11 - Bolide

Thank you, @SydneyF!

This was my first time trying out predictive grouping tools.  The R-code is not supported in my workplace, but I was able to follow the logic and how the batch macro needs to be configured to split the workflow in smaller chunks to help solve the size error.  Thanks again!

 

Batch macro:

2.png

 

Workflow using the batch macro:

2024-02-05_14-01-19.png

Reesetrain2
9 - Comet
9 - Comet

All,

 

Well, there was only the solution so I used the Decision Tree to check the Clustering as it fit with a R of .835, so very well done!

Spoiler
Screenshot 2024-02-09 180912.png

Erin
10 - Fireball

R errors are the worst. In my humble opinion....

Bobbyt23
12 - Quasar
Spoiler
I googled what the error meant and it indicated that the data was probably too big and the process was running out of RAM.

Two possible solutions:
Get more RAM
Reduce the data- You could get rid of anything unnecessary for the process, or batch the data up in to chunks to run through smaller datasets.



ggruccio
ACE Emeritus
ACE Emeritus

I applied the Principal Components solution that I originally posted on the thread in 2018.

 

Spoiler
Looks like the Factors (PC) did too good a job of identifying the clusters!  5PCs = 5 Clusters this time...

Screenshot 2024-10-30 084032.png