Skip to content

AutoMLDataSplitConfig

Source code in docs_src/capo_sagemaker/types/auto_ml_data_split_config.py
class AutoMLDataSplitConfig(TypedDict, closed=True):
    validation_fraction: NotRequired[
        "capo_sagemaker.types.validation_fraction.ValidationFraction"
    ]
    """<p>The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.</p>"""

validation_fraction instance-attribute

validation_fraction: NotRequired[ValidationFraction]

The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.