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

Function _clear_training_files

catboost/python-package/catboost/core.py:1545–1549  ·  view source on GitHub ↗
(train_dir)

Source from the content-addressed store, hash-verified

1543
1544
1545def _clear_training_files(train_dir):
1546 for filename in ['catboost_training.json']:
1547 path = os.path.join(train_dir, filename)
1548 if os.path.exists(path):
1549 os.remove(path)
1550
1551
1552def _get_train_dir(params):

Callers 1

_get_catboost_widgetFunction · 0.85

Calls 2

joinMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected