#include <clustering.hpp>
Definition at line 40 of file clustering.hpp.
jubatus::core::driver::clustering::~clustering |
( |
| ) |
|
|
virtual |
void jubatus::core::driver::clustering::clear |
( |
| ) |
|
|
virtual |
void jubatus::core::driver::clustering::do_clustering |
( |
| ) |
|
Definition at line 98 of file clustering.cpp.
jubatus::util::lang::shared_ptr< core::clustering::clustering > clustering_
Definition at line 77 of file clustering.cpp.
78 vector<vector<core::clustering::weighted_point> > src =
82 ret.reserve(src.size());
86 std::back_inserter(ret),
87 jubatus::util::lang::bind(
89 this, jubatus::util::lang::_1));
std::vector< cluster_unit > cluster_set
jubatus::util::lang::shared_ptr< core::clustering::clustering > clustering_
core::clustering::cluster_unit to_weighted_datum_vector(const std::vector< core::clustering::weighted_point > &src) const
vector< datum > jubatus::core::driver::clustering::get_k_center |
( |
| ) |
const |
Definition at line 72 of file clustering.cpp.
std::vector< fv_converter::datum > to_datum_vector(const std::vector< common::sfv_t > &src) const
jubatus::util::lang::shared_ptr< core::clustering::clustering > clustering_
size_t jubatus::core::driver::clustering::get_revision |
( |
| ) |
const |
Definition at line 94 of file clustering.cpp.
jubatus::util::lang::shared_ptr< core::clustering::clustering > clustering_
void jubatus::core::driver::clustering::push |
( |
const std::vector< fv_converter::datum > & |
points | ) |
|
datum jubatus::core::driver::clustering::to_datum |
( |
const common::sfv_t & |
src | ) |
const |
|
private |
vector< datum > jubatus::core::driver::clustering::to_datum_vector |
( |
const std::vector< common::sfv_t > & |
src | ) |
const |
|
private |
Definition at line 138 of file clustering.cpp.
141 ret.reserve(src.size());
145 std::back_inserter(ret),
146 jubatus::util::lang::bind(
148 this, jubatus::util::lang::_1));
fv_converter::datum to_datum(const common::sfv_t &src) const
Definition at line 168 of file clustering.cpp.
171 ret.reserve(src.size());
175 std::back_inserter(ret),
176 jubatus::util::lang::bind(
178 this, jubatus::util::lang::_1));
std::vector< std::pair< cluster_weight, jubatus::core::fv_converter::datum > > cluster_unit
std::pair< double, fv_converter::datum > to_weighted_datum(const core::clustering::weighted_point &src) const
Definition at line 153 of file clustering.cpp.
155 vector<core::clustering::weighted_point> ret;
156 ret.reserve(src.size());
160 std::back_inserter(ret),
161 jubatus::util::lang::bind(
163 this, jubatus::util::lang::_1));
core::clustering::weighted_point to_weighted_point(const fv_converter::datum &src)
void jubatus::core::driver::clustering::unpack |
( |
msgpack::object |
o | ) |
|
|
virtual |
Implements jubatus::core::driver::driver_base.
Definition at line 188 of file clustering.cpp.
189 if (o.type != msgpack::type::ARRAY || o.via.array.size != 2) {
190 throw msgpack::type_error();
model_ptr get_model() const
jubatus::util::lang::shared_ptr< fv_converter::datum_to_fv_converter > converter_
fv_converter::mixable_weight_manager wm_
jubatus::util::lang::shared_ptr< core::clustering::clustering > clustering_
The documentation for this class was generated from the following files: