Package smile.neighbor.lsh
Class NeighborHashValueModel
java.lang.Object
smile.neighbor.lsh.NeighborHashValueModel
Gaussian model of hash values of nearest neighbor.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNeighborHashValueModel
(double[] H, double[] mean, double[] var) Constructor. -
Method Summary
-
Field Details
-
H
public final double[] HThe hash values of query object. -
mean
public final double[] meanThe mean of hash values of neighbors. -
var
public final double[] varThe variance of hash values of neighbors.
-
-
Constructor Details
-
NeighborHashValueModel
public NeighborHashValueModel(double[] H, double[] mean, double[] var) Constructor.- Parameters:
H
- the hash values of query object.mean
- the mean of hash values of neighbors.var
- the variance of hash values of neighbors.
-