epic.parser.models

NeuralInference

case class NeuralInference[L, L2, W](baseInference: LatentParserInference[L, L2, W], labelFeaturizer: RefinedFeaturizer[L, W, Feature], surfaceFeaturizer: IndexedSplitSpanFeaturizer[W], lastLayerWeights: DenseMatrix[Double], layer: Layer) extends ParserInference[L, W] with Product with Serializable

Linear Supertypes
Product, Equals, ParserInference[L, W], ProjectableInference[TreeInstance[L, W], UnrefinedGrammarAnchoring[L, W]], AugmentableInference[TreeInstance[L, W], UnrefinedGrammarAnchoring[L, W]], Inference[TreeInstance[L, W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NeuralInference
  2. Product
  3. Equals
  4. ParserInference
  5. ProjectableInference
  6. AugmentableInference
  7. Inference
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NeuralInference(baseInference: LatentParserInference[L, L2, W], labelFeaturizer: RefinedFeaturizer[L, W, Feature], surfaceFeaturizer: IndexedSplitSpanFeaturizer[W], lastLayerWeights: DenseMatrix[Double], layer: Layer)

Type Members

  1. type ExpectedCounts = StandardExpectedCounts[Feature]

    Definition Classes
    ParserInference
  2. type Marginal = ParseMarginal[L, W]

    Definition Classes
    ParserInferenceInference
  3. type Scorer = GrammarAnchoring[L, W]

    Definition Classes
    ParserInferenceInference

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def baseAugment(v: TreeInstance[L, W]): UnrefinedGrammarAnchoring[L, W]

    The "no prior information" augment.

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

    Definition Classes
    ParserInferenceAugmentableInference
  8. val baseInference: LatentParserInference[L, L2, W]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def constrainer: Factory[L, W]

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

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def forTesting: NeuralInference[L, L2, W]

    Definition Classes
    NeuralInferenceParserInference
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def goldMarginal(scorer: Scorer, ti: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal

    Definition Classes
    NeuralInferenceAugmentableInference
  16. def goldMarginal(scorer: Scorer, v: TreeInstance[L, W]): 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
    AugmentableInferenceInference
  17. val grammar: NeuralModel.Grammar[L, W]

    Definition Classes
    NeuralInferenceParserInference
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val labelFeaturizer: RefinedFeaturizer[L, W, Feature]

  20. val lastLayerWeights: DenseMatrix[Double]

  21. val layer: Layer

  22. def marginal(scorer: Scorer, v: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): 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
    ParserInferenceAugmentableInference
  23. def marginal(scorer: Scorer, v: TreeInstance[L, W]): 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
    AugmentableInferenceInference
  24. def marginal(v: TreeInstance[L, W]): Marginal

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

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

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

    Definition Classes
    AnyRef
  28. def project(v: TreeInstance[L, W], s: Scorer, m: Marginal, oldAugment: UnrefinedGrammarAnchoring[L, W]): UnrefinedGrammarAnchoring[L, W]

    Definition Classes
    ParserInferenceProjectableInference
  29. def projector: EPProjector[L, W]

    Attributes
    protected
    Definition Classes
    ParserInference
  30. def scorer(v: TreeInstance[L, W]): Scorer

  31. val surfaceFeaturizer: IndexedSplitSpanFeaturizer[W]

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from ParserInference[L, W]

Inherited from Inference[TreeInstance[L, W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped