23 #include "../common/exception.hpp"
24 #include "../common/jsonconfig.hpp"
27 using jubatus::util::lang::shared_ptr;
31 namespace regression {
34 const std::string& name,
36 shared_ptr<storage::storage_base> storage) {
37 if (name ==
"PA" || name ==
"passive_aggressive") {
39 config_cast_check<regression::passive_aggressive::config>(param),
T config_cast_check(const config &c)
#define JUBATUS_EXCEPTION(e)
static jubatus::util::lang::shared_ptr< regression_base > create_regression(const std::string &name, const common::jsonconfig::config ¶m, jubatus::util::lang::shared_ptr< storage::storage_base > storage)