Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Logistic Regression: Error in Contrast ...


Hi guys, I need your help! Everything went smoothly until Logistic Regression pops up an error. 

Error: Logistic Regression (72): Logistic Regression: Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :

I do not understand this error and my Alteryx workflow are all configured and set. Why is it so?

Unable to proceed to the next project and the whole Udacity program is due 4 April which is 3 days to go.

Not sure where it got wrong.Please help if you can because it means a lot to me! 

Alteryx Partner
Alteryx Partner

There are many ways to get this error. The most common one would be that one of your variables has for all your samples have te same value. If this is the case, try to run the WF without that one.


Cannot do much more with no data sample or seeing the logreg config.


Hi @afv2688, attached is the original dataset. How to let you see the logreg config or where to find it ?

Alteryx Partner
Alteryx Partner

I mean, you did set up a target variable on the tool configuration as well as the predictor variables. Thats what I mean