jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
Typedefs | |
typedef framework::linear_mixable_helper< weight_manager, versioned_weight_diff > | mixable_weight_manager |
typedef std::map< std::string, std::string > | param_t |
Enumerations | |
enum | frequency_weight_type { FREQ_BINARY, TERM_FREQUENCY, LOG_TERM_FREQUENCY } |
enum | term_weight_type { TERM_BINARY, IDF, WITH_WEIGHT_FILE } |
Functions | |
int | get_int_or_die (const std::map< std::string, std::string > ¶ms, const std::string &key) |
const std::string & | get_or_die (const std::map< std::string, std::string > ¶ms, const std::string &key) |
std::string | get_with_default (const std::map< std::string, std::string > ¶ms, const std::string &key, const std::string &default_value) |
void | initialize_converter (const converter_config &config, datum_to_fv_converter &conv, const factory_extender *ext) |
jubatus::util::lang::shared_ptr< datum_to_fv_converter > | make_fv_converter (const converter_config &config, const factory_extender *extender) |
void | revert_feature (const common::sfv_t &fv, fv_converter::datum &data) |
bool | revert_num_value (const std::pair< std::string, float > &feature, std::pair< std::string, float > &num_value) |
bool | revert_string_value (const std::pair< std::string, float > &feature, std::pair< std::string, std::string > &string_value) |
typedef framework::linear_mixable_helper<weight_manager, versioned_weight_diff> jubatus::core::fv_converter::mixable_weight_manager |
Definition at line 29 of file mixable_weight_manager.hpp.
typedef std::map<std::string, std::string> jubatus::core::fv_converter::param_t |
Enumerator | |
---|---|
FREQ_BINARY | |
TERM_FREQUENCY | |
LOG_TERM_FREQUENCY |
Definition at line 33 of file datum_to_fv_converter.hpp.
int jubatus::core::fv_converter::get_int_or_die | ( | const std::map< std::string, std::string > & | params, |
const std::string & | key | ||
) |
Definition at line 51 of file util.cpp.
References get_or_die(), and JUBATUS_EXCEPTION.
const std::string & jubatus::core::fv_converter::get_or_die | ( | const std::map< std::string, std::string > & | params, |
const std::string & | key | ||
) |
Definition at line 28 of file util.cpp.
References JUBATUS_EXCEPTION.
Referenced by get_int_or_die().
std::string jubatus::core::fv_converter::get_with_default | ( | const std::map< std::string, std::string > & | params, |
const std::string & | key, | ||
const std::string & | default_value | ||
) |
void jubatus::core::fv_converter::initialize_converter | ( | const converter_config & | config, |
datum_to_fv_converter & | conv, | ||
const factory_extender * | ext | ||
) |
Definition at line 363 of file converter_config.cpp.
References jubatus::core::fv_converter::converter_config::binary_rules, jubatus::core::fv_converter::converter_config::binary_types, jubatus::core::fv_converter::datum_to_fv_converter::clear_rules(), jubatus::core::fv_converter::converter_config::combination_rules, jubatus::core::fv_converter::converter_config::combination_types, jubatus::core::fv_converter::factory_extender::create_binary_feature(), jubatus::core::fv_converter::factory_extender::create_combination_feature(), jubatus::core::fv_converter::factory_extender::create_num_feature(), jubatus::core::fv_converter::factory_extender::create_num_filter(), jubatus::core::fv_converter::factory_extender::create_string_feature(), jubatus::core::fv_converter::factory_extender::create_string_filter(), jubatus::core::fv_converter::converter_config::hash_max_size, JUBATUS_EXCEPTION, jubatus::core::fv_converter::converter_config::num_filter_rules, jubatus::core::fv_converter::converter_config::num_filter_types, jubatus::core::fv_converter::converter_config::num_rules, jubatus::core::fv_converter::converter_config::num_types, jubatus::core::fv_converter::datum_to_fv_converter::set_hash_max_size(), jubatus::core::fv_converter::converter_config::string_filter_rules, jubatus::core::fv_converter::converter_config::string_filter_types, jubatus::core::fv_converter::converter_config::string_rules, and jubatus::core::fv_converter::converter_config::string_types.
Referenced by make_fv_converter(), make_fv_converter(), and make_tf_idf_fv_converter().
jubatus::util::lang::shared_ptr< datum_to_fv_converter > jubatus::core::fv_converter::make_fv_converter | ( | const converter_config & | config, |
const factory_extender * | extender | ||
) |
Definition at line 462 of file converter_config.cpp.
References initialize_converter().
void jubatus::core::fv_converter::revert_feature | ( | const common::sfv_t & | fv, |
fv_converter::datum & | data | ||
) |
Definition at line 31 of file revert.cpp.
References jubatus::core::fv_converter::datum::num_values_, revert_num_value(), revert_string_value(), and jubatus::core::fv_converter::datum::string_values_.
Referenced by jubatus::core::driver::recommender::complete_row_from_datum(), jubatus::core::driver::recommender::complete_row_from_id(), jubatus::core::driver::recommender::decode_row(), and jubatus::core::driver::clustering::to_datum().
bool jubatus::core::fv_converter::revert_num_value | ( | const std::pair< std::string, float > & | feature, |
std::pair< std::string, float > & | num_value | ||
) |
Definition at line 43 of file revert.cpp.
Referenced by revert_feature().
bool jubatus::core::fv_converter::revert_string_value | ( | const std::pair< std::string, float > & | feature, |
std::pair< std::string, std::string > & | string_value | ||
) |
Definition at line 78 of file revert.cpp.
Referenced by revert_feature().