Class/Object

epic.framework

EPModel

Related Docs: object EPModel | package framework

Permalink

class EPModel[Datum, Augment <: AnyRef] extends Model[Datum] with SafeLogging

Linear Supertypes
Model[Datum], SafeLogging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EPModel
  2. Model
  3. SafeLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EPModel(maxEPIter: Int, initFeatureValue: (Feature) ⇒ Option[Double] = (_:Feature) => None, epInGold: Boolean = false, dropOutFraction: Double = 0.0)(_models: CompatibleModel[Datum, Augment]*)(implicit aIsFactor: <:<[Augment, Factor[Augment]])

    Permalink

Type Members

  1. type ExpectedCounts = EPExpectedCounts

    Permalink
    Definition Classes
    EPModelModel
  2. type Inference = EPInference[Datum, Augment]

    Permalink
    Definition Classes
    EPModelModel
  3. type Marginal = EPMarginal[Augment, ProjectableInference.Marginal]

    Permalink
    Definition Classes
    EPModelModel
  4. type Scorer = EPScorer[ProjectableInference.Scorer]

    Permalink
    Definition Classes
    EPModelModel

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, datum: Datum, marg: Marginal, accum: ExpectedCounts, scale: Double): Unit

    Permalink
    Definition Classes
    EPModelModel
  5. final def accumulateCounts(inf: Inference, d: Datum, 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
    EPModelModel
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def emptyCounts: EPExpectedCounts

    Permalink
    Definition Classes
    EPModelModel
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def expectedCounts(inf: Inference, d: Datum, scale: Double = 1.0): ExpectedCounts

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

    Permalink
    Definition Classes
    EPModelModel
  14. val 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
    EPModelModel
  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 inferenceFromWeights(weights: DenseVector[Double], dropOutFraction: Double): EPInference[Datum, Augment]

    Permalink
  19. def inferenceFromWeights(weights: DenseVector[Double]): EPInference[Datum, Augment]

    Permalink
    Definition Classes
    EPModelModel
  20. def initialValueForFeature(f: Feature): Double

    Permalink
    Definition Classes
    EPModelModel
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def logger: Logger

    Permalink
    Definition Classes
    SafeLogging
  23. def models: Seq[CompatibleModel[Datum, Augment]]

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def numFeatures: Int

    Permalink
    Definition Classes
    Model
  28. def numModels: Int

    Permalink
  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
    EPModelModel
  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 Model[Datum]

Inherited from SafeLogging

Inherited from AnyRef

Inherited from Any

Ungrouped