nak.core

FeaturizedClassifier

trait FeaturizedClassifier[L, I] extends IndexedClassifier[L]

A classifier that has a featurizer that allows it to be applied directly to raw inputs.

Linear Supertypes
IndexedClassifier[L], FeatureMap, LabelMap[L], Classifier, Serializable, Serializable, (Array[(Int, Double)]) ⇒ Array[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FeaturizedClassifier
  2. IndexedClassifier
  3. FeatureMap
  4. LabelMap
  5. Classifier
  6. Serializable
  7. Serializable
  8. Function1
  9. AnyRef
  10. 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 val featurizer: Featurizer[I, String]

  3. abstract def indexOfFeature(feature: String): Option[Int]

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

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

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

    Definition Classes
    LabelMap

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Array[Double]) ⇒ A): (Array[(Int, Double)]) ⇒ A

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

    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

    Definition Classes
    AnyRef → Any
  10. 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
  11. def evalRaw(content: I): Array[Double]

    Evaluate a raw observation by featurizing it and then calling evalUnindexed of IndexedClassifier.

  12. 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.

    Definition Classes
    IndexedClassifier
  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 hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  20. def predict(content: I): L

    Evaluate a raw observation by using evalRaw, identify the highest scoring label, and then return it.

  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 IndexedClassifier[L]

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