biogeme.catalog.generic_alt_specific_catalog module¶
Defines a catalog containing generic and alternative specific specifications
Michel Bierlaire Sun Apr 27 2025, 15:49:25
- biogeme.catalog.generic_alt_specific_catalog.generic_alt_specific_catalogs(generic_name, beta_parameters, alternatives, potential_segmentations=None, maximum_number=5)[source]¶
Generate catalogs selecting generic or alternative specific coefficients
- Parameters:
generic_name (
str) – name associated with all the parameters in the catalogbeta_parameters (
list[Beta]) – coefficients of interestalternatives (
tuple[str,...]) – names of the alternativespotential_segmentations (
tuple[DiscreteSegmentationTuple,...] |None) – tuple of potential segmentations, or Nonemaximum_number (int) – maximum number of segmentations to consider
- Returns:
a list of catalogs for each alternative
- Return type:
list(dict(str: biogeme.catalog.Catalog))