compare
fun compare(trueWeights: DoubleArray, trueComponents: List<ContinuousDistributionIfc>, trueTypes: List<RVParametersTypeIfc>, fittedWeights: DoubleArray, fittedComponents: List<ContinuousDistributionIfc>, fittedTypes: List<RVParametersTypeIfc>, numPoints: Int = DensityQuadrature.defaultNumQuadraturePoints): RecoveryResult(source)
Compares a fitted mixture against the truth.
Parameters
true Weights
the true mixing weights
true Components
the true components
true Types
the true component families
fitted Weights
the fitted mixing weights
fitted Components
the fitted components
fitted Types
the fitted component families
num Points
the number of quadrature points