jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <aggregator.hpp>
Classes | |
class | impl_ |
Public Member Functions | |
bool | add_document (int d, int r, double pos) |
aggregator (int window_batch_size, double batch_interval, int max_stored) | |
int | flush_results (double scaling_param, double gamma, double costcut_threshold, int max_reuse_batches, result_storage &stored) |
void | pack (framework::packer &packer) const |
void | unpack (msgpack::object o) |
~aggregator () | |
Private Attributes | |
jubatus::util::lang::scoped_ptr< impl_ > | p_ |
Definition at line 30 of file aggregator.hpp.
jubatus::core::burst::aggregator::aggregator | ( | int | window_batch_size, |
double | batch_interval, | ||
int | max_stored | ||
) |
Definition at line 137 of file aggregator.cpp.
jubatus::core::burst::aggregator::~aggregator | ( | ) |
Definition at line 142 of file aggregator.cpp.
bool jubatus::core::burst::aggregator::add_document | ( | int | d, |
int | r, | ||
double | pos | ||
) |
Definition at line 145 of file aggregator.cpp.
References JUBATUS_ASSERT, and p_.
int jubatus::core::burst::aggregator::flush_results | ( | double | scaling_param, |
double | gamma, | ||
double | costcut_threshold, | ||
int | max_reuse_batches, | ||
result_storage & | stored | ||
) |
Definition at line 150 of file aggregator.cpp.
References JUBATUS_ASSERT, and p_.
void jubatus::core::burst::aggregator::pack | ( | framework::packer & | packer | ) | const |
Definition at line 160 of file aggregator.cpp.
References JUBATUS_ASSERT, and p_.
void jubatus::core::burst::aggregator::unpack | ( | msgpack::object | o | ) |
Definition at line 165 of file aggregator.cpp.
References JUBATUS_ASSERT, and p_.
|
private |
Definition at line 52 of file aggregator.hpp.
Referenced by add_document(), flush_results(), pack(), and unpack().