38template <concepts::explicit_regularized_solver Solver>
114 const auto [min_param, max_param] =
solver_->param_search_region();
115 const scalar_type log_min_param = log10(min_param);
116 const scalar_type log_max_param = log10(max_param);
117 optimizer_.init(log_min_param, log_max_param);
Wrapper class of a function object to use as an objective function.
Class to perform global optimization using heuristics.
Class of objective function in GCV.
Solver solver_type
Type of solvers.
const solver_type * solver_
Solver.
typename solver_type::scalar_type scalar_type
Type of scalars.
explicit_gcv_objective_function(const solver_type &solver)
Constructor.
auto operator()(const scalar_type &log_param) const -> scalar_type
Calculate GCV function.
Class to search optimal regularization parameter using GCV.
typename solver_type::data_type data_type
Type of data.
Optimizer< opt::function_object_wrapper< scalar_type(scalar_type), explicit_gcv_objective_function< solver_type > > > optimizer_type
Type of optimizers.
void solve(data_type &solution) const
Solver with the optimal regularization parameter.
auto opt_param() const -> scalar_type
Get the optimal regularization parameter.
void search()
Search the optimal regularization parameter.
optimizer_type optimizer_
Optimizer.
const solver_type * solver_
Solver.
typename solver_type::scalar_type scalar_type
Type of scalars.
explicit_gcv(const solver_type &solver)
Constructor.
Solver solver_type
Type of solvers.
scalar_type opt_param_
Optimal regularization parameter.
Base class for searching the optimal regularization parameters using explicit formulas for regulariza...
typename solver_type::data_type data_type
Type of data.
typename solver_type::scalar_type scalar_type
Type of scalars.
Solver solver_type
Type of solvers.
Concept of solvers using explicit formulas for regularization.
Definition of explicit_param_searcher_base class.
Definition of explicit_regularized_solver concept.
Definition of function_object_wrapper class.
Definition of heuristic_global_optimizer class.
Namespace of regularization algorithms.