This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm experiencing issues with Boolean Data Type variables Predictive models. I'm using the titanic data set from Kaggle to play around with Alteryx.
When I set "Survived" as a string, I'm able to run the data through Decision Tree, Logistic Regression, Naïve Bayes Classifier, Boosted Model and Forest Model without any issues.
When I change "Survived" to Boolean value, Logistic Regression and the Naïve Bayes Classifier both refuse to acknowledge the variable as a target option. The Decision Tree and Forest Model will both run, but with the warning that "The target variable is numeric, however, it has 4 or fewer unique values." The Boosted model gives the error "The minimum of the loss function was likely not obtained."
Can someone explain to me why the Predictive models are able to proceed with the binary option in a string, but can't as a Boolean?