Uses of Class
org.ojalgo.data.cluster.Point
-
Packages that use Point Package Description org.ojalgo.data.cluster -
-
Uses of Point in org.ojalgo.data.cluster
Methods in org.ojalgo.data.cluster that return Point Modifier and Type Method Description (package private) Point
PointDistanceCache. centroid(java.util.Collection<Point> cluster)
static Point
Point. mean(java.util.Collection<Point> points)
Point
Point.Factory. newPoint(float... coordinates)
static Point
Point. of(int id, float... coordinates)
Methods in org.ojalgo.data.cluster that return types with arguments of type Point Modifier and Type Method Description static java.util.List<java.util.Set<Point>>
Point. cluster(java.util.Collection<Point> input)
Essentially works like this: Calculate, and store, distances between all the points (to enable statistical analysis, and speed up the following steps) Perform statistical analysis of the distances to determine a suitable distance threshold for greedy clustering Perform greedy clustering to get an initial set of centroids Filter out centroids/clusters corresponding to extremely small clusters (This determines the 'k') Perform k-means clustering to refine the clusters and centroidsstatic <T> java.util.List<Point>
Point. convert(java.util.List<T> input, java.util.function.Function<T,float[]> converter)
Converts a list of objects to a list of points using the provided converter to derive the coordinates.(package private) java.util.List<Point>
PointDistanceCache. initialiser(java.util.Collection<Point> input)
static ClusteringAlgorithm<Point>
Point. newGreedyClusterer(double distanceThreshold)
Greedy algorithm.static ClusteringAlgorithm<Point>
Point. newKMeansClusterer(int k)
Standard k-means clusteringMethods in org.ojalgo.data.cluster with parameters of type Point Modifier and Type Method Description int
Point. compareTo(Point ref)
double
Point. distance(Point other)
The sum of the squared differences between the coordinates of this and the other point.(package private) double
PointDistanceCache. distance(Point point1, Point point2)
Method parameters in org.ojalgo.data.cluster with type arguments of type Point Modifier and Type Method Description (package private) Point
PointDistanceCache. centroid(java.util.Collection<Point> cluster)
static java.util.List<java.util.Set<Point>>
Point. cluster(java.util.Collection<Point> input)
Essentially works like this: Calculate, and store, distances between all the points (to enable statistical analysis, and speed up the following steps) Perform statistical analysis of the distances to determine a suitable distance threshold for greedy clustering Perform greedy clustering to get an initial set of centroids Filter out centroids/clusters corresponding to extremely small clusters (This determines the 'k') Perform k-means clustering to refine the clusters and centroids(package private) java.util.List<Point>
PointDistanceCache. initialiser(java.util.Collection<Point> input)
static Point
Point. mean(java.util.Collection<Point> points)
(package private) void
PointDistanceCache. setup(java.util.Collection<Point> input, java.util.function.ToDoubleBiFunction<Point,Point> distanceCalculator)
(package private) void
PointDistanceCache. setup(java.util.Collection<Point> input, java.util.function.ToDoubleBiFunction<Point,Point> distanceCalculator)
(package private) void
PointDistanceCache. setup(java.util.Collection<Point> input, java.util.function.ToDoubleBiFunction<Point,Point> distanceCalculator)
-