Skylark (Sketching Library)
0.1
|
#include <iostream>
#include <elemental.hpp>
#include <boost/mpi.hpp>
#include <boost/format.hpp>
#include <skylark.hpp>
Go to the source code of this file.
typedef elem::DistMatrix<double, elem::VC, elem::STAR> matrix_type |
Definition at line 28 of file regression.cpp.
typedef elem::DistMatrix<double, elem::STAR, elem::STAR> precond_type |
Definition at line 32 of file regression.cpp.
typedef skyalg::regression_problem_t<matrix_type, skyalg::linear_tag, skyalg::l2_tag, skyalg::no_reg_tag> regression_problem_type |
Definition at line 37 of file regression.cpp.
typedef skyalg::regression_problem_t<skybase::computed_matrix_t<matrix_type>, skyalg::linear_tag, skyalg::l2_tag, skyalg::no_reg_tag> regression_problem_type1 |
Definition at line 71 of file regression.cpp.
typedef elem::DistMatrix<double, elem::VC, elem::STAR> rhs_type |
Definition at line 29 of file regression.cpp.
typedef elem::DistMatrix<double, elem::STAR, elem::STAR> sketch_type |
Definition at line 31 of file regression.cpp.
typedef elem::DistMatrix<double, elem::STAR, elem::STAR> sol_type |
Definition at line 30 of file regression.cpp.
void check_solution | ( | const ProblemType & | pr, |
const RhsType & | b, | ||
const SolType & | x, | ||
const RhsType & | r0, | ||
double & | res, | ||
double & | resAtr, | ||
double & | resFac | ||
) |
Definition at line 195 of file regression.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 212 of file regression.cpp.
References skylark::nla::iter_params_t::am_i_printing, check_solution(), skylark::nla::iter_params_t::log_level, m, n, and t.
const int m = 30000 |
Definition at line 23 of file regression.cpp.
const int n = 500 |
Definition at line 24 of file regression.cpp.
const int t = 2000 |
Definition at line 25 of file regression.cpp.
Referenced by skylark::algorithms::accelerated_regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType, VD, elem::STAR >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType, VD, elem::STAR >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, simplified_blendenpik_tag< TransformType, PrecondTag > >::accelerated_regression_solver_t(), skylark::algorithms::accelerated_regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType, VD, elem::STAR >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType, VD, elem::STAR >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, blendenpik_tag< PrecondTag > >::accelerated_regression_solver_t(), skylark::algorithms::accelerated_regression_solver_t< regression_problem_t< elem::DistMatrix< ValueType, VD, elem::STAR >, linear_tag, l2_tag, no_reg_tag >, elem::DistMatrix< ValueType, VD, elem::STAR >, elem::DistMatrix< ValueType, elem::STAR, elem::STAR >, lsrn_tag< PrecondTag > >::accelerated_regression_solver_t(), logisticloss::evaluate(), logexp(), main(), ladloss::proxoperator(), and read_libsvm().