murefi.objectives

murefi.objectives.for_dataset(dataset: Dataset, model: BaseODEModel, parameter_mapping: ParameterMapping, calibration_models: Iterable[CalibrationModel])

Creates an objective function for fitting a Dataset

Args:

dataset: Dataset object for which the parameters should be fitted. model (BaseODEModel): ODE model parameter_mapping (ParameterMapping): murefi.ParameterMapping object calibration_models: list of calibr8.CalibrationModel objects

Returns:

objective: callable that takes a full parameter vector and returns the negative log-likelihood