17 #ifndef JUBATUS_CORE_FRAMEWORK_LINEAR_FUNCTION_MIXER_HPP_
18 #define JUBATUS_CORE_FRAMEWORK_LINEAR_FUNCTION_MIXER_HPP_
20 #include "jubatus/util/lang/shared_ptr.h"
22 #include "../common/exception.hpp"
23 #include "../storage/storage_base.hpp"
24 #include "../unlearner/unlearner_base.hpp"
36 typedef jubatus::util::lang::shared_ptr<model_type>
model_ptr;
46 jubatus::util::lang::shared_ptr<unlearner::unlearner_base>
65 jubatus::util::lang::shared_ptr<unlearner::unlearner_base>
79 #endif // JUBATUS_CORE_FRAMEWORK_LINEAR_FUNCTION_MIXER_HPP_
void mix(const diffv &lhs, diffv &mixed) const
void set_label_unlearner(jubatus::util::lang::shared_ptr< unlearner::unlearner_base > label_unlearner)
jubatus::util::lang::shared_ptr< diff_object_raw > diff_object
jubatus::util::lang::shared_ptr< unlearner::unlearner_base > get_unlearner() const
diff_object convert_diff_object(const msgpack::object &) const
#define JUBATUS_EXCEPTION(e)
bool put_diff(const diffv &v)
void get_diff(diffv &) const
storage::storage_base model_type
jubatus::util::lang::shared_ptr< model_type > model_ptr
jubatus::util::lang::shared_ptr< unlearner::unlearner_base > label_unlearner_
linear_function_mixer(model_ptr model)
model_ptr get_model() const