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.
SOLVED

Error in using Score module with Logistic Regression model

shar
5 - Atom

Hi all,

 

I have successfully build a logistic regression model, but when I am trying to predict the output on the validation dataset using the "Score" module I am facing this error:

 

                Score (22)            Score: Error in names(scores) <- paste(score.field, "_", y.levels, sep = "") : 

 

Below is the screenshot of the "Score" module:

Capture.PNG

 

 

If anyone has faced this error before or knows how to tackle it, please reply.

 

 

Thanks,

Sharayu R

 

2 REPLIES 2
Bob_Blackey
11 - Bolide

Hi Sharayu,

 

The messages from the Predictive Tools can be a bit cryptic as they are coming from R. 

 

Some common things to look at when troubleshooting the Predictive tools:

 

Making sure your field names only have letter, numbers, periods and underscores  (don't start with a number).

Upper case and lower case makes a difference!

Make sure you don't have any missing values (use the DATA CLENSE tool)

You don't want fields with only one value (constants)

Make sure you field types are correct (strings vs. doubles vs. Integers)

 

Can you share the workflow?

 

Cheers,

Bob

 

P.S.  @JulieH can this get moved to the Advanced Analytics forum?

 

 

shar
5 - Atom

Thanks a lot Bob for your quick response!

 

I was able to fix the error by passing the train and test separately through an Alteryx db file. I was initially passing it directly from my database server.

 

Your points were definitely helpful.

 

 

Thanks,

Sharayu R

Labels