MixtureCoverage

data class MixtureCoverage(val numEvaluated: Int, val numZeroDensity: Int, val averageLogLikelihood: Double?)(source)

How much of a fresh sample a fitted mixture accounts for.

Parameters

numEvaluated

the held-out observations scored

numZeroDensity

how many the fit gave no density to at all

averageLogLikelihood

the mean held-out log-likelihood, or null when any observation had zero density and the total is therefore infinite

Constructors

Link copied to clipboard
constructor(numEvaluated: Int, numZeroDensity: Int, averageLogLikelihood: Double?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The share of held-out observations the fit cannot account for.

Functions

Link copied to clipboard
open override fun toString(): String