core.FitStat
core.FitStat(curvature, data_fit, count)The curvature statistic plus what objectives need from the same pass.
It merges under + like its parts: the data-fit terms add, and a None term is the identity.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| curvature | S | The curvature’s statistic. | required |
| data_fit | Tensor | None | The data-fit term at the mean, None when no targets were seen: the summed fit_stat for a LateLikelihood, the summed log-likelihood otherwise. log_lik(lik, data_fit) gives the log-likelihood either way. |
required |
| count | Tensor | Examples seen, a 0-dim int64 tensor. | required |