|
1 | 1 | import shutil |
2 | | -import time |
3 | 2 | from pathlib import Path |
4 | 3 | from typing import Callable, List, Optional, Dict |
5 | 4 |
|
|
10 | 9 | from pytabkit.models.alg_interfaces.autogluon_model_interfaces import AutoGluonModelAlgInterface |
11 | 10 | from pytabkit.models.alg_interfaces.catboost_interfaces import CatBoostSubSplitInterface, CatBoostHyperoptAlgInterface, \ |
12 | 11 | CatBoostSklearnSubSplitInterface, RandomParamsCatBoostAlgInterface |
13 | | -from pytabkit.models.alg_interfaces.custom_interfaces import TabPFNV2SubSplitInterface |
14 | 12 | from pytabkit.models.alg_interfaces.ensemble_interfaces import PrecomputedPredictionsAlgInterface, \ |
15 | 13 | CaruanaEnsembleAlgInterface, AlgorithmSelectionAlgInterface |
16 | 14 | from pytabkit.models.alg_interfaces.lightgbm_interfaces import LGBMSubSplitInterface, LGBMHyperoptAlgInterface, \ |
|
21 | 19 | from pytabkit.models.alg_interfaces.other_interfaces import RFSubSplitInterface, SklearnMLPSubSplitInterface, \ |
22 | 20 | KANSubSplitInterface, GrandeSubSplitInterface, GBTSubSplitInterface, RandomParamsRFAlgInterface, \ |
23 | 21 | TabPFN2SubSplitInterface, TabICLSubSplitInterface, RandomParamsExtraTreesAlgInterface, RandomParamsKNNAlgInterface, \ |
24 | | - ExtraTreesSubSplitInterface, KNNSubSplitInterface, RandomParamsLinearModelAlgInterface, LinearModelSubSplitInterface |
| 22 | + ExtraTreesSubSplitInterface, KNNSubSplitInterface, RandomParamsLinearModelAlgInterface, \ |
| 23 | + LinearModelSubSplitInterface |
25 | 24 | from pytabkit.bench.scheduling.resources import NodeResources |
26 | 25 | from pytabkit.models.alg_interfaces.alg_interfaces import AlgInterface, MultiSplitWrapperAlgInterface |
27 | 26 | from pytabkit.models.alg_interfaces.base import SplitIdxs, RequiredResources |
@@ -593,11 +592,6 @@ def __init__(self, model_idx: int, **config): |
593 | 592 | super().__init__(RandomParamsLinearModelAlgInterface, model_idx=model_idx, **config) |
594 | 593 |
|
595 | 594 |
|
596 | | -class TabPFNV2InterfaceWrapper(SubSplitInterfaceWrapper): |
597 | | - def create_sub_split_interface(self, task_type: TaskType) -> AlgInterface: |
598 | | - return TabPFNV2SubSplitInterface(**self.config) |
599 | | - |
600 | | - |
601 | 595 | class xRFMInterfaceWrapper(SubSplitInterfaceWrapper): |
602 | 596 | def create_sub_split_interface(self, task_type: TaskType) -> AlgInterface: |
603 | 597 | return xRFMSubSplitInterface(**self.config) |
|
0 commit comments