Class

org.pmml4s.model

Item

Related Doc: package model

Permalink

class Item extends PmmlElement

Obviously the id of an Item must be unique. Furthermore the Item values must be unique, or if they are not unique then attributes field and category must distiguish them. That is, an AssocationModel must not have different instances of Item where the values of the value, field, and category attribute are all the same. The entries in mappedValue may be the same, though. Here are some examples of Items:

Linear Supertypes
PmmlElement, Serializable, Serializable, HasExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Item
  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 Item(id: String, value: Any, field: Option[Field] = None, category: Option[String] = None, mappedValue: Option[String] = None, weight: Option[Double] = None)

    Permalink

    id

    An identification to uniquely identify an item.

    value

    The value of the item as in the input data.

    mappedValue

    Optional, a value to which the original item value is mapped. For instance, this could be a product name if the original value is an EAN code.

    weight

    The weight of the item. For example, the price or value of an item.

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

    Permalink
    Definition Classes
    Any
  5. val category: Option[String]

    Permalink
    Annotations
    @Since( "4.3" )
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    HasExtensions
  10. val field: Option[Field]

    Permalink
    Annotations
    @Since( "4.3" )
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getName: Option[String]

    Permalink
  14. def hasExtensions: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val id: String

    Permalink

    An identification to uniquely identify an item.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val mappedValue: Option[String]

    Permalink

    Optional, a value to which the original item value is mapped.

    Optional, a value to which the original item value is mapped. For instance, this could be a product name if the original value is an EAN code.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    Item → AnyRef → Any
  24. val value: Any

    Permalink

    The value of the item as in the input data.

  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val weight: Option[Double]

    Permalink

    The weight of the item.

    The weight of the item. For example, the price or value of an item.

Inherited from PmmlElement

Inherited from Serializable

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped