Neighborhood density estimation using space-partitioning based hashing schemes