Class

epic.framework

OneBestModelAdaptor

Related Doc: package framework

Permalink

class OneBestModelAdaptor[Datum] extends Model[Datum]

Linear Supertypes
Model[Datum], SerializableLogging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OneBestModelAdaptor
  2. Model
  3. SerializableLogging
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneBestModelAdaptor(model: Model[Datum] { type Inference <: epic.framework.AnnotatingInference[Datum] })

    Permalink

Type Members

  1. type ExpectedCounts = (model)#ExpectedCounts

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  2. type Inference = OneBestInferenceAdaptor[Datum] { ... /* 2 definitions in type refinement */ }

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  3. type Marginal = (model)#Marginal

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  4. type Scorer = (model)#Scorer

    Permalink
    Definition Classes
    OneBestModelAdaptorModel

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

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  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
    Model
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  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: ExpectedCounts): (Double, DenseVector[Double])

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  14. 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
    OneBestModelAdaptorModel
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def inferenceFromWeights(weights: DenseVector[Double]): Inference

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  18. def initialValueForFeature(f: Feature): Double

    Permalink
    Definition Classes
    OneBestModelAdaptorModel
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  21. val model: Model[Datum] { type Inference <: epic.framework.AnnotatingInference[Datum] }

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def numFeatures: Int

    Permalink
    Definition Classes
    Model
  26. 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
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Model

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Model[Datum]

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped