Skip to content

iaml_rpart

class IAMLrpartConfig
dataclass
#

Bases: IAMLConfig

def validate() #

Validate this config.

Source code in src/mfpbench/yahpo/benchmarks/iaml/iaml_rpart.py
@no_type_check
def validate(self) -> None:
    """Validate this config."""
    assert 0.00010000000000000009 <= self.cp <= 1.0
    assert 1 <= self.maxdepth <= 30
    assert 1 <= self.minbucket <= 100
    assert 1 <= self.minsplit <= 100