Package minfx :: Module coordinate_descent :: Class Coordinate_descent
[hide private]
[frames] | no frames]

Class Coordinate_descent

source code


Instance Methods [hide private]
 
__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
Class for back-and-forth coordinate descent minimisation specific functions.
source code
 
new_param_func(self)
The new parameter function.
source code
 
update(self)
Function to update the function value, gradient vector, and Hessian matrix.
source code

Inherited from base_classes.Line_search: backline, line_search_options, mt, no_search, nwi, nww, setup_line_search, valid_line_search

Inherited from base_classes.Min: double_test, func_test, grad_test, hessian_type_and_mod, minimise, setup_conv_tests

Method Details [hide private]

__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
(Constructor)

source code 

Class for back-and-forth coordinate descent minimisation specific functions.

Unless you know what you are doing, you should call the function 'coordinate_descent' rather than using this class.

Overrides: base_classes.Min.__init__

new_param_func(self)

source code 

The new parameter function.

Find the search direction, do a line search, and get xk+1 and fk+1.

update(self)

source code 

Function to update the function value, gradient vector, and Hessian matrix.

Overrides: base_classes.Min.update