|
jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <passive_aggressive.hpp>


Public Member Functions | |
| std::string | name () const |
| passive_aggressive (storage_ptr storage) | |
| void | train (const common::sfv_t &fv, const std::string &label) |
Public Member Functions inherited from jubatus::core::classifier::linear_classifier | |
| std::string | classify (const common::sfv_t &fv) const |
| void | classify_with_scores (const common::sfv_t &fv, classify_result &scores) const |
| void | clear () |
| bool | delete_label (const std::string &label) |
| std::vector< std::string > | get_labels () const |
| framework::mixable * | get_mixable () |
| virtual void | get_status (std::map< std::string, std::string > &status) const |
| jubatus::util::lang::shared_ptr< unlearner::unlearner_base > | label_unlearner () const |
| linear_classifier (storage_ptr storage) | |
| void | pack (framework::packer &pk) const |
| bool | set_label (const std::string &label) |
| void | set_label_unlearner (jubatus::util::lang::shared_ptr< unlearner::unlearner_base > label_unlearner) |
| bool | unlearn_label (const std::string &label) |
| void | unpack (msgpack::object o) |
| virtual | ~linear_classifier () |
Public Member Functions inherited from jubatus::core::classifier::classifier_base | |
| classifier_base () | |
| virtual | ~classifier_base () |
Additional Inherited Members | |
Protected Member Functions inherited from jubatus::core::classifier::linear_classifier | |
| float | calc_margin (const common::sfv_t &sfv, const std::string &label, std::string &incorrect_label) const |
| float | calc_margin_and_variance (const common::sfv_t &sfv, const std::string &label, std::string &incorrect_label, float &variance) const |
| void | check_touchable (const std::string &label) |
| std::string | get_largest_incorrect_label (const common::sfv_t &sfv, const std::string &label, classify_result &scores) const |
| void | touch (const std::string &label) |
| void | update_weight (const common::sfv_t &sfv, float step_weigth, const std::string &pos_label, const std::string &neg_class) |
Static Protected Member Functions inherited from jubatus::core::classifier::linear_classifier | |
| static float | squared_norm (const common::sfv_t &sfv) |
Protected Attributes inherited from jubatus::core::classifier::linear_classifier | |
| framework::linear_function_mixer | mixable_storage_ |
| storage_ptr | storage_ |
| jubatus::util::lang::shared_ptr< unlearner::unlearner_base > | unlearner_ |
Definition at line 28 of file passive_aggressive.hpp.
|
explicit |
Definition at line 27 of file passive_aggressive.cpp.
|
virtual |
Implements jubatus::core::classifier::linear_classifier.
Definition at line 49 of file passive_aggressive.cpp.
|
virtual |
Implements jubatus::core::classifier::linear_classifier.
1.8.9.1