You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement BaseXClassifier for a classification setting and when i used BaseXClassifier.fit() on a binary dependant variable (y) throws ValueError: Unknown label type: 'continuous'
Hey @LucasDresl thanks for the question- you need to supply a regressor model (e.g. LinearRegression) to the control_effect_learner and treatment_effect_learner arguments. FYI we're updating the API for next release whereby you just have to provide 2 models (instead of 4 currently), probably in a couple weeks.
Description
I am trying to implement BaseXClassifier for a classification setting and when i used BaseXClassifier.fit() on a binary dependant variable (y) throws ValueError: Unknown label type: 'continuous'
To Reproduce
Environment:
Expected behaviour
I was expecting to classifier fit because my y is binary (0 or 1)
The text was updated successfully, but these errors were encountered: