Skip to content

rbv2_glmnet

class RBV2glmnetConfig
dataclass
#

Bases: RBV2Config

def validate() #

Validate this config.

Source code in src/mfpbench/yahpo/benchmarks/rbv2/rbv2_glmnet.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.0 <= self.alpha <= 1.0
    assert 0.0009118819655545162 <= self.s <= 1096.6331584284585