Class

breeze.optimize

TruncatedNewtonMinimizer

Related Doc: package optimize

Permalink

class TruncatedNewtonMinimizer[T, H] extends Minimizer[T, SecondOrderFunction[T, H]] with SerializableLogging

Implements a TruncatedNewton Trust region method (like Tron). Also implements "Hessian Free learning". We have a few extra tricks though... :)

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

Instance Constructors

  1. new TruncatedNewtonMinimizer(maxIterations: Int = 1, tolerance: Double = 1E-6, l2Regularization: Double = 0, m: Int = 0)(implicit space: MutableVectorField[T, Double], mult: linalg.operators.OpMulMatrix.Impl2[H, T, T])

    Permalink

Type Members

  1. case class History(memStep: IndexedSeq[T] = IndexedSeq.empty, memGradDelta: IndexedSeq[T] = IndexedSeq.empty) extends Product with Serializable

    Permalink
  2. case class State(iter: Int, initialGNorm: Double, delta: Double, x: T, fval: Double, grad: T, h: H, adjFval: Double, adjGrad: T, stop: Boolean, accept: Boolean, history: History) extends Product with Serializable

    Permalink

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

    Permalink
    Definition Classes
    Any
  5. def chooseDescentDirection(state: State): T

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def initialHistory(f: DiffFunction[T], x: T): History

    Permalink
    Attributes
    protected
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def iterations(f: SecondOrderFunction[T, H], initial: T): Iterator[State]

    Permalink
  15. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  16. def minimize(f: SecondOrderFunction[T, H], initial: T): T

    Permalink
    Definition Classes
    TruncatedNewtonMinimizerMinimizer
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def updateHistory(newX: T, newGrad: T, newVal: Double, oldState: State): History

    Permalink
    Attributes
    protected
  23. final def wait(): Unit

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

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

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

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from Minimizer[T, SecondOrderFunction[T, H]]

Inherited from AnyRef

Inherited from Any

Ungrouped