Skip to content

rbv2_rpart

class RBV2rpartConfig
dataclass
#

Bases: RBV2Config

def validate() #

Validate this config.

Source code in src/mfpbench/yahpo/benchmarks/rbv2/rbv2_rpart.py
@no_type_check
def validate(self) -> None:
    """Validate this config."""
    assert self.num__impute__selected__cpo in [
        "impute.mean",
        "impute.median",
        "impute.hist",
    ]
    assert 0.0009118819655545162 <= self.cp <= 1.0
    assert 1 <= self.maxdepth <= 30
    assert 1 <= self.minbucket <= 100
    assert 1 <= self.minsplit <= 100