breeze.optimize

FirstOrderMinimizer

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

Linear Supertypes
Logging, Minimizer[T, DF], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FirstOrderMinimizer
  2. Logging
  3. Minimizer
  4. AnyRef
  5. 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-5, improvementTol: Double = 0.001, minImprovementWindow: Int = 10, numberOfImprovementFailures: Int = 1)(implicit vspace: NormedVectorSpace[T, Double])

    minImprovementWindow

    How many iterations to improve function by at least improvementTol

Type Members

  1. abstract type History

  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

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, 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

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

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

  17. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  18. val minImprovementWindow: Int

    How many iterations to improve function by at least improvementTol

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

    Definition Classes
    FirstOrderMinimizerMinimizer
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. val numberOfImprovementFailures: Int

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

    Attributes
    protected
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Minimizer[T, DF]

Inherited from AnyRef

Inherited from Any

Ungrouped