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.92k stars 2k forks source link

failing pyunit_imbalance_gbm.py should report errors better #10934

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

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

The error message looks like this: {{ File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/PR_py3unit_small/h2o-py/tests/testdir_algos/gbm/pyunit_imbalanced_gbm.py", line 43, in imbalanced_gbm assert class_6_err_imbalanced >= 0.90*class_6_err_balanced, "balance_classes makes it at least 10% worse!" AssertionError: balance_classes makes it at least 10% worse! }} We should show the actual values.

h2o-ops commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-4043 Assignee: New H2O Bugs Reporter: Vlad Patryshev State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A