22 #include "../storage/column_table.hpp"
26 namespace nearest_neighbor {
30 jubatus::util::lang::shared_ptr<storage::column_table> table,
31 const std::string&
id)
42 jubatus::util::lang::shared_ptr<storage::column_table> table,
43 std::vector<storage::column_type>& schema,
44 const std::string&
id)
#define JUBATUS_EXCEPTION(e)
virtual storage::bit_vector hash(const common::sfv_t &sfv) const
lsh(const config &conf, jubatus::util::lang::shared_ptr< storage::column_table > table, const std::string &id)
std::vector< std::pair< std::string, float > > sfv_t
bit_vector cosine_lsh(const common::sfv_t &sfv, uint32_t hash_num)