17 #ifndef JUBATUS_CORE_NEAREST_NEIGHBOR_LSH_FUNCTION_HPP_
18 #define JUBATUS_CORE_NEAREST_NEIGHBOR_LSH_FUNCTION_HPP_
22 #include "../common/type.hpp"
23 #include "../storage/bit_vector.hpp"
27 namespace nearest_neighbor {
39 #endif // JUBATUS_CORE_NEAREST_NEIGHBOR_LSH_FUNCTION_HPP_
bit_vector binarize(const vector< float > &proj)
bit_vector_base< uint64_t > bit_vector
std::vector< std::pair< std::string, float > > sfv_t
bit_vector cosine_lsh(const common::sfv_t &sfv, uint32_t hash_num)
vector< float > random_projection(const common::sfv_t &sfv, uint32_t hash_num)