Skip to content

Choice Model

path_quality_alpha instance-attribute

path_quality_alpha: float

path_quality_beta instance-attribute

path_quality_beta: float

preferred_airline_alpha instance-attribute

preferred_airline_alpha: float

preferred_airline_beta instance-attribute

preferred_airline_beta: float

random_generator instance-attribute

random_generator: Generator

__init__

__init__(name: str, type: Literal['logit', 'pods'])

add_parm

add_parm(
    name: str, value: float, value2: float = 0
) -> None

Add a parameter value to the choice model

serialize

serialize() -> dict

Get all parameter values from the choice model.