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

Alteryx Designer Desktop Discussions

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

Forest Model (97): Forest Model: Error in randomForest.default(m, y, ...)

Jegan
6 - Meteoroid

I am encountering this error when I was about the run prediction using the predictive.The decision tree is working fine but when it comes to the forest and boost model it kept saying error.Appreciate the help.Here is the link for the dateset I used and my workflow:

https://www.kaggle.com/adityajha1504/google-merchandise-adding-to-cart-prediction

7 REPLIES 7
AngelosPachis
16 - Nebula

Hi @Jegan ,

 

Can you please confirm which column you're oversampling in the Oversample feed tool? When I first opened your workflow, [fullvisitorid was selected. I replaced it with [addedtocart] and worked fine for me

 

AngelosPachis_0-1642153074815.png

 

Hope that helps,

Angelos

Jegan
6 - Meteoroid

Yes, need to use the addedToChart But even after changing it I still get an error at the model comparisonCapture.PNGison

AngelosPachis
16 - Nebula

@Jegan from what I can see from the screenshot you attached, the error might possibly be because there's no other model for the Model Comparison tool to use apart from the forest model. What if you connect the E output anchor to your Decision Tree tool and then the O output anchor of the tool to the union tool?

 

 

Jegan
6 - Meteoroid

@AngelosPachis  still got the error 😅😅

Capture.PNG

Jegan
6 - Meteoroid

Thanks for the sharing

mojgan1987
6 - Meteoroid

I'm having the same issue and unfortunately the page is now archived. Do you have the updated macro? 

 

Thanks

Labels