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

Function _check_data

catboost/python-package/ut/medium/test.py:248–249  ·  view source on GitHub ↗
(data1, data2)

Source from the content-addressed store, hash-verified

246
247
248def _check_data(data1, data2):
249 return np.all(np.isclose(data1, data2, rtol=0.001, equal_nan=True))
250
251
252def _count_lines(afile):

Callers 15

checkFunction · 0.70
test_load_seriesFunction · 0.70
test_load_generatedFunction · 0.70
test_load_dumpsFunction · 0.70
test_pool_from_slicesFunction · 0.70
test_save_modelFunction · 0.70
test_querywiseFunction · 0.70
test_group_weightFunction · 0.70

Calls 1

allMethod · 0.45

Tested by

no test coverage detected