Packages

case class TermLearner[F](supp: EvolverSupport, prob: (EvolverVariables) => F, apInv: ApplnInverse)(implicit evidence$3: Field[F], evidence$4: Trig[F]) extends EvolverEquations[F] with Product with Serializable

Adding equations from a simple generative model to EvolverEquations

Linear Supertypes
Serializable, Product, Equals, EvolverEquations[F], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TermLearner
  2. Serializable
  3. Product
  4. Equals
  5. EvolverEquations
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TermLearner(supp: EvolverSupport, prob: (EvolverVariables) => F, apInv: ApplnInverse)(implicit arg0: Field[F], arg1: Trig[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toany2stringadd[TermLearner[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TermLearner[F], B)
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toArrowAssoc[TermLearner[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val apInv: ApplnInverse
  7. def appl: F
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. lazy val consistencyCost: F

    a cost associated to a lack of consistency of the probabilities.

    a cost associated to a lack of consistency of the probabilities.

    Definition Classes
    EvolverEquations
  11. lazy val consistencyEquations: Vector[(F, F)]

    all the equations for consistency of final probabilities in all contexts as well as the total initial probability being 1.

    all the equations for consistency of final probabilities in all contexts as well as the total initial probability being 1.

    Definition Classes
    EvolverEquations
  12. def contextConsistency(context: Vector[Term]): Vector[(F, F)]

    all the equations for consistency of the final distribution for a context

    all the equations for consistency of the final distribution for a context

    Definition Classes
    EvolverEquations
  13. def cost(cnstWt: Double, evWt: Double, klWt: Double, hWt: Double): F

    the total cost, including consistency and entropies

  14. def ensuring(cond: (TermLearner[F]) => Boolean, msg: => Any): TermLearner[F]
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toEnsuring[TermLearner[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (TermLearner[F]) => Boolean): TermLearner[F]
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toEnsuring[TermLearner[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): TermLearner[F]
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toEnsuring[TermLearner[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): TermLearner[F]
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toEnsuring[TermLearner[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. lazy val evolutionCost: F

    cost due to mismatch in the recursive generation equations.

  20. lazy val evolutionEquations: Vector[(F, F)]

    equations for final probabilities being as generated

  21. implicit val field: Field[F]
    Definition Classes
    EvolverEquations
  22. def finalProb(t: Term, context: Vector[Term]): F

    probability of t in the final distribution given a context, this gives the image of the variable obtained by normalizing to a basis context

    probability of t in the final distribution given a context, this gives the image of the variable obtained by normalizing to a basis context

    Definition Classes
    EvolverEquations
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toStringFormat[TermLearner[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def fromAppl(t: Term, context: Vector[Term]): F

    recursive probability that a term is generated by function application

  25. def fromIsland(t: Term, context: Vector[Term]): F

    recursive probability that a term is generated from an island, either lambda or pi; the normalization of the context is done in finalProb

  26. def fromUnApp(t: Term, context: Vector[Term]): F

    recursive probability that a term is generated by unified application

  27. lazy val genEntropy: F

    the entropy of the generating distribution

    the entropy of the generating distribution

    Definition Classes
    EvolverEquations
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def hasTyp(typ: Typ[Term], context: Vector[Term]): F

    probability that a term has given type in the final distribution of a context

    probability that a term has given type in the final distribution of a context

    Definition Classes
    EvolverEquations
  30. def hasTypProb(typ: Typ[Term], context: Vector[Term]): (F, F)

    equation saying that the sum of the probabilities of terms with a given type is the probability of the event variable for terms having this type in the probability distribution of a context

    equation saying that the sum of the probabilities of terms with a given type is the probability of the event variable for terms having this type in the probability distribution of a context

    Definition Classes
    EvolverEquations
  31. def initContextProb(t: Term, context: Vector[Term]): F

    probability of a term in the initial distribution in a context

  32. def initProb(t: Term): F

    probability of t in the initial distribution

    probability of t in the initial distribution

    Definition Classes
    EvolverEquations
  33. def initWeight: F
  34. def isFuncP(context: Vector[Term]): F

    probability that a term is a function in the final distribution of a context

    probability that a term is a function in the final distribution of a context

    Definition Classes
    EvolverEquations
  35. def isFuncProb(context: Vector[Term]): (F, F)

    equation saying that the sum of the probabilities of terms that are functions is the probability of the event variable for terms being functions in the probability distribution of a context

    equation saying that the sum of the probabilities of terms that are functions is the probability of the event variable for terms being functions in the probability distribution of a context

    Definition Classes
    EvolverEquations
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isTypP(context: Vector[Term]): F

    probability that a term is a type in the final distribution of a context

    probability that a term is a type in the final distribution of a context

    Definition Classes
    EvolverEquations
  38. def isTypProb(context: Vector[Term]): (F, F)

    equation saying that the sum of the probabilities of terms that are types is the probability of the event variable for terms being types in the probability distribution of a context

    equation saying that the sum of the probabilities of terms that are types is the probability of the event variable for terms being types in the probability distribution of a context

    Definition Classes
    EvolverEquations
  39. lazy val kullbackLeibler: F

    the Kullback-Liebler divergence of the proof probabilities from the theorem probabilities

    the Kullback-Liebler divergence of the proof probabilities from the theorem probabilities

    Definition Classes
    EvolverEquations
  40. def lambdaWeight: F
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. def piWeight: F
  45. val prob: (EvolverVariables) => F
  46. def productElementNames: Iterator[String]
    Definition Classes
    Product
  47. def proofProb(thm: Typ[Term]): F

    total probability of the proof of a theorem

    total probability of the proof of a theorem

    Definition Classes
    EvolverEquations
  48. def recValue(t: Term, context: Vector[Term]): F

    total recursive probability from a simple generative model

  49. val supp: EvolverSupport
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def thmProb(thm: Typ[Term]): F

    probability of a theorem as the probability of its type conditioned on the type being inhabited

    probability of a theorem as the probability of its type conditioned on the type being inhabited

    Definition Classes
    EvolverEquations
  52. def totFinalProb(terms: Set[Term], context: Vector[Term]): F

    total final probability in context

    total final probability in context

    Definition Classes
    EvolverEquations
  53. lazy val totInitProbOne: (F, F)

    the equation saying that the total initial probability is 1.

    the equation saying that the total initial probability is 1.

    Definition Classes
    EvolverEquations
  54. def totProbOne(context: Vector[Term]): (F, F)

    the equation saying that the total probability in the final distribution of a context is 1.

    the equation saying that the total probability in the final distribution of a context is 1.

    Definition Classes
    EvolverEquations
  55. lazy val totThmProb: F

    total probability of all theorems

    total probability of all theorems

    Definition Classes
    EvolverEquations
  56. def unApp: F
  57. def varWeight: F
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (TermLearner[F], B)
    Implicit
    This member is added by an implicit conversion from TermLearner[F] toArrowAssoc[TermLearner[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EvolverEquations[F]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromTermLearner[F] to any2stringadd[TermLearner[F]]

Inherited by implicit conversion StringFormat fromTermLearner[F] to StringFormat[TermLearner[F]]

Inherited by implicit conversion Ensuring fromTermLearner[F] to Ensuring[TermLearner[F]]

Inherited by implicit conversion ArrowAssoc fromTermLearner[F] to ArrowAssoc[TermLearner[F]]

Ungrouped