Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
Free Trial

Alteryx Designer Desktop Discussions

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

Error: Decision Tree (320): Decision Tree: Error in fn(y_pred = predicted, y_true = actual

FelipeA
5 - Atom

I'm getting the following error when try to run the Decision Tree Tool:

 

Error: Decision Tree (320): Decision Tree: Error in fn(y_pred = predicted, y_true = actual

 

The entire error can be checked out in the attached image.

 

If someone could help I would appreciate it!

1 REPLY 1
SydneyF
Alteryx Alumni (Retired)

Hi @FelipeA

 

The R error "subscript out of bounds" typically means the code is trying to access an object that isn't there (e.g., field 15 in a data set with 10 fields). I suspect something might be happening with your input data or set up. Would it be possible for you to share your workflow with your data (Options > Export Workflow)? 

Labels
Top Solution Authors