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

Function test_generated_survival_aft

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

Source from the content-addressed store, hash-verified

2837
2838
2839def test_generated_survival_aft():
2840 cd_file = data_file('survival_aft', 'train.cd')
2841 _test_generated_metrics(
2842 'SurvivalAft',
2843 Pool(data=data_file('survival_aft', 'train'), column_description=cd_file),
2844 Pool(data=data_file('survival_aft', 'test'), column_description=cd_file),
2845 {
2846 'SurvivalAft': metrics.SurvivalAft()
2847 },
2848 "survival_regression"
2849 )
2850
2851
2852def test_generated_cox():

Callers

nothing calls this directly

Calls 3

PoolClass · 0.90
_test_generated_metricsFunction · 0.85
data_fileFunction · 0.50

Tested by

no test coverage detected