biogeme.expressions.panel_likelihood_trajectory module

Arithmetic expressions accepted by Biogeme: PanelLikelihoodTrajectory

Michel Bierlaire 11.04.2025 09:29

class biogeme.expressions.panel_likelihood_trajectory.PanelLikelihoodTrajectory(child)[source]

Bases: Expression

Likelihood of a sequences of observations for the same individual

Parameters:

child (ExpressionOrNumeric)

deep_flat_copy()[source]

Provides a copy of the expression. It is deep in the sense that it generates copies of the children. It is flat in the sense that any MultipleExpression is transformed into the currently selected expression. The flat part is irrelevant for this expression.

Return type:

PanelLikelihoodTrajectory

recursive_construct_jax_function(numerically_safe)[source]

Generates recursively a function to be used by biogeme_jax. Must be overloaded by each expression :rtype: Callable[[Array, Array, Array, Array], array] :return: the function takes two parameters: the parameters, and one row of the database.

Parameters:

numerically_safe (bool)

Return type:

Callable[[Array, Array, Array, Array], array]

set_maximum_number_of_observations_per_individual(max_number)[source]
Return type:

None

Parameters:

max_number (int)