Package | Description |
---|---|
de.citec.tcs.alignment.learning |
This module is a custom implementation of the Large Margin
Nearest Neighbor classification scheme of Weinberger, Saul, et al.
|
Modifier and Type | Class and Description |
---|---|
static class |
DistanceIndex.AndFilter
Returns true if and only if both underlying filters return true.
|
static class |
DistanceIndex.IdentityFilter
This filter returns true if the input index is equal to the reference
index.
|
static class |
DistanceIndex.Labelfilter
Returns true if and only if the label of the input data point is the same
as the reference label.
|
static class |
DistanceIndex.NotFilter
Returns true if and only if the underlying filter returns false.
|
Modifier and Type | Field and Description |
---|---|
DistanceIndex.IndexFilter |
DistanceIndex.NotFilter.filter |
DistanceIndex.IndexFilter |
DistanceIndex.AndFilter.left |
DistanceIndex.IndexFilter |
DistanceIndex.AndFilter.right |
static DistanceIndex.IndexFilter |
DistanceIndex.TRUE
This trivial IndexFilter returns always true.
|
Modifier and Type | Method and Description |
---|---|
static TreeSet<DistanceIndex> |
DistanceIndex.getKNearest(int K,
double[] distances,
DistanceIndex.IndexFilter filter)
Returns the indices of the K data points with the lowest distance that
meet some filter criterion.
|
static TreeSet<DistanceIndex> |
DistanceIndex.getPointsInRadius(double radius,
double[] distances,
DistanceIndex.IndexFilter filter)
Returns the indices of all data points, which have a lower distance than
the given radius and meet some additional filter criterion.
|
Constructor and Description |
---|
AndFilter(DistanceIndex.IndexFilter left,
DistanceIndex.IndexFilter right) |
NotFilter(DistanceIndex.IndexFilter filter) |
Copyright (C) 2016 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/