Skip to content

L2-regularized (ridge) linear regression without intercept in c++11 with Eigen3, using svd

License

Notifications You must be signed in to change notification settings

pconstr/eigen-ridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

eigen-ridge

L2-regularized (ridge) linear regression without intercept in c++11 as Eigen3 template function. Uses singular value decomposition, works with both tall and wide design matrices.

This is free and unencumbered software released into the public domain.

#include "eigen_ridge.hpp"

MatrixXd A;
VectorXd y;
auto x = ridge(A, y, alpha);

About

L2-regularized (ridge) linear regression without intercept in c++11 with Eigen3, using svd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages