Skip to content

SolutionConfig

Source code in docs_src/capo_personalize/types/solution_config.py
class SolutionConfig(TypedDict, closed=True):
    event_value_threshold: NotRequired[
        "capo_personalize.types.event_value_threshold.EventValueThreshold"
    ]
    """<p>Only events with a value greater than or equal to this threshold are used for training a model.</p>"""
    hpo_config: NotRequired["capo_personalize.types.hpo_config.HPOConfig"]
    """<p>Describes the properties for hyperparameter optimization (HPO).</p>"""
    algorithm_hyper_parameters: NotRequired[
        "capo_personalize.types.hyper_parameters.HyperParameters"
    ]
    """<p>Lists the algorithm hyperparameters and their values.</p>"""
    feature_transformation_parameters: NotRequired[
        "capo_personalize.types.feature_transformation_parameters.FeatureTransformationParameters"
    ]
    """<p>Lists the feature transformation parameters.</p>"""
    auto_ml_config: NotRequired["capo_personalize.types.auto_ml_config.AutoMLConfig"]
    """<p>The <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_AutoMLConfig.html">AutoMLConfig</a> object containing a list of recipes to search when AutoML is performed.</p>"""
    events_config: NotRequired["capo_personalize.types.events_config.EventsConfig"]
    """<p>Describes the configuration of an event, which includes a list of event parameters. You can specify up to 10 event parameters. Events are used in solution creation.</p>"""
    optimization_objective: NotRequired[
        "capo_personalize.types.optimization_objective.OptimizationObjective"
    ]
    """<p>Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see <a href="https://docs.aws.amazon.com/personalize/latest/dg/optimizing-solution-for-objective.html">Optimizing a solution</a>.</p>"""
    training_data_config: NotRequired[
        "capo_personalize.types.training_data_config.TrainingDataConfig"
    ]
    """<p> Specifies the training data configuration to use when creating a custom solution version (trained model). </p>"""
    auto_training_config: NotRequired[
        "capo_personalize.types.auto_training_config.AutoTrainingConfig"
    ]
    """<p>Specifies the automatic training configuration to use.</p>"""

algorithm_hyper_parameters instance-attribute

algorithm_hyper_parameters: NotRequired[HyperParameters]

Lists the algorithm hyperparameters and their values.

auto_ml_config instance-attribute

auto_ml_config: NotRequired[AutoMLConfig]

The AutoMLConfig object containing a list of recipes to search when AutoML is performed.

auto_training_config instance-attribute

auto_training_config: NotRequired[AutoTrainingConfig]

Specifies the automatic training configuration to use.

event_value_threshold instance-attribute

event_value_threshold: NotRequired[EventValueThreshold]

Only events with a value greater than or equal to this threshold are used for training a model.

events_config instance-attribute

events_config: NotRequired[EventsConfig]

Describes the configuration of an event, which includes a list of event parameters. You can specify up to 10 event parameters. Events are used in solution creation.

feature_transformation_parameters instance-attribute

feature_transformation_parameters: NotRequired[FeatureTransformationParameters]

Lists the feature transformation parameters.

hpo_config instance-attribute

hpo_config: NotRequired[HPOConfig]

Describes the properties for hyperparameter optimization (HPO).

optimization_objective instance-attribute

optimization_objective: NotRequired[OptimizationObjective]

Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see Optimizing a solution.

training_data_config instance-attribute

training_data_config: NotRequired[TrainingDataConfig]

Specifies the training data configuration to use when creating a custom solution version (trained model).