Class/Object

org.clulab.learning

RVFDataset

Related Docs: object RVFDataset | package learning

Permalink

class RVFDataset[L, F] extends BVFDataset[L, F] with FeatureTraversable[F, Double]

Dataset containing only RVFDatums

L

Type of labels

F

Type of features

Linear Supertypes
FeatureTraversable[F, Double], BVFDataset[L, F], Dataset[L, F], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RVFDataset
  2. FeatureTraversable
  3. BVFDataset
  4. Dataset
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RVFDataset()

    Permalink
  2. new RVFDataset(ll: Lexicon[L], fl: Lexicon[F], ls: ArrayBuffer[Int], fs: ArrayBuffer[Array[Int]], values: ArrayBuffer[Array[Double]])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +=(datum: Datum[L, F]): Unit

    Permalink
    Definition Classes
    RVFDatasetBVFDatasetDataset
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def computeInformationGains(fs: ArrayBuffer[Array[Int]], ls: ArrayBuffer[Int]): (InformationGain, Map[Int, InformationGain])

    Permalink
    Definition Classes
    BVFDataset
  8. def countFeatures(fs: ArrayBuffer[Array[Int]], threshold: Int): Set[Int]

    Permalink
    Definition Classes
    BVFDataset
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    Dataset
  12. def featureUpdater: FeatureUpdater[F, Double]

    Permalink

    Get the feature updater for this class, allowing iterating and updating feature values

    Get the feature updater for this class, allowing iterating and updating feature values

    Definition Classes
    RVFDatasetFeatureTraversable
  13. val features: ArrayBuffer[Array[Int]]

    Permalink
    Definition Classes
    BVFDataset
  14. def featuresCounter(datumOffset: Int): Counter[Int]

    Permalink
    Definition Classes
    RVFDatasetBVFDatasetDataset
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def indices: Range

    Permalink
    Definition Classes
    Dataset
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def keepOnly(featuresToKeep: Set[Int]): Dataset[L, F]

    Permalink

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

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

    Definition Classes
    RVFDatasetBVFDatasetDataset
  21. def keepOnlyRow(feats: Array[Int], vals: Array[Double], featureIndexMap: HashMap[Int, Int]): (Array[Int], Array[Double])

    Permalink
  22. def keepOnlyRow(feats: Array[Int], featureIndexMap: HashMap[Int, Int]): Array[Int]

    Permalink
    Definition Classes
    BVFDataset
  23. val labelLexicon: Lexicon[L]

    Permalink
    Definition Classes
    Dataset
  24. val labels: ArrayBuffer[Int]

    Permalink
    Definition Classes
    Dataset
  25. def mkDatum(row: Int): Datum[L, F]

    Permalink

    Returns the Datum for given row

    Returns the Datum for given row

    Definition Classes
    RVFDatasetBVFDatasetDataset
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def numFeatures: Int

    Permalink
    Definition Classes
    Dataset
  30. def numLabels: Int

    Permalink
    Definition Classes
    Dataset
  31. def removeFeaturesByFrequency(threshold: Int): Dataset[L, F]

    Permalink

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

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

    Definition Classes
    BVFDatasetDataset
  32. def removeFeaturesByInformationGain(pctToKeep: Double): Dataset[L, F]

    Permalink

    Removes features by information gain.

    Removes features by information gain.

    Definition Classes
    BVFDatasetDataset
  33. def size: Int

    Permalink

    number of training examples

    number of training examples

    Definition Classes
    Dataset
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toCounterDataset: CounterDataset[L, F]

    Permalink

    Convert this dataset to a CounterDataset

    Convert this dataset to a CounterDataset

    Definition Classes
    RVFDatasetBVFDatasetDataset
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. val values: ArrayBuffer[Array[Double]]

    Permalink
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FeatureTraversable[F, Double]

Inherited from BVFDataset[L, F]

Inherited from Dataset[L, F]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped