ModErn Text Analysis
META Enumerates Textual Applications
|
This is the complete list of members for meta::classify::knn, including all inherited members.
classifier(std::shared_ptr< index::forward_index > idx) | meta::classify::classifier | |
classify(doc_id d_id) override | meta::classify::knn | virtual |
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::knn | static |
idx_ | meta::classify::classifier | protected |
inv_idx_ | meta::classify::knn | private |
k_ | meta::classify::knn | private |
knn(std::shared_ptr< index::inverted_index > idx, std::shared_ptr< index::forward_index > f_idx, uint16_t k, std::unique_ptr< index::ranker > ranker, bool weighted=false) | meta::classify::knn | |
legal_docs_ | meta::classify::knn | private |
ranker_ | meta::classify::knn | private |
reset() override | meta::classify::knn | virtual |
select_best_label(const std::vector< std::pair< doc_id, double >> &scored, const std::vector< std::pair< class_label, uint16_t >> &sorted) const | meta::classify::knn | private |
test(const std::vector< doc_id > &docs) | meta::classify::classifier | virtual |
train(const std::vector< doc_id > &docs) override | meta::classify::knn | virtual |
weighted_ | meta::classify::knn | private |