cc.factorie.variable

CategoricalVectorVar

trait CategoricalVectorVar[C] extends VectorVar

An abstract variable whose value is a Tensor whose length matches the size of a CategoricalDomain, and whose dimensions each correspond to a category. These are commonly used for feature vectors, with String categories.

Linear Supertypes
Known Subclasses
AffinityVector, ArgFeatures, Article, BILOUChunkTag, BILOUNestedChunkTag, BIOChunkTag, BagOfWordsTensorVariable, BilouConllNerTag, BilouOntonotesNerTag, BinaryFeatureVectorVariable, BinaryFeatures, BioConllNerTag, BioOntonotesNerTag, BooleanLabeling, BooleanTargetVar, BooleanTargetVariable, BooleanVar, BooleanVariable, CategoricalLabeling, CategoricalTargetVar, CategoricalTargetVariable, CategoricalVar, CategoricalVariable, CategoricalVectorVariable, ChainNer2Features, ChainNerFeatures, ChildParentBagsFeatureVector, ChildParentFeatureVector, ChunkFeatures, ChunkTag, ConllNerSpanLabel, ConllNerTag, CorefAffinity, Document, Document, EntityExists, FeatureNormalizer, FeatureVariable, FeatureVariable, FeatureVariable, FeatureVectorVariable, Features, Features, Features, FeaturesVariable, FeaturesVariable, Flip, GenderLabel, Input, IobConllNerTag, IobOntonotesNerTag, IsEntity, IsMention, ItemizedVar, Label, Label, Label, Label, Label, Label, Label, Label, LabeledBilouConllNerTag, LabeledBilouOntonotesNerTag, LabeledBioConllNerTag, LabeledBioOntonotesNerTag, LabeledBooleanVar, LabeledBooleanVariable, LabeledCategoricalVar, LabeledCategoricalVariable, LabeledConllNerTag, LabeledIobConllNerTag, LabeledIobOntonotesNerTag, LabeledMutableBooleanVar, LabeledMutableCategoricalVar, LabeledOntonotesNerTag, LabeledPennPosTag, LabeledUniversalPosTag, MentionEntityType, MentionPairFeatures, MentionPairLabel, MentionType, MutableBooleanVar, MutableCategoricalVar, MyCategorical, MyFeatureVector, NerSpanLabel, NerTag, NonBinaryFeatures, NonProjDependencyParserFeatures, NounPhraseEntityType, NounPhraseType, NumberLabel, OntonotesNerSpanLabel, OntonotesNerTag, PairwiseLabel, ParseDecisionVariable, ParseTreeLabel, PennPosTag, Pixel, PosFeatures, PosFeatures, RelationLabel, SegmentationFeatures, SegmentationLabel, TensorBagOfCoAuthors, TensorBagOfKeywords, TensorBagOfTopics, TensorBagOfVenues, Token, Token, TokenFeatures, UniversalPosTag, Word
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CategoricalVectorVar
  2. VectorVar
  3. TensorVar
  4. Var
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Value <: la.Tensor1

    Definition Classes
    VectorVarTensorVarVar

Abstract Value Members

  1. abstract def domain: CategoricalVectorDomain[C]

    Definition Classes
    CategoricalVectorVarVectorVar
  2. abstract def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    VectorVarTensorVarVar

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(other: Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def ++=(elts: Iterable[C]): Unit

  6. def +=(elt: C): Unit

  7. def +=(elt: C, incr: Double): Unit

  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def ===(other: Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  11. def activeCategories: Seq[C]

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def contains(index: Int): Boolean

    Definition Classes
    VectorVar
  15. def doWithIndexSafely(elt: C, v: Double, update: Boolean): Unit

    Attributes
    protected
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  25. def printName: String

    Definition Classes
    Var
  26. def skipNonCategories: Boolean

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown.

    If false, then when += is called with a value (or index) outside the Domain, an error is thrown. If true, then no error is thrown, and request to add the outside-Domain value is simply ignored.

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from VectorVar

Inherited from TensorVar

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped