Class MultiProbeSample

java.lang.Object
smile.neighbor.lsh.MultiProbeSample

public class MultiProbeSample extends Object
Training sample for MPLSH.
  • Field Details

    • query

      public final double[] query
      The query object.
    • neighbors

      public final List<double[]> neighbors
      The neighbors of query object in terms of kNN or range search.
  • Constructor Details

    • MultiProbeSample

      public MultiProbeSample(double[] query, List<double[]> neighbors)
      Constructor.
      Parameters:
      query - the query object.
      neighbors - the neighbors of query object.