biogeme.catalog.specification module¶
Model specification in a multiple expression context
Michel Bierlaire Sat Jun 28 2025, 12:13:22
Implements a model specification in a multiple expression context (using Catalogs)
- class biogeme.catalog.specification.Specification(configuration, biogeme_parameters=None)[source]¶
Bases:
object
Implements a specification
- Parameters:
configuration (Configuration)
biogeme_parameters (Parameters | None)
-
all_results:
dict
[slice(<class 'str'>, <class 'biogeme.results_processing.estimation_results.EstimationResults'>, None)] = {}¶
-
biogeme_parameters:
Parameters
|None
= None¶
-
central_controller:
CentralController
|None
= None¶ function that generates all the objectives: fct(bioResults) -> list[floatNone]
- property config_id: str¶
Defined config_id as a property
- configure_expression()[source]¶
Configure the expression to the current configuration
- Return type:
None
- classmethod default_specification()[source]¶
Alternative constructor for generate the default specification
- Return type:
- describe()[source]¶
Short description of the solution. Used for reporting.
- Returns:
short description of the solution.
- Return type:
str
- classmethod from_string_id(configuration_id)[source]¶
Constructor using a configuration
- Parameters:
configuration_id (str)
- generic_name = 'default_name'¶
short name for file names
- get_element(multi_objectives)[source]¶
Obtains the element from the Pareto set corresponding to a specification
- Parameters:
multi_objectives (fct(bioResults) --> list[float]) – function calculating the objectives from the estimation results
- Returns:
element from the Pareto set
- Return type:
biogeme.pareto.SetElement
-
model_names:
ModelNames
|None
= None¶
- user_defined_validity_check = None¶
function that checks the validity of the results