public class HashValueParzenModel
extends java.lang.Object
Constructor and Description |
---|
HashValueParzenModel(MultiProbeHash hash,
MultiProbeSample[] samples,
double sigma)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
estimate(int m,
double h)
Given a hash value h, estimate the Gaussian model (mean and variance)
of neighbors existing in the corresponding bucket.
|
double |
mean()
Returns the mean.
|
double |
sd()
Returns the standard deviation.
|
public HashValueParzenModel(MultiProbeHash hash, MultiProbeSample[] samples, double sigma)
public void estimate(int m, double h)
m
- the index of hash function.h
- the given hash value.public double mean()
public double sd()