(task_type)
| 2521 | |
| 2522 | |
| 2523 | def test_invalid_loss_regressor(task_type): |
| 2524 | pool = Pool(TRAIN_FILE, column_description=CD_FILE) |
| 2525 | model = CatBoostRegressor(loss_function="fee", task_type=task_type, gpu_ram_part=TEST_GPU_RAM_PART, devices='0') |
| 2526 | with pytest.raises(CatBoostError): |
| 2527 | model.fit(pool) |
| 2528 | |
| 2529 | |
| 2530 | def test_invalid_loss_ranker(task_type): |
nothing calls this directly
no test coverage detected