Class NeighborHashValueModel

java.lang.Object
smile.neighbor.lsh.NeighborHashValueModel

public class NeighborHashValueModel extends Object
Gaussian model of hash values of nearest neighbor.
  • Field Details

    • H

      public final double[] H
      The hash values of query object.
    • mean

      public final double[] mean
      The mean of hash values of neighbors.
    • var

      public final double[] var
      The 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.