Specification
Model specification in a multiple expression context.
biogeme.specification module
Model specification in a multiple expression context
- author:
Michel Bierlaire
- date:
Mon Apr 10 12:33:18 2023
Implements a model specification in a multiple expression context (using Catalogs)
- class biogeme.specification.Specification(configuration)[source]
Bases:
object
Implements a specification
- __init__(configuration)[source]
Creates a specification from a configuration
- Parameters:
configuration (biogeme.configuration.Configuration) – configuration of the multiple expression
- all_results = {}
dict(str: biogeme.results.bioResults)
- property config_id
Defined config_id as a property
- database = None
biogeme.database.Database
object
- classmethod default_specification()[source]
Alternative constructor for generate the default specification
- describe()[source]
Short description of the solution. Used for reporting.
- Returns:
short description of the solution.
- Return type:
str
- expression = None
function that generates all the objectives: fct(bioResults) -> list[floatNone]
- 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(biogeme.results.bioResults) --> list[float]) – function calculating the objectives from the estimation results
- Returns:
element from the Pareto set
- Return type:
biogeme.pareto.SetElement
- validity = None
function that checks the validity of the results