Optimization (pysit.optimization)

Introduction

Optimization routines are...

Getting Started

  • A basic history
  • Setting line search
  • Iteration limit
  • Frequency scheduling

Using optimization

More details

Iteration History

Configuring History

Retrieving History

Adding History Item

Outer and Inner Loops

Extending optimization

Define the required interface:

  • _select_step
  • inner_loop
  • _compute_alpha0

Reference/API

pysit.optimization Module

Classes

ConjugateGradient(objective[, reset_length, ...])
GaussNewton(objective[, krylov_maxiter])
GradientDescent(objective, *args, **kwargs)
LBFGS(objective[, memory_length, ...])