community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
Alteryx Gallery is experiencing a problem in which system emails are not being sent out. As a result, if you are attempting to sign up for a new account, you may be unable to verify your email address. We are working to solve this as soon as possible and will remove this notice once resolved.
SOLVED

Error in using Score module with Logistic Regression model

Highlighted
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

 

Alteryx Partner

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?

 

 

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