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
    @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. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  19. def hashCode(): Int

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

  21. val instanceFields: InstanceFields

    Defines all the fields included in the training instances.

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. 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.

  24. val names: Array[String]

  25. def nbCols: Int

  26. def nbRows: Int

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

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

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. 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.

  31. def row(i: Int): Row

  32. def series(i: Int): Series

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

    Definition Classes
    AnyRef
  34. val table: Table

    Representing the training data (feature vectors and class labels)

  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PmmlElement

Inherited from Serializable

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped