PDFScoringModel

abstract class PDFScoringModel(val name: String, val domain: Interval = Interval(0.0, Double.MAX_VALUE), val allowLowerLimitAdjustment: Boolean = true, val allowUpperLimitAdjustment: Boolean = true) : Metric

Computes a score to indicate the quality of fit for the proposed continuous distribution for the supplied data

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, domain: Interval = Interval(0.0, Double.MAX_VALUE), allowLowerLimitAdjustment: Boolean = true, allowUpperLimitAdjustment: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val allowLowerLimitAdjustment: Boolean = true

Indicates if the lower limit of the domain may be adjusted during scaling processes

Link copied to clipboard
open override val allowUpperLimitAdjustment: Boolean = true

Indicates if the upper limit of the domain may be adjusted during scaling processes

Link copied to clipboard
open override var description: String?
Link copied to clipboard
open override var direction: MetricIfc.Direction
Link copied to clipboard
override val domain: Interval
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override var unitsOfMeasure: String?

Functions

Link copied to clipboard
open fun badScore(): Score

Returns a valid score that has the worst possible value according to the direction of the meaning of better.

Link copied to clipboard
open fun metricData(modaName: String, weight: Double): MetricData

Returns an instance of MetricData based on (modaName, weight)

Link copied to clipboard
abstract override fun newInstance(): PDFScoringModel
Link copied to clipboard
fun score(data: DoubleArray, parameters: RVParameters): Score
Link copied to clipboard
open override fun toString(): String