edu.arizona.sista.learning

Dataset

Related Doc: package learning

abstract class Dataset[L, F] extends Serializable

Parent class for classification datasets User: mihais Date: 4/23/13

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

Instance Constructors

  1. new Dataset()

  2. new Dataset(labelLexicon: Lexicon[L], featureLexicon: Lexicon[F], labels: ArrayBuffer[Int])

Abstract Value Members

  1. abstract def +=(datum: Datum[L, F]): Unit

  2. abstract def featuresCounter(datumOffset: Int): Counter[Int]

  3. abstract def keepOnly(featuresToKeep: Set[Int]): Dataset[L, F]

    Creates a new dataset keeping only the features in the given set

  4. abstract def mkDatum(row: Int): Datum[L, F]

    Returns the Datum for given row

  5. abstract def removeFeaturesByFrequency(threshold: Int): Dataset[L, F]

    Removes features that appear less than threshold times in this dataset.

  6. abstract def removeFeaturesByInformationGain(pctToKeep: Double): Dataset[L, F]

    Removes features by information gain.

  7. abstract def toCounterDataset: CounterDataset[L, F]

    Convert this dataset to a CounterDataset

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

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  8. val featureLexicon: Lexicon[F]

  9. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  12. def indices: Range

  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val labelLexicon: Lexicon[L]

  15. val labels: ArrayBuffer[Int]

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

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

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

    Definition Classes
    AnyRef
  19. def numFeatures: Int

  20. def numLabels: Int

  21. def size: Int

    number of training examples

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped