smile.neighbor
Class SimpleNeighbor<T>
- java.lang.Object
-
- smile.neighbor.Neighbor<T,T>
-
- smile.neighbor.SimpleNeighbor<T>
-
-
Constructor Summary
Constructors Constructor and Description SimpleNeighbor(T key, int index, double distance)Constructor.
-
-
-
Constructor Detail
-
SimpleNeighbor
public SimpleNeighbor(T key, int index, double distance)
Constructor.- Parameters:
key- the neighbor object.index- the index of neighbor object in the dataset.distance- the distance between the query and the neighbor.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG