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
- Alphabetic
- By Inheritance
- ProjectableInference
- AugmentableInference
- Inference
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
Marginal <: framework.Marginal
- Definition Classes
- Inference
-
abstract
type
Scorer
- Definition Classes
- Inference
Abstract Value Members
-
abstract
def
baseAugment(v: Datum): Augment
The "no prior information" augment.
The "no prior information" augment. Used if nothing is passed in.
- Definition Classes
- AugmentableInference
-
abstract
def
goldMarginal(scorer: Scorer, v: Datum, aug: Augment): Marginal
- Definition Classes
- AugmentableInference
-
abstract
def
marginal(scorer: Scorer, v: Datum, aug: Augment): Marginal
- Definition Classes
- AugmentableInference
- abstract def project(v: Datum, s: Scorer, m: Marginal, oldAugment: Augment): Augment
-
abstract
def
scorer(v: Datum): Scorer
- Definition Classes
- AugmentableInference → Inference
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forTesting: ProjectableInference[Datum, Augment]
- Definition Classes
- ProjectableInference → AugmentableInference → Inference
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
goldMarginal(scorer: Scorer, v: Datum): Marginal
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
- AugmentableInference → Inference
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
marginal(scorer: Scorer, v: Datum): Marginal
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
- AugmentableInference → Inference
-
def
marginal(v: Datum): Marginal
- Definition Classes
- Inference
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )