slope 6.5.4
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
42std::unique_ptr<SolverBase>
43setupSolver(const std::string& solver_type,
44 const std::string& loss,
45 JitNormalization jit_normalization,
46 bool intercept,
47 bool update_clusters,
48 int cd_iterations,
49 const std::string& cd_type,
50 std::optional<int> random_seed = std::nullopt);
51
52} // 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)