(train_dir)
| 1543 | |
| 1544 | |
| 1545 | def _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 | |
| 1552 | def _get_train_dir(params): |
no test coverage detected