MixtureModelingResults

constructor(results: List<RankedMixture>, certificate: AdmissibilityCertificate, groupFitsByGroupCount: Map<Int, List<GroupFitResult>>, rejectedGroupCounts: Map<Int, String>, cacheHitRate: Double, truncatedGroupCounts: Map<Int, String> = emptyMap(), refinementsByGroupCount: Map<Int, RefinementResult> = emptyMap(), sortedData: DoubleArray = DoubleArray(0), criterion: MixtureCriterionIfc = MixtureBICCriterion(), specifiedComponentCounts: Set<Int>? = null)(source)

Parameters

results

the evaluated candidates, best first

certificate

the structural facts of the sample

groupFitsByGroupCount

the fit results per group, keyed by number of components

rejectedGroupCounts

the requested numbers of components that were not attempted, with the reason

cacheHitRate

the fraction of group fits answered from the cache

truncatedGroupCounts

the numbers of components whose family search was cut short, with what was cut. These were attempted and produced an answer; that answer may simply not be the best available, which is a different fact from the count being unusable and is reported separately for that reason.

refinementsByGroupCount

what the refiner did at each number of components

sortedData

the observations the mixtures were fitted to, in order. Carried so that the diagnostics can be asked for without handing the data back in, which is how the library's single-distribution results behave.

criterion

the criterion that ranked the candidates. Needed to orient a comparison: whether a smaller value is an improvement is a property of the criterion, not of the number.

specifiedComponentCounts

the numbers of components the caller asked for, when they asked rather than letting the criterion choose. Null after an ordinary search. It changes what the results mean: the recommendation comes from the caller's counts, and the criterion values are evidence about that choice rather than a selection over a searched range.