class TrainingInstances extends PmmlElement
Encapsulates the definition of the fields included in the training instances as well as their values.
- Alphabetic
- By Inheritance
- TrainingInstances
- PmmlElement
- Serializable
- HasExtensions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrainingInstances(instanceFields: InstanceFields, table: Table, isTransformed: Boolean = false, recordCount: Option[Int] = None, fieldCount: Option[Int] = None)
- instanceFields
Defines all the fields included in the training instances.
- table
Representing the training data (feature vectors and class labels)
- isTransformed
Used as a flag to determine whether or not the training instances have already been transformed. If isTransformed is "false", it indicates that the training data has not been transformed yet. If "true", it indicates that it has already been transformed.
- recordCount
Defines the number of training instances or records. This number needs to match the number of instances defined in the element InlineTable or in the external data if TableLocator is used.
- fieldCount
Defines the number of fields (features + targets). This number needs to match the number of InstanceField elements defined under InstanceFields.
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
- def apply(i: Int, columns: Array[String]): Array[Any]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def column(name: String): String
- def columns(names: Array[String]): Array[String]
- val columns: Array[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extensions: Seq[Extension]
- Definition Classes
- HasExtensions
- val fieldCount: Option[Int]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasExtensions: Boolean
- Definition Classes
- HasExtensions
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def init(scope: FieldScope): Unit
- val instanceFields: InstanceFields
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isTransformed: Boolean
- val names: Array[String]
- def nbCols: Int
- def nbRows: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val recordCount: Option[Int]
- def row(i: Int): Row
- def series(i: Int): Series
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val table: Table
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated