Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Don't forget to submit your entry for the Excellence Awards by October 30! | Need more information about the program? Check out the blog here

Model Comparison Unable to Execute

5 - Atom

I am working on a project that requires me to use the model comparison tool to see which of four models is most accurate. However, the model comparison tool always causes an error and will not produce an output. I have installed the ROCR package via R. The three errors I am getting are:  Model Comparison (92) Tool #3: Error in `[.data.frame`(pred_probas, , new_positive_class) : ;  Model Comparison (92) Tool #3: Execution halted ;  Model Comparison (92) Tool #3: The R.exe exit code (1) indicated an error. What could possibly be causing this?


Alteryx Certified Partner

Hi @rachela 


In the model compare tool, you may want to verify that the positive class (binary) target variable you entered is found in your data set. Based on the workflow you shared, it's set to "Yes". Confirm that "Yes" is in your target field "Credit-Application-Result".


Hope this helps!

Teknion Data Solutions

5 - Atom

That was my problem! It should have been "Creditworthy". Thanks so much!