slope 6.2.1
Loading...
Searching...
No Matches
setup_solver.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "solver.h"
9#include <memory>
10#include <optional>
11#include <string>
12
13namespace slope {
14
41std::unique_ptr<SolverBase>
42setupSolver(const std::string& solver_type,
43 const std::string& loss,
44 JitNormalization jit_normalization,
45 bool intercept,
46 bool update_clusters,
47 int cd_iterations,
48 const std::string& cd_type,
49 std::optional<int> random_seed = std::nullopt);
50
51} // namespace slope
Namespace containing SLOPE regression implementation.
Definition clusters.h:11
std::unique_ptr< SolverBase > setupSolver(const std::string &solver_type, const std::string &loss, JitNormalization jit_normalization, bool intercept, bool update_clusters, int cd_iterations, const std::string &cd_type, std::optional< int > random_seed=std::nullopt)
Factory function to create and configure a SLOPE solver.
JitNormalization
Enums to control predictor standardization behavior.
Numerical solver class for SLOPE (Sorted L-One Penalized Estimation)