breeze.optimize

FirstOrderMinimizer

abstract class FirstOrderMinimizer[T, DF <: StochasticDiffFunction[T]] extends Minimizer[T, DF] with SerializableLogging

Linear Supertypes
SerializableLogging, Serializable, Serializable, Minimizer[T, DF], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FirstOrderMinimizer
  2. SerializableLogging
  3. Serializable
  4. Serializable
  5. Minimizer
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FirstOrderMinimizer(maxIter: Int = -1, tolerance: Double = 1.0E-6, improvementTol: Double = 0.001, minImprovementWindow: Int = 10, numberOfImprovementFailures: Int = 1)(implicit space: NormedModule[T, Double])

    minImprovementWindow

    How many iterations to improve function by at least improvementTol

Type Members

  1. abstract type History

    Any history the derived minimization function needs to do its updates.

    Any history the derived minimization function needs to do its updates. typically an approximation to the second derivative/hessian matrix.

  2. case class State(x: T, value: Double, grad: T, adjustedValue: Double, adjustedGradient: T, iter: Int, initialAdjVal: Double, history: History, fVals: IndexedSeq[Double] = ..., numImprovementFailures: Int = 0, searchFailed: Boolean = false) extends Product with Serializable

    Tracks the information about the optimizer, including the current point, its value, gradient, and then any history.

Abstract Value Members

  1. abstract def chooseDescentDirection(state: State, f: DF): T

    Attributes
    protected
  2. abstract def determineStepSize(state: State, f: DF, direction: T): Double

    Attributes
    protected
  3. abstract def initialHistory(f: DF, init: T): History

    Attributes
    protected
  4. abstract def takeStep(state: State, dir: T, stepSize: Double): T

    Attributes
    protected
  5. abstract def updateHistory(newX: T, newGrad: T, newVal: Double, f: DF, oldState: State): History

    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 adjust(newX: T, newGrad: T, newVal: Double): (Double, T)

    Attributes
    protected
  7. def adjustFunction(f: DF): DF

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def calculateObjective(f: DF, x: T, history: History): (Double, T)

    Attributes
    protected
  10. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def initialState(f: DF, init: T): State

    Attributes
    protected
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def iterations(f: DF, init: T): Iterator[State]

  19. def logger: LazyLogger

    Attributes
    protected
    Definition Classes
    SerializableLogging
  20. val minImprovementWindow: Int

    How many iterations to improve function by at least improvementTol

  21. def minimize(f: DF, init: T): T

    Definition Classes
    FirstOrderMinimizerMinimizer
  22. def minimizeAndReturnState(f: DF, init: T): State

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. val numberOfImprovementFailures: Int

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def updateFValWindow(oldState: State, newAdjVal: Double): IndexedSeq[Double]

    Attributes
    protected
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from Minimizer[T, DF]

Inherited from AnyRef

Inherited from Any

Ungrouped