Class

org.clulab.learning

BVFRegDataset

Related Doc: package learning

Permalink

class BVFRegDataset[F] extends RegDataset[F]

RegDataset containing only BVFDatums Important note: to encode feature values > 1, simply store the same feature multiple times (equal to feature value)!

F

Type of features

Linear Supertypes
RegDataset[F], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BVFRegDataset
  2. RegDataset
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BVFRegDataset()

    Permalink
  2. new BVFRegDataset(fl: Lexicon[F], ls: ArrayBuffer[Double], features: ArrayBuffer[Array[Int]])

    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[Double, F]): Unit

    Permalink
    Definition Classes
    BVFRegDatasetRegDataset
  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 countFeatures(fs: ArrayBuffer[Array[Int]], threshold: Int): Set[Int]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    RegDataset
  11. val features: ArrayBuffer[Array[Int]]

    Permalink
  12. def featuresCounter(datumOffset: Int): Counter[Int]

    Permalink
    Definition Classes
    BVFRegDatasetRegDataset
  13. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    RegDataset
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def keepOnly(featuresToKeep: Set[Int]): RegDataset[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
    BVFRegDatasetRegDataset
  19. def keepOnlyRow(feats: Array[Int], featureIndexMap: HashMap[Int, Int]): Array[Int]

    Permalink
  20. val labels: ArrayBuffer[Double]

    Permalink
    Definition Classes
    RegDataset
  21. def mkDatum(row: Int): Datum[Double, F]

    Permalink

    Returns the Datum for given row

    Returns the Datum for given row

    Definition Classes
    BVFRegDatasetRegDataset
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def numFeatures: Int

    Permalink
    Definition Classes
    RegDataset
  26. def removeFeaturesByFrequency(threshold: Int): RegDataset[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
    BVFRegDatasetRegDataset
  27. def size: Int

    Permalink

    number of training examples

    number of training examples

    Definition Classes
    RegDataset
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toCounterRegDataset: CounterRegDataset[F]

    Permalink

    Convert this dataset to a CounterRegDataset

    Convert this dataset to a CounterRegDataset

    Definition Classes
    BVFRegDatasetRegDataset
  30. def toString(): String

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

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

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

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

Inherited from RegDataset[F]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped