Skylark (Sketching Library)
0.1
|
00001 #ifndef SKYLARK_LINEARL2_REGRESSION_SOLVER_HPP 00002 #define SKYLARK_LINEARL2_REGRESSION_SOLVER_HPP 00003 00004 #include "regression_solver.hpp" 00005 00006 namespace skylark { 00007 namespace algorithms { 00008 00011 struct l2_solver_tag {}; 00012 00014 struct qr_l2_solver_tag : l2_solver_tag {}; 00015 00017 struct sne_l2_solver_tag : l2_solver_tag {}; 00018 00020 struct ne_l2_solver_tag : l2_solver_tag {}; 00021 00023 struct svd_l2_solver_tag : l2_solver_tag {}; 00024 00030 template <typename KrylovMethod> 00031 struct iterative_l2_solver_tag : l2_solver_tag {}; 00032 00034 struct krylov_tag {}; 00035 00037 struct lsqr_tag: public krylov_tag {}; 00038 00039 } // namespace algorithms 00040 } // namespace skylark 00041 00042 #if SKYLARK_HAVE_ELEMENTAL 00043 #include "linearl2_regression_solver_Elemental.hpp" 00044 #endif 00045 00046 #include "linearl2_regression_solver_Krylov.hpp" 00047 00048 #endif // SKYLARK_LINEARL2_REGRESSION_SOLVER_HPP