org.pmml4s.model

Item

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Item(id: String, value: Any, field: Option[Field] = scala.None, category: Option[String] = scala.None, mappedValue: Option[String] = scala.None, weight: Option[Double] = scala.None)

    id

    An identification to uniquely identify an item.

    value

    The value of the item as in the input data.

    field
    category
    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: 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 category: Option[String]

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

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

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

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

    Definition Classes
    HasExtensions
  12. val field: Option[Field]

    Annotations
    @Since( "4.3" )
  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 getName: Option[String]

  16. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. val id: String

    An identification to uniquely identify an item.

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val mappedValue: Option[String]

    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.

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

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

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

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Item → AnyRef → Any
  26. val value: Any

    The value of the item as in the input data.

  27. final def wait(): Unit

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

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

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

    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