Packages

c

org.pmml4s.model

TrainingInstances

class TrainingInstances extends PmmlElement

Encapsulates the definition of the fields included in the training instances as well as their values.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrainingInstances
  2. PmmlElement
  3. Serializable
  4. HasExtensions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(i: Int, columns: Array[String]): Array[Any]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def column(name: String): String
  8. def columns(names: Array[String]): Array[String]
  9. val columns: Array[String]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def extensions: Seq[Extension]
    Definition Classes
    HasExtensions
  13. val fieldCount: Option[Int]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hasExtensions: Boolean
    Definition Classes
    HasExtensions
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def init(scope: FieldScope): Unit
  18. val instanceFields: InstanceFields
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val isTransformed: Boolean
  21. val names: Array[String]
  22. def nbCols: Int
  23. def nbRows: Int
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. val recordCount: Option[Int]
  28. def row(i: Int): Row
  29. def series(i: Int): Series
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. val table: Table
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from PmmlElement

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped