TargetValue

class TargetValue(val value: Option[Any], val displayValue: Option[String], val priorProbability: Option[Double], val defaultValue: Option[Double]) extends PmmlElement
Value parameters:
defaultValue

the counterpart of prior probabilities for continuous fields. Usually the value is the mean of the target values in the training data. The attribute defaultValue is used only if the optype of the field is continuous.

displayValue

usually more readable version which can be used by PMML consumers to display values in scoring results or other applications.

priorProbability

specifies a default probability for the corresponding target category. It is used if the prediction logic itself did not produce a result. The attribute priorProbability is used only if the optype of the field is categorical or ordinal.

value

corresponds to the class labels in a classification model.

trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val defaultValue: Option[Double]
val displayValue: Option[String]
val priorProbability: Option[Double]
val value: Option[Any]