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

Function test_pool_is_quantized

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

Source from the content-addressed store, hash-verified

8586
8587
8588def test_pool_is_quantized():
8589
8590 quantized_pool = Pool(data=get_quantized_path(QUANTIZED_TRAIN_FILE), column_description=QUANTIZED_CD_FILE)
8591 assert quantized_pool.is_quantized()
8592
8593 raw_pool = Pool(QUERYWISE_TRAIN_FILE, column_description=QUERYWISE_CD_FILE)
8594 assert not raw_pool.is_quantized()
8595
8596
8597def test_quantized_pool_with_all_features_ignored():

Callers

nothing calls this directly

Calls 2

PoolClass · 0.90
get_quantized_pathFunction · 0.85

Tested by

no test coverage detected