nak.core

IndexedClassifier

trait IndexedClassifier[L] extends Classifier with LabelMap[L] with FeatureMap

A classifier that knows the actual descriptions of the labels and features, rather than just their indices.

Linear Supertypes
FeatureMap, LabelMap[L], Classifier, Serializable, Serializable, (Array[(Int, Double)]) ⇒ Array[Double], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IndexedClassifier
  2. FeatureMap
  3. LabelMap
  4. Classifier
  5. Serializable
  6. Serializable
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(v1: Array[(Int, Double)]): Array[Double]

    Definition Classes
    Function1
  2. abstract def indexOfFeature(feature: String): Option[Int]

    Definition Classes
    FeatureMap
  3. abstract def indexOfLabel(label: L): Int

    Definition Classes
    LabelMap
  4. abstract def labelOfIndex(index: Int): L

    Definition Classes
    LabelMap
  5. abstract def labels: Seq[L]

    Definition Classes
    LabelMap

Concrete 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 andThen[A](g: (Array[Double]) ⇒ A): (Array[(Int, Double)]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ Array[(Int, Double)]): (A) ⇒ Array[Double]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def evalIndexed(observations: Seq[FeatureObservation[Int]]): Array[Double]

    Evaluate the given indexed feature observations.

    Evaluate the given indexed feature observations. Calls the apply method, which must interface with some underlying representation of the system used; e.g. see the LiblinearClassifier class.

    Definition Classes
    Classifier
  13. def evalUnindexed(observations: Seq[FeatureObservation[String]]): Array[Double]

    Evaluate the un-indexed feature observations.

    Evaluate the un-indexed feature observations. Uses the feature map to index the observations and then pass them on to evalIndexed of Classifier.

  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FeatureMap

Inherited from LabelMap[L]

Inherited from Classifier

Inherited from Serializable

Inherited from Serializable

Inherited from (Array[(Int, Double)]) ⇒ Array[Double]

Inherited from AnyRef

Inherited from Any

Ungrouped