org.pmml4s.model

Predictor

class Predictor extends PmmlElement

Describes a categorical (factor) or a continuous (covariate) predictor for the model. When describing a factor, it can optionally contain a list of categories and a contrast matrix. Such matrix describes the codings of categorical variables. If a categorical variable has n values, there will be n rows and n-1 or n columns in the matrix. The rows and columns correspond to the categories of the factor in the order listed in the Category element if it is present, otherwise in the order listed in the DataField or DerivedField element. If the Categories element is present and the corresponding DataField or DerivedField element has a list of valid categories, then the list in Categories should be a subset of that in DataField or DerivedField. A contrast matrix with n-1 columns helps to reduce the total number of parameters in the model.

Linear Supertypes
PmmlElement, Serializable, Serializable, HasExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Predictor
  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 Predictor(name: String, contrastMatrixType: Option[String] = scala.None, categories: Option[Categories] = scala.None, matrix: Option[Matrix] = scala.None)

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val categories: Option[Categories]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val contrastMatrixType: Option[String]

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

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

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

    Definition Classes
    HasExtensions
  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val matrix: Option[Matrix]

  19. val name: String

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

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

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

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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