org.pmml4s.transformations

LocalTermWeights

object LocalTermWeights extends Enumeration

- termFrequency: use the number of times the term occurs in the document (x = freqi). - binary: use 1 if the term occurs in the document or 0 if it doesn't (x = χ(freqi)). - logarithmic: take the logarithm (base 10) of 1 + the number of times the term occurs in the document. (x = log(1 + freqi)) - augmentedNormalizedTermFrequency: this formula adds to the binary frequency a "normalized" component expressing the frequency of a term relative to the highest frequency of terms observed in that document (x = 0.5 * (χ(freqi) + (freqi / maxk(freqk))) )

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocalTermWeights
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type LocalTermWeights = Value

  2. class Val extends Value with Serializable

    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( -3501153230598116017L )
  3. abstract class Value extends Ordered[Value] with Serializable

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( 7091335633555234129L )
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Definition Classes
    Enumeration

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 Value(i: Int, name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value(name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def Value(i: Int): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  9. final def Value: Value

    Attributes
    protected
    Definition Classes
    Enumeration
  10. final def apply(x: Int): Value

    Definition Classes
    Enumeration
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val augmentedNormalizedTermFrequency: Value

  13. val binary: Value

  14. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

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

    Definition Classes
    Any
  21. val logarithmic: Value

  22. final def maxId: Int

    Definition Classes
    Enumeration
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. var nextId: Int

    Attributes
    protected
    Definition Classes
    Enumeration
  25. var nextName: Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. def readResolve(): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. val termFrequency: Value

  31. def toString(): String

    Definition Classes
    Enumeration → AnyRef → Any
  32. def values: ValueSet

    Definition Classes
    Enumeration
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def withName(s: String): Value

    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped