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

Function compare_canonical_models

catboost/python-package/ut/medium/test.py:240–241  ·  view source on GitHub ↗
(model, diff_limit=0)

Source from the content-addressed store, hash-verified

238
239
240def compare_canonical_models(model, diff_limit=0):
241 return local_canonical_file(model, diff_tool=[model_diff_tool, '--diff-limit', str(diff_limit)])
242
243
244def _check_shape(pool, object_count, features_count):

Callers 15

test_predict_regressFunction · 0.85
test_onnx_exportFunction · 0.85
test_pmml_exportFunction · 0.85
test_zero_baselineFunction · 0.85
test_ones_weightFunction · 0.85

Calls 2

local_canonical_fileFunction · 0.50
strClass · 0.50

Tested by

no test coverage detected