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.86k stars 1.99k forks source link

GBM, DRF: model-build doesn't fail when some parameters that are NOT modifiable by checkpoint, are modified #14792

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

For example, nbins_cats is not in the list of:

private static String[] MODIFIABLE_BY_CHECKPOINT_FIELDS = new String[] { "_ntrees", "_max_depth", "_min_rows", "_r2_stopping"};

But when I do when I do this:

model1 = h2o.gbm(x=cars[predictors],y=cars[response_col],ntrees=10,max_depth=2, min_rows=10,distribution=distribution)

the below fails to fail

model = h2o.gbm(y=cars[response_col],x=cars[predictors],nbins_cats=99,distribution=distribution,checkpoint=model1._id)

same for nbins, balance_classes, and nfolds parameters

DinukaH2O commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-1833 Assignee: Michal Malohlava Reporter: Eric Eckstrand State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A