Package | Description |
---|---|
ambit2.similarity.knn | |
ambit2.similarity.measure | |
ambit2.similarity.stats |
Modifier and Type | Method and Description |
---|---|
List<DistanceComparable<T>> |
INearestNeighborsSearch.getNearestNeighbors(T query,
int k) |
List<DistanceComparable<T>> |
NearestNeighborsSearch.getNearestNeighbors(T query,
int k)
Returns k nearest neighbors, encapsulated in
DistanceComparable . |
Modifier and Type | Method and Description |
---|---|
boolean |
NearestNeighborsSearch.add(DistanceComparable<T> o) |
Modifier and Type | Method and Description |
---|---|
protected double |
NearestNeighborsSimilarity.calculateAverageDistance(Features query,
List<DistanceComparable<Features>> neighbors)
Weighted average Sum((1/distance)*property).
|
protected Object |
NearestNeighborsSimilarity.classifyQuery(Features query,
List<DistanceComparable<Features>> neighbors) |
Modifier and Type | Method and Description |
---|---|
int |
DistanceComparable.compareTo(DistanceComparable o) |
Modifier and Type | Method and Description |
---|---|
List<DistanceComparable<T>> |
INearestNeighborsSearch.getNearestNeighbors(T query,
int k) |
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.