Trait

epic.framework

ProjectableInference

Related Doc: package framework

Permalink

trait ProjectableInference[Datum, Augment] extends AugmentableInference[Datum, Augment]

A ProjectableInference is an epic.framework.AugmentableInference that can also create a new Augment from the marginal and the old augment. This is mostly for EP/BP-type setups where you iteratively improve the prior until convergence.

Datum

the kind of thing to do inference on

Augment

the extra piece of information we can use to do inference

Linear Supertypes
AugmentableInference[Datum, Augment], Inference[Datum], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectableInference
  2. AugmentableInference
  3. Inference
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Marginal <: framework.Marginal

    Permalink
    Definition Classes
    Inference
  2. abstract type Scorer

    Permalink
    Definition Classes
    Inference

Abstract Value Members

  1. abstract def baseAugment(v: Datum): Augment

    Permalink

    The "no prior information" augment.

    The "no prior information" augment. Used if nothing is passed in.

    Definition Classes
    AugmentableInference
  2. abstract def goldMarginal(scorer: Scorer, v: Datum, aug: Augment): Marginal

    Permalink
    Definition Classes
    AugmentableInference
  3. abstract def marginal(scorer: Scorer, v: Datum, aug: Augment): Marginal

    Permalink
    Definition Classes
    AugmentableInference
  4. abstract def project(v: Datum, s: Scorer, m: Marginal, oldAugment: Augment): Augment

    Permalink
  5. abstract def scorer(v: Datum): Scorer

    Permalink
    Definition Classes
    AugmentableInferenceInference

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def forTesting: ProjectableInference[Datum, Augment]

    Permalink
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def goldMarginal(scorer: Scorer, v: Datum): Marginal

    Permalink

    Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.

    Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.

    v

    the example

    returns

    gold marginal

    Definition Classes
    AugmentableInferenceInference
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def marginal(scorer: Scorer, v: Datum): Marginal

    Permalink

    Produces the "guess marginal" which is the marginal conditioned on only the input data

    Produces the "guess marginal" which is the marginal conditioned on only the input data

    v

    the example

    returns

    gold marginal

    Definition Classes
    AugmentableInferenceInference
  14. def marginal(v: Datum): Marginal

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 AugmentableInference[Datum, Augment]

Inherited from Inference[Datum]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped