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

Bug in GBM python example #16288

Closed valenad1 closed 1 month ago

valenad1 commented 1 month ago

There is a syntax error in the python example.

https://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/gbm.html#examples

prostate = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv")
..
..
h = pros_gbm.h(prostate_train, ['DPROS','DCAPS'])