ModErn Text Analysis
META Enumerates Textual Applications
|
This is the complete list of members for meta::classify::nearest_centroid, including all inherited members.
centroids_ | meta::classify::nearest_centroid | private |
classifier(std::shared_ptr< index::forward_index > idx) | meta::classify::classifier | |
classify(doc_id d_id) override | meta::classify::nearest_centroid | virtual |
cosine_sim(const std::vector< std::pair< term_id, double >> &doc, const std::unordered_map< term_id, double > ¢roid) | meta::classify::nearest_centroid | private |
cross_validate(const std::vector< doc_id > &input_docs, size_t k, bool even_split=false, int seed=1) | meta::classify::classifier | virtual |
id | meta::classify::nearest_centroid | static |
idx_ | meta::classify::classifier | protected |
inv_idx_ | meta::classify::nearest_centroid | private |
nearest_centroid(std::shared_ptr< index::inverted_index > idx, std::shared_ptr< index::forward_index > f_idx) | meta::classify::nearest_centroid | |
reset() override | meta::classify::nearest_centroid | virtual |
test(const std::vector< doc_id > &docs) | meta::classify::classifier | virtual |
train(const std::vector< doc_id > &docs) override | meta::classify::nearest_centroid | virtual |