Class/Object

epic.sequences

SemiCRFModel

Related Docs: object SemiCRFModel | package sequences

Permalink

class SemiCRFModel[L, W] extends Model[Segmentation[L, W]] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, Model[Segmentation[L, W]], Model[Segmentation[L, W]], SafeLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemiCRFModel
  2. Serializable
  3. Serializable
  4. Model
  5. Model
  6. SafeLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SemiCRFModel(featurizer: BIEOFeaturizer[L, W], constraintsFactory: Factory[L, W], initialWeights: (Feature) ⇒ Double = (_: Feature) => 0.0)

    Permalink

Type Members

  1. type ExpectedCounts = StandardExpectedCounts[Feature]

    Permalink
    Definition Classes
    ModelModel
  2. type Inference = SemiCRFInference[L, W]

    Permalink
    Definition Classes
    SemiCRFModelModel
  3. type Marginal = SemiCRF.Marginal[L, W]

    Permalink
    Definition Classes
    SemiCRFModelModel
  4. type Scorer = Anchoring[L, W]

    Permalink
    Definition Classes
    SemiCRFModelModel

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accumulateCounts(inf: Inference, s: Scorer, d: Segmentation[L, W], marg: Marginal, counts: ExpectedCounts, scale: Double): Unit

    Permalink
    Definition Classes
    SemiCRFModelModel
  5. final def accumulateCounts(inf: Inference, d: Segmentation[L, W], accum: ExpectedCounts, scale: Double): Unit

    Permalink
    Definition Classes
    Model
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cacheFeatureWeights(weights: DenseVector[Double], suffix: String = ""): Unit

    Permalink

    Caches the weights using the cache broker.

    Caches the weights using the cache broker.

    Definition Classes
    Model
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val constraintsFactory: Factory[L, W]

    Permalink
  10. def emptyCounts: StandardExpectedCounts[Feature]

    Permalink
    Definition Classes
    ModelModel
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def expectedCounts(inf: Inference, d: Segmentation[L, W], scale: Double = 1.0): ExpectedCounts

    Permalink
    Definition Classes
    Model
  14. def expectedCountsToObjective(ecounts: ExpectedCounts): (Double, DenseVector[Double])

    Permalink
    Definition Classes
    ModelModel
  15. def extractCRF(weights: DenseVector[Double]): Inference

    Permalink
  16. def featureIndex: Index[Feature]

    Permalink

    Models have features, and this defines the mapping from indices in the weight vector to features.

    Models have features, and this defines the mapping from indices in the weight vector to features.

    Definition Classes
    SemiCRFModelModel
  17. val featurizer: BIEOFeaturizer[L, W]

    Permalink
  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def inferenceFromWeights(weights: DenseVector[Double]): Inference

    Permalink
    Definition Classes
    SemiCRFModelModel
  22. def initialValueForFeature(f: Feature): Double

    Permalink
    Definition Classes
    SemiCRFModelModel
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def logger: Logger

    Permalink
    Definition Classes
    SafeLogging
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def numFeatures: Int

    Permalink
    Definition Classes
    Model
  29. def readCachedFeatureWeights(suffix: String = ""): Option[DenseVector[Double]]

    Permalink

    just saves feature weights to disk as a serialized counter.

    just saves feature weights to disk as a serialized counter. The file is prefix.ser.gz

    Definition Classes
    Model
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def weightsCacheName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Model

Inherited from Serializable

Inherited from Serializable

Inherited from Model[Segmentation[L, W]]

Inherited from Model[Segmentation[L, W]]

Inherited from SafeLogging

Inherited from AnyRef

Inherited from Any

Ungrouped