MCPcopy Create free account
hub / github.com/catboost/catboost / test_lambda_mart

Function test_lambda_mart

catboost/python-package/ut/medium/test.py:7020–7023  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7018
7019
7020def test_lambda_mart():
7021 pool = Pool(QUERYWISE_TRAIN_FILE, column_description=QUERYWISE_CD_FILE)
7022 cb = CatBoostRanker(loss_function='LambdaMart', iterations=3, devices='0')
7023 cb.fit(pool)
7024
7025
7026@pytest.mark.parametrize('param_type', ['indices', 'strings'])

Callers

nothing calls this directly

Calls 3

fitMethod · 0.95
PoolClass · 0.90
CatBoostRankerClass · 0.90

Tested by

no test coverage detected