Class

org.pmml4s.model

TrainingInstances

Related Doc: package model

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TrainingInstances(instanceFields: InstanceFields, table: Table, isTransformed: Boolean = false, recordCount: Option[Int] = None, fieldCount: Option[Int] = None)

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(i: Int, columns: Array[String]): Array[Any]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink
  8. def columns(names: Array[String]): Array[String]

    Permalink
  9. val columns: Array[String]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    HasExtensions
  13. val fieldCount: Option[Int]

    Permalink

    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.

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasExtensions: Boolean

    Permalink
    Definition Classes
    HasExtensions
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def init(scope: FieldScope): Unit

    Permalink
  19. val instanceFields: InstanceFields

    Permalink

    Defines all the fields included in the training instances.

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val isTransformed: Boolean

    Permalink

    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.

  22. val names: Array[String]

    Permalink
  23. def nbCols: Int

    Permalink
  24. def nbRows: Int

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val recordCount: Option[Int]

    Permalink

    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.

  29. def row(i: Int): Row

    Permalink
  30. def series(i: Int): Series

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

    Permalink
    Definition Classes
    AnyRef
  32. val table: Table

    Permalink

    Representing the training data (feature vectors and class labels)

  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PmmlElement

Inherited from Serializable

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped