Choice Models
ChoiceModel
module-attribute
Two types of choice models are available in PassengerSim.
Use the kind
key to select which kind of choice model you wish to parameterize.
LogitChoiceModel
Bases: Named
Source code in passengersim/config/choice_model.py
intercept
class-attribute
instance-attribute
This is the alternative specific constant for the no-purchase alternative.
price
class-attribute
instance-attribute
This is the parameter for the price of each alternative.
tod_sin2p
class-attribute
instance-attribute
Schedule parameter.
If \(t\) is departure time (in minutes after midnight local time) divided by 1440, this parameter is multiplied by \(sin( 2 \pi t)\) and the result is added to the utility of the particular alternative.
tod_sin4p
class-attribute
instance-attribute
Schedule parameter.
If \(t\) is departure time (in minutes after midnight local time) divided by 1440, this parameter is multiplied by \(sin( 4 \pi t)\) and the result is added to the utility of the particular alternative.
PodsChoiceModel
Bases: Named