Class/Object

breeze.optimize

ProjectedQuasiNewton

Related Docs: object ProjectedQuasiNewton | package optimize

Permalink

class ProjectedQuasiNewton extends FirstOrderMinimizer[DenseVector[Double], DiffFunction[DenseVector[Double]]] with Projecting[DenseVector[Double]] with SerializableLogging

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectedQuasiNewton
  2. Projecting
  3. FirstOrderMinimizer
  4. SerializableLogging
  5. Serializable
  6. Serializable
  7. Minimizer
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProjectedQuasiNewton(tolerance: Double = 1e-6, m: Int = 10, initFeas: Boolean = false, testOpt: Boolean = true, maxIter: Int = 1, maxSrchIt: Int = 50, gamma: Double = 1e-4, projection: (DenseVector[Double]) ⇒ DenseVector[Double] = identity, relativeTolerance: Boolean = true)(implicit space: MutableInnerProductModule[DenseVector[Double], Double])

    Permalink
  2. new ProjectedQuasiNewton(convergenceCheck: ConvergenceCheck[DenseVector[Double]], innerOptimizer: SpectralProjectedGradient[DenseVector[Double]], m: Int, initFeas: Boolean, testOpt: Boolean, maxSrchIt: Int, gamma: Double, projection: (DenseVector[Double]) ⇒ DenseVector[Double])(implicit space: MutableInnerProductModule[DenseVector[Double], Double])

    Permalink

Type Members

  1. type BDV = DenseVector[Double]

    Permalink
  2. type History = CompactHessian

    Permalink

    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.

    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  3. type State = FirstOrderMinimizer.State[DenseVector[Double], Info, History]

    Permalink
    Definition Classes
    FirstOrderMinimizer

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adjust(newX: DenseVector[Double], newGrad: DenseVector[Double], newVal: Double): (Double, DenseVector[Double])

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  5. def adjustFunction(f: DiffFunction[DenseVector[Double]]): DiffFunction[DenseVector[Double]]

    Permalink
    Attributes
    protected
    Definition Classes
    FirstOrderMinimizer
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def calculateObjective(f: DiffFunction[DenseVector[Double]], x: DenseVector[Double], history: History): (Double, DenseVector[Double])

    Permalink
    Attributes
    protected
    Definition Classes
    FirstOrderMinimizer
  8. def chooseDescentDirection(state: State, fn: DiffFunction[DenseVector[Double]]): DenseVector[Double]

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val convergenceCheck: ConvergenceCheck[DenseVector[Double]]

    Permalink
    Definition Classes
    FirstOrderMinimizer
  11. def determineStepSize(state: State, f: DiffFunction[DenseVector[Double]], dir: DenseVector[Double]): Double

    Permalink

    Given a direction, perform a Strong Wolfe Line Search

    Given a direction, perform a Strong Wolfe Line Search

    TO DO: Compare performance with Cubic Interpolation based line search from Mark's PQN paper

    state

    the current state

    f

    The objective

    dir

    The step direction

    returns

    stepSize

    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val gamma: Double

    Permalink
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def infiniteIterations(f: DiffFunction[DenseVector[Double]], state: State): Iterator[State]

    Permalink
    Definition Classes
    FirstOrderMinimizer
  19. val initFeas: Boolean

    Permalink
  20. def initialHistory(f: DiffFunction[DenseVector[Double]], init: DenseVector[Double]): History

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  21. def initialState(f: DiffFunction[DenseVector[Double]], init: DenseVector[Double]): State

    Permalink
    Attributes
    protected
    Definition Classes
    FirstOrderMinimizer
  22. val innerOptimizer: SpectralProjectedGradient[DenseVector[Double]]

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def iterations(f: DiffFunction[DenseVector[Double]], init: DenseVector[Double]): Iterator[State]

    Permalink
    Definition Classes
    FirstOrderMinimizer
  25. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  26. val m: Int

    Permalink
  27. val maxSrchIt: Int

    Permalink
  28. def minimize(f: DiffFunction[DenseVector[Double]], init: DenseVector[Double]): DenseVector[Double]

    Permalink
    Definition Classes
    FirstOrderMinimizerMinimizer
  29. def minimizeAndReturnState(f: DiffFunction[DenseVector[Double]], init: DenseVector[Double]): State

    Permalink
    Definition Classes
    FirstOrderMinimizer
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def projectedVector(x: DenseVector[Double], g: DenseVector[Double])(implicit vspace: Module[DenseVector[Double], Double]): DenseVector[Double]

    Permalink
    Definition Classes
    Projecting
  34. val projection: (DenseVector[Double]) ⇒ DenseVector[Double]

    Permalink
    Definition Classes
    ProjectedQuasiNewtonProjecting
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def takeStep(state: State, dir: DenseVector[Double], stepSize: Double): DenseVector[Double]

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  37. val testOpt: Boolean

    Permalink
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def updateHistory(newX: DenseVector[Double], newGrad: DenseVector[Double], newVal: Double, f: DiffFunction[DenseVector[Double]], oldState: State): History

    Permalink
    Attributes
    protected
    Definition Classes
    ProjectedQuasiNewtonFirstOrderMinimizer
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Projecting[DenseVector[Double]]

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped