Header menu logo bristlecone

Objective Module

Configures a single function that represents a model and its likelihood when fit to time-series data.

Functions and values

Function or value Description

Objective.create system integrate solveDiscrete observed point

Full Usage: Objective.create system integrate solveDiscrete observed point

Parameters:
Returns: float

Computes measurement variables and appends to expected data

system : ModelSystem
integrate : Map<ShortCode, (Time -> Response -> Environment -> float)> -> CodedMap<float[]>
solveDiscrete : ShortCode -> MeasureEquation -> CodedMap<float[]> -> float[]
observed : CodedMap<float[]>
point : Point<float>
Returns: float

Objective.measure system solveDiscrete expected

Full Usage: Objective.measure system solveDiscrete expected

Parameters:
Returns: CodedMap<float[]>

The system's `Measures` are computed from the product of the solver.

system : ModelSystem
solveDiscrete : ShortCode -> MeasureEquation -> CodedMap<float[]> -> float[]
expected : CodedMap<float[]>
Returns: CodedMap<float[]>

Objective.pairObservationsToExpected observed expected

Full Usage: Objective.pairObservationsToExpected observed expected

Parameters:
Returns: CodedMap<PredictedSeries>

Pairs observed time series to predicted series for dynamic variables only. Environmental forcings and hidden variables are removed.

observed : CodedMap<float[]>
expected : CodedMap<float[]>
Returns: CodedMap<PredictedSeries>

Objective.parameteriseModel parameterPool point model

Full Usage: Objective.parameteriseModel parameterPool point model

Parameters:
Returns: Time -> Response -> Environment -> float
parameterPool : ParameterPool
point : float[]
model : ModelEquation
Returns: Time -> Response -> Environment -> float

Objective.predict system integrate solveDiscrete p

Full Usage: Objective.predict system integrate solveDiscrete p

Parameters:
Returns: CodedMap<float[]>
system : ModelSystem
integrate : Map<ShortCode, (Time -> Response -> Environment -> float)> -> CodedMap<float[]>
solveDiscrete : ShortCode -> MeasureEquation -> CodedMap<float[]> -> float[]
p : Point<float>
Returns: CodedMap<float[]>

Type something to start searching.