Here,
The model is initialized by
>>> from opus_core.choice_model import ChoiceModel
>>> choicemodel = ChoiceModel(
choice_set=[1,2,3],
utilities = "opus_core.linear_utilities",
probabilities = "opus_core.mnl_probabilities",
choices = "opus_core.random_choices")
Thus, the model is composed by external implementations of model steps, such
as computing utilities, computing probabilities and computing choices,
specified as package.module_name. Those modules must contain a
class of the same name and a method run() that performs the actual
computation (see Section 24.4.3 and Sections 24.5.1-24.5.3
for more details).