Hi,
I'm trying to setup a logistic regression model to predict which store orders would be returned (I've used the Superstore data to setup the model). See the Alteryx workflow attached.
I am getting the following two error messages:
- Error: Logistic Regression (23): Tool #214: Tool #30: The field "Fit_Stats" is not contained in the record.
- Error: Logistic Regression (23): Logistic Regression: The target variable must only have two unique values.
I'm not sure that I understand the first error message but for the second my target variable only has the values 'True' or 'False'.
Kind regards
Alastair
Solved! Go to Solution.
Alteryx doesn't seem to like your target field being a bool.
Leave it as a V_String and it will work.
On a side note, I'm not sure 'orderID' should be considered as a predictor variable to whether an order is returned or not because they are all unique!
Ben