breeze.maxent

MaxEntObjectiveFunction

abstract class MaxEntObjectiveFunction extends DiffFunction[DenseVector[Double]]

Linear Supertypes
DiffFunction[DenseVector[Double]], StochasticDiffFunction[DenseVector[Double]], (DenseVector[Double]) ⇒ Double, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MaxEntObjectiveFunction
  2. DiffFunction
  3. StochasticDiffFunction
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MaxEntObjectiveFunction()

Type Members

  1. abstract type Context

  2. abstract type Decision

  3. abstract type Feature

  4. final case class State(encodedWeights: DenseVector[Double], marginalLikelihood: Double) extends Product with Serializable

  5. class mStepObjective extends DiffFunction[DenseVector[Double]]

Abstract Value Members

  1. abstract val contextIndex: Index[Context]

  2. abstract val decisionIndex: Index[Decision]

  3. abstract def expectedCounts(logThetas: IndexedSeq[Vector[Double]]): (Double, IndexedSeq[Vector[Double]])

    Attributes
    protected
  4. abstract def features(d: Decision, c: Context): IndexedSeq[Feature]

    Attributes
    protected
  5. abstract val indexedDecisionsForContext: IndexedSeq[IndexedSeq[Int]]

  6. abstract def initialValueForFeature(f: Feature): Double

    Attributes
    protected

Concrete 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. def andThen[A](g: (Double) ⇒ A): (DenseVector[Double]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(x: DenseVector[Double]): Double

    Definition Classes
    StochasticDiffFunction → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def calculate(weights: DenseVector[Double]): (Double, DenseVector[Double])

    Calculates both the value and the gradient at a point

    Calculates both the value and the gradient at a point

    Definition Classes
    MaxEntObjectiveFunctionStochasticDiffFunction
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def compose[A](g: (A) ⇒ DenseVector[Double]): (A) ⇒ Double

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def computeGradient(featureWeights: Vector[Double], logThetas: IndexedSeq[Vector[Double]], eCounts: IndexedSeq[Vector[Double]], eTotals: IndexedSeq[Double]): (Double, DenseVector[Double])

    Attributes
    protected
  13. def computeValue(featureWeights: Vector[Double], logThetas: IndexedSeq[Vector[Double]], eCounts: IndexedSeq[Vector[Double]], eTotals: IndexedSeq[Double]): Double

    Attributes
    protected
  14. lazy val contextBroker: Encoder[Context]

  15. lazy val decisionBroker: Encoder[Decision]

    Attributes
    protected
  16. def decodeThetas(m: IndexedSeq[Vector[Double]]): Counter2[Context, Decision, Double]

    Attributes
    protected
  17. lazy val defaultInitWeights: Counter[Feature, Double]

  18. lazy val encodedInitialWeights: DenseVector[Double]

  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. lazy val featureEncoder: Encoder[Feature]

  22. lazy val featureGrid: Array[SparseArray[Array[Int]]]

  23. lazy val featureIndex: Index[Feature]

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def gradientAt(x: DenseVector[Double]): DenseVector[Double]

    calculates the gradient at a point

    calculates the gradient at a point

    Definition Classes
    StochasticDiffFunction
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  32. def sumWeights(indices: Array[Int], weights: DenseVector[Double]): Double

    Attributes
    protected
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def throughLens[U](implicit l: Isomorphism[DenseVector[Double], U]): DiffFunction[U]

    Lenses provide a way of mapping between two types, which we typically use to convert something to a DenseVector or other Tensor for optimization purposes.

    Lenses provide a way of mapping between two types, which we typically use to convert something to a DenseVector or other Tensor for optimization purposes.

    Definition Classes
    StochasticDiffFunction
  35. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  36. def valueAt(weights: DenseVector[Double]): Double

    calculates the value at a point

    calculates the value at a point

    Definition Classes
    MaxEntObjectiveFunctionStochasticDiffFunction
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DiffFunction[DenseVector[Double]]

Inherited from StochasticDiffFunction[DenseVector[Double]]

Inherited from (DenseVector[Double]) ⇒ Double

Inherited from AnyRef

Inherited from Any

Ungrouped