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
PmmlElement, Serializable, Serializable, HasExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TrainingInstances
  2. PmmlElement
  3. Serializable
  4. Serializable
  5. HasExtensions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TrainingInstances(instanceFields: InstanceFields, table: Table, isTransformed: Boolean = false, recordCount: Option[Int] = scala.None, fieldCount: Option[Int] = scala.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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(i: Int, columns: Array[String]): Array[Any]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def column(name: String): String

  10. def columns(names: Array[String]): Array[String]

  11. val columns: Array[String]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def extensions: Seq[Extension]

    Definition Classes
    HasExtensions
  15. val fieldCount: Option[Int]

    Defines the number of fields (features + targets).

    Defines the number of fields (features + targets). This number needs to match the number of InstanceField elements defined under InstanceFields.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def init(scope: FieldScope): Unit

  20. val instanceFields: InstanceFields

    Defines all the fields included in the training instances.

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. val isTransformed: Boolean

    Used as a flag to determine whether or not the training instances have already been transformed.

    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.

  23. val names: Array[String]

  24. def nbCols: Int

  25. def nbRows: Int

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. val recordCount: Option[Int]

    Defines the number of training instances or records.

    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.

  30. def row(i: Int): Row

  31. def series(i: Int): Series

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. val table: Table

    Representing the training data (feature vectors and class labels)

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from PmmlElement

Inherited from Serializable

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped