bayesfit.deviance - Compute deviance

bayesfit.deviance(data, options, metrics, estimate_type)

Input Arguments

dataNumpy array

A m-row by 3-column Numpy array corresponding to data from the experiment.

optionsdictionary

Stores all settings used when fitting the model.

metricsdictionary

Output from bayesfit.fitmodel which contains important metrics from the fitted model to the data. (See desciption in bayesfit.fitmodel for full description of metrics output)

estimate_typestr ('MAP' or 'Mean')

Determines which metric used for parameter estimates.

Output Variables

deviancefloat

Deviance metric used to assess goodness-of-fit of model.