(task_type)
| 2279 | |
| 2280 | |
| 2281 | def test_zero_baseline(task_type): |
| 2282 | pool = Pool(TRAIN_FILE, column_description=CD_FILE) |
| 2283 | baseline = np.zeros(pool.num_row()) |
| 2284 | pool.set_baseline(baseline) |
| 2285 | model = CatBoostClassifier(iterations=2, learning_rate=0.03, task_type=task_type, gpu_ram_part=TEST_GPU_RAM_PART, devices='0') |
| 2286 | model.fit(pool) |
| 2287 | output_model_path = test_output_path(OUTPUT_MODEL_PATH) |
| 2288 | model.save_model(output_model_path) |
| 2289 | return compare_canonical_models(output_model_path) |
| 2290 | |
| 2291 | |
| 2292 | def test_ones_weight(task_type): |
nothing calls this directly
no test coverage detected