object UsageType extends Enumeration
Usage type
- active: field used as input (independent field).
- target: field that was used a training target for supervised models.
- predicted: field whose value is predicted by the model. As of PMML 4.2, this is deprecated and it has been replaced by the usage type target.
- supplementary: field holding additional descriptive information. Supplementary fields are not required to apply a model. They are provided as additional information for explanatory purpose, though. When some field has gone through preprocessing transformations before a model is built, then an additional supplementary field is typically used to describe the statistics for the original field values.
- group: field similar to the SQL GROUP BY. For example, this is used by AssociationModel and SequenceModel to group items into transactions by customerID or by transactionID.
- order: This field defines the order of items or transactions and is currently used in SequenceModel and TimeSeriesModel. Similarly to group, it is motivated by the SQL syntax, namely by the ORDER BY statement.
- frequencyWeight and analysisWeight: These fields are not needed for scoring, but provide very important information on how the model was built. Frequency weight usually has positive integer values and is sometimes called "replication weight". Its values can be interpreted as the number of times each record appears in the data. Analysis weight can have fractional positive values, it could be used for regression weight in regression models or for case weight in trees, etc. It can be interpreted as different importance of the cases in the model. Counts in ModelStats and Partitions can be computed using frequency weight, mean and standard deviation values can be computed using both weights.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UsageType
- Enumeration
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type UsageType = Value
- class Val extends Value with Serializable
- Attributes
- protected
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- abstract class Value extends Ordered[Value] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def Value(i: Int, name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(i: Int): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value: Value
- Attributes
- protected
- Definition Classes
- Enumeration
- val active: Value
- val analysisWeight: Value
- final def apply(x: Int): Value
- Definition Classes
- Enumeration
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val frequencyWeight: Value
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val group: Value
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def maxId: Int
- Definition Classes
- Enumeration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextId: Int
- Attributes
- protected
- Definition Classes
- Enumeration
- var nextName: Iterator[String]
- Attributes
- protected
- Definition Classes
- Enumeration
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val order: Value
- val predicted: Value
- def readResolve(): AnyRef
- Attributes
- protected
- Definition Classes
- Enumeration
- val supplementary: Value
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val target: Value
- def toString(): String
- Definition Classes
- Enumeration → AnyRef → Any
- def values: ValueSet
- Definition Classes
- Enumeration
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withName(s: String): Value
- Definition Classes
- Enumeration
- implicit object ValueOrdering extends Ordering[Value]
- Definition Classes
- Enumeration
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)