symforce.opt.optimizer_params module¶
- class OptimizerParams(verbose=False, debug_stats=False, check_derivatives=False, include_jacobians=False, debug_checks=False, initial_lambda=1.0, lambda_lower_bound=0.0, lambda_upper_bound=1000000.0, lambda_update_type=lambda_update_type_t.STATIC, lambda_up_factor=4.0, lambda_down_factor=0.25, dynamic_lambda_update_beta=2.0, dynamic_lambda_update_gamma=3.0, dynamic_lambda_update_p=3, use_diagonal_damping=False, use_unit_damping=True, keep_max_diagonal_damping=False, diagonal_damping_min=1e-06, iterations=50, early_exit_min_reduction=1e-06, early_exit_min_absolute_error=0.0, enable_bold_updates=False)[source]¶
Bases:
object
Parameters for the SymForce Optimizer
Mirrors the
optimizer_params_t
LCM type, see documentation there for information on each parameter.- Parameters:
verbose (bool) –
debug_stats (bool) –
check_derivatives (bool) –
include_jacobians (bool) –
debug_checks (bool) –
initial_lambda (float) –
lambda_lower_bound (float) –
lambda_upper_bound (float) –
lambda_update_type (lambda_update_type_t) –
lambda_up_factor (float) –
lambda_down_factor (float) –
dynamic_lambda_update_beta (float) –
dynamic_lambda_update_gamma (float) –
dynamic_lambda_update_p (int) –
use_diagonal_damping (bool) –
use_unit_damping (bool) –
keep_max_diagonal_damping (bool) –
diagonal_damping_min (float) –
iterations (int) –
early_exit_min_reduction (float) –
early_exit_min_absolute_error (float) –
enable_bold_updates (bool) –
- lambda_update_type: lambda_update_type_t = 1¶