Namespaces | Functions
lars.hpp File Reference
#include <raft/core/handle.hpp>
Include dependency graph for lars.hpp:

Go to the source code of this file.

Namespaces

 ML
 
 ML::Solver
 
 ML::Solver::Lars
 

Functions

template<typename math_t , typename idx_t >
void ML::Solver::Lars::larsFit (const raft::handle_t &handle, math_t *X, idx_t n_rows, idx_t n_cols, const math_t *y, math_t *beta, idx_t *active_idx, math_t *alphas, idx_t *n_active, math_t *Gram, int max_iter, math_t *coef_path, int verbosity, idx_t ld_X, idx_t ld_G, math_t eps)
 Train a regressor using LARS method. More...
 
template<typename math_t , typename idx_t >
void ML::Solver::Lars::larsPredict (const raft::handle_t &handle, const math_t *X, idx_t n_rows, idx_t n_cols, idx_t ld_X, const math_t *beta, idx_t n_active, idx_t *active_idx, math_t intercept, math_t *preds)
 Predict with LARS regressor. More...