public class PosterioriModel
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PosterioriModel(MultiProbeHash hash,
MultiProbeSample[] samples,
int Nz,
double sigma)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
smile.util.IntArrayList |
getProbeSequence(double[] x,
double recall,
int T)
Generate query-directed probes.
|
public PosterioriModel(MultiProbeHash hash, MultiProbeSample[] samples, int Nz, double sigma)
hash - the hash function.samples - the training samples.Nz - the size of lookup table.sigma - the Parzen window width.public smile.util.IntArrayList getProbeSequence(double[] x,
double recall,
int T)
x - the query object.recall - the threshold of global probability of probes as a
quality control parameter.T - the maximum number of probes.