Package smile.neighbor.lsh
Class PrZ
java.lang.Object
smile.neighbor.lsh.PrZ
- All Implemented Interfaces:
Comparable<PrZ>
The probability list of all buckets for given query object.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
m
public final int mThe index of hash function. -
prh
The ni probabilities for hm hash function, where ni = ui_max - ui_min + 1.
-
-
Constructor Details
-
PrZ
Constructor.- Parameters:
m
- the index of hash function.prh
- the ni probabilities for hm hash function.
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PrZ>
-