|
fmcs
v0.2.1
|
| double loglikelihood | ( | record_t< DTypes< Ts... >> & | record, |
| std::function< double(double)> && | scale | ||
| ) |
Computes the scaled cumulative log-likelihood of the record, \( \sum_{a\ observed} \beta(\log p(r(a))) \).
| Ts | The types of the distributions in the program |
| record | the record for which to compute the log likelihood |
| scale | \( \beta:\ double \rightarrow double \) scales the likelihood values |