(task_type)
| 3600 | |
| 3601 | |
| 3602 | def test_cv_skip_train_default(task_type): |
| 3603 | pool = Pool(TRAIN_FILE, column_description=CD_FILE) |
| 3604 | train_dir_prefix = test_output_path('') |
| 3605 | results = cv( |
| 3606 | pool, |
| 3607 | { |
| 3608 | "iterations": 20, |
| 3609 | "learning_rate": 0.03, |
| 3610 | "loss_function": "Logloss", |
| 3611 | "custom_loss": "AUC", |
| 3612 | "task_type": task_type, |
| 3613 | "gpu_ram_part": TEST_GPU_RAM_PART, |
| 3614 | "train_dir": os.path.join(train_dir_prefix, 'catboost_info'), |
| 3615 | }, |
| 3616 | ) |
| 3617 | assert "train-AUC-mean" not in results |
| 3618 | assert "train-AUC-std" not in results |
| 3619 | |
| 3620 | return local_canonical_file(remove_time_from_json(os.path.join(train_dir_prefix, JSON_LOG_CV_PATH(0)))) |
| 3621 | |
| 3622 | |
| 3623 | def test_cv_metric_period(task_type): |
nothing calls this directly
no test coverage detected