org.allenai.nlpstack.parse.poly.decisiontree

InMemoryFeatureVectorSource

Related Doc: package decisiontree

case class InMemoryFeatureVectorSource(featureVecs: IndexedSeq[FeatureVector], classificationTask: ClassificationTask) extends FeatureVectorSource with Product with Serializable

FeatureVectors is a convenience container for feature vectors.

The number of features must be the same for all feature vectors in the container.

featureVecs

collection of FeatureVector objects

Linear Supertypes
Serializable, Serializable, Product, Equals, FeatureVectorSource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InMemoryFeatureVectorSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FeatureVectorSource
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemoryFeatureVectorSource(featureVecs: IndexedSeq[FeatureVector], classificationTask: ClassificationTask)

    featureVecs

    collection of FeatureVector objects

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. lazy val allOutcomes: Seq[Int]

    Gets a uniqued sequence of all outcomes associated with feature vectors in this set.

    Gets a uniqued sequence of all outcomes associated with feature vectors in this set.

    Definition Classes
    InMemoryFeatureVectorSourceFeatureVectorSource
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val classificationTask: ClassificationTask

  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. val featureVecs: IndexedSeq[FeatureVector]

    collection of FeatureVector objects

  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def getFeatures: Set[Int]

    Gets the set of features in this collection of feature vectors.

    Gets the set of features in this collection of feature vectors.

    returns

    the set of features that appear in at least one vector of this collection

    Definition Classes
    InMemoryFeatureVectorSourceFeatureVectorSource
  13. def getNthVector(n: Int): FeatureVector

  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  18. def numFeatures: Int

    Gets the number of features in this collection.

    Gets the number of features in this collection.

    returns

    the number of features in this collection

    Definition Classes
    InMemoryFeatureVectorSourceFeatureVectorSource
  19. def numVectors: Int

    Gets the number of feature vectors in this collection.

    Gets the number of feature vectors in this collection.

    returns

    the number of feature vectors in this collection

    Definition Classes
    InMemoryFeatureVectorSourceFeatureVectorSource
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def vectorIterator: Iterator[FeatureVector]

  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FeatureVectorSource

Inherited from AnyRef

Inherited from Any

Ungrouped