h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.82k stars 2k forks source link

Uplift Modeling error: -- "NotImplementedError: BinomialUplift" #15985

Closed wendycwong closed 6 months ago

wendycwong commented 7 months ago

Support ticket: https://support.h2o.ai/a/tickets/107110

Code used to produce error:

Code:

train_h2o = h2o.upload_file('train.csv') train_h2o['target'] = train_h2o['target'].asfactor() train_h2o.drop('C1', axis=1) #was the index h2o_uplift_model = H2OUpliftRandomForestEstimator( treatment_column='treatment', seed=42 ) h2o_uplift_model.train(y='conversion', x=list(X_train.columns), training_frame=train_h2o) h2o_uplift_model

Error observed:

image

wendycwong commented 6 months ago

This error is generated due to the mismatch of h2o cluster and client version. Once the client fixed the mismatch, it is working.l