(device: Device, sampling_method: str)
| 750 | |
| 751 | |
| 752 | def _make_subsample_params(device: Device, sampling_method: str) -> dict: |
| 753 | params = { |
| 754 | "device": device, |
| 755 | "tree_method": "hist", |
| 756 | "multi_strategy": "multi_output_tree", |
| 757 | "subsample": 0.5, |
| 758 | "sampling_method": sampling_method, |
| 759 | "max_depth": 6, |
| 760 | "debug_synchronize": True, |
| 761 | "seed": 2026, |
| 762 | } |
| 763 | return params |
| 764 | |
| 765 | |
| 766 | def run_subsample(device: Device, sampling_method: str) -> None: |
no outgoing calls
no test coverage detected