mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Add test case for pseudohubererror for XGBoost
This commit is contained in:
parent
d3f8d7b8f6
commit
8f84a315be
@ -336,7 +336,13 @@ class TestMLModel:
|
||||
@pytest.mark.parametrize("compress_model_definition", [True, False])
|
||||
@pytest.mark.parametrize(
|
||||
"objective",
|
||||
["reg:squarederror", "reg:squaredlogerror", "reg:linear", "reg:logistic"],
|
||||
[
|
||||
"reg:squarederror",
|
||||
"reg:squaredlogerror",
|
||||
"reg:linear",
|
||||
"reg:logistic",
|
||||
"reg:pseudohubererror",
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize("booster", ["gbtree", "dart"])
|
||||
def test_xgb_regressor(self, compress_model_definition, objective, booster):
|
||||
|
Loading…
x
Reference in New Issue
Block a user