jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <counter.hpp>
Public Types | |
typedef jubatus::util::data::unordered_map< T, double >::const_iterator | const_iterator |
typedef jubatus::util::data::unordered_map< T, double >::iterator | iterator |
typedef jubatus::util::data::unordered_map< T, double > | map_t |
Public Member Functions | |
void | add (const counter< T > &counts) |
const_iterator | begin () const |
iterator | begin () |
void | clear () |
bool | contains (const T &key) const |
const_iterator | end () const |
iterator | end () |
MSGPACK_DEFINE (data_) | |
double | operator[] (const T &key) const |
double & | operator[] (const T &key) |
Private Attributes | |
jubatus::util::data::unordered_map< T, double > | data_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const counter< T > &c) |
Definition at line 31 of file counter.hpp.
typedef jubatus::util::data::unordered_map<T, double>::const_iterator jubatus::core::fv_converter::counter< T >::const_iterator |
Definition at line 35 of file counter.hpp.
typedef jubatus::util::data::unordered_map<T, double>::iterator jubatus::core::fv_converter::counter< T >::iterator |
Definition at line 37 of file counter.hpp.
typedef jubatus::util::data::unordered_map<T, double> jubatus::core::fv_converter::counter< T >::map_t |
Definition at line 33 of file counter.hpp.
|
inline |
Definition at line 79 of file counter.hpp.
Referenced by jubatus::core::fv_converter::keyword_weights::merge().
|
inline |
Definition at line 59 of file counter.hpp.
Referenced by jubatus::core::fv_converter::counter< std::string >::add(), and jubatus::core::fv_converter::datum_to_fv_converter_impl::make_string_features().
|
inline |
Definition at line 63 of file counter.hpp.
|
inline |
Definition at line 75 of file counter.hpp.
Referenced by jubatus::core::fv_converter::keyword_weights::clear().
|
inline |
Definition at line 39 of file counter.hpp.
|
inline |
Definition at line 67 of file counter.hpp.
Referenced by jubatus::core::fv_converter::counter< std::string >::add(), and jubatus::core::fv_converter::datum_to_fv_converter_impl::make_string_features().
|
inline |
Definition at line 71 of file counter.hpp.
jubatus::core::fv_converter::counter< T >::MSGPACK_DEFINE | ( | data_ | ) |
|
inline |
Definition at line 43 of file counter.hpp.
|
inline |
Definition at line 52 of file counter.hpp.
|
friend |
Definition at line 87 of file counter.hpp.
|
private |
Definition at line 101 of file counter.hpp.
Referenced by jubatus::core::fv_converter::counter< std::string >::begin(), jubatus::core::fv_converter::counter< std::string >::clear(), jubatus::core::fv_converter::counter< std::string >::contains(), jubatus::core::fv_converter::counter< std::string >::end(), and jubatus::core::fv_converter::counter< std::string >::operator[]().