17 #ifndef JUBATUS_CORE_REGRESSION_REGRESSION_BASE_HPP_
18 #define JUBATUS_CORE_REGRESSION_REGRESSION_BASE_HPP_
22 #include "jubatus/util/lang/shared_ptr.h"
23 #include "../common/type.hpp"
24 #include "../framework/linear_function_mixer.hpp"
33 namespace regression {
50 virtual void get_status(std::map<std::string, std::string>& status)
const;
65 #endif // JUBATUS_CORE_REGRESSION_REGRESSION_BASE_HPP_
jubatus::util::lang::shared_ptr< jubatus::core::storage::storage_base > storage_ptr
virtual void get_status(std::map< std::string, std::string > &status) const
virtual ~regression_base()
regression_base(storage_ptr storage)
float estimate(const common::sfv_t &fv) const
void update(const common::sfv_t &fv, float coeff)
virtual void train(const common::sfv_t &fv, const float value)=0
storage_ptr get_storage()
std::vector< std::pair< std::string, float > > sfv_t