Uses of Interface
weka.core.DistanceFunction
Package
Description
-
Uses of DistanceFunction in weka.clusterers
Modifier and TypeMethodDescriptionHierarchicalClusterer.getDistanceFunction()
SimpleKMeans.getDistanceFunction()
returns the distance function currently in use.Modifier and TypeMethodDescriptionvoid
HierarchicalClusterer.setDistanceFunction
(DistanceFunction distanceFunction) void
SimpleKMeans.setDistanceFunction
(DistanceFunction df) sets the distance function to use for instance comparison. -
Uses of DistanceFunction in weka.core
Modifier and TypeClassDescriptionclass
Implements the Chebyshev distance.class
Implementing Euclidean distance (or similarity) function.
One object defines not one distance but the data model in which the distances between objects of that data model can be computed.
Attention: For efficiency reasons the use of consistency checks (like are the data models of the two instances exactly the same), is low.
For more information, see:
Wikipedia.class
Applies the given filter before calling the given distance function.class
Implements the Manhattan distance (or Taxicab geometry).class
Implementing Minkowski distance (or similarity) function.
One object defines not one distance but the data model in which the distances between objects of that data model can be computed.
Attention: For efficiency reasons the use of consistency checks (like are the data models of the two instances exactly the same), is low.
For more information, see:
Wikipedia.class
Represents the abstract ancestor for normalizable distance functions, like Euclidean or Manhattan distance.Modifier and TypeMethodDescriptionvoid
FilteredDistance.setDistance
(DistanceFunction distance) Sets the distance -
Uses of DistanceFunction in weka.core.neighboursearch
Modifier and TypeMethodDescriptionKDTree.getDistanceFunction()
returns the distance function currently in use.NearestNeighbourSearch.getDistanceFunction()
returns the distance function currently in use.Modifier and TypeMethodDescriptionvoid
CoverTree.setDistanceFunction
(DistanceFunction df) Sets the distance function to use for nearest neighbour search.void
KDTree.setDistanceFunction
(DistanceFunction df) sets the distance function to use for nearest neighbour search.void
NearestNeighbourSearch.setDistanceFunction
(DistanceFunction df) sets the distance function to use for nearest neighbour search. -
Uses of DistanceFunction in weka.core.neighboursearch.balltrees
Modifier and TypeMethodDescriptionstatic double
BallNode.calcRadius
(int[] instList, Instances insts, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of node.static double
BallNode.calcRadius
(int start, int end, int[] instList, Instances insts, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of a node.static double
BallNode.calcRadius
(BallNode child1, BallNode child2, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of a node based on its two child nodes (if merging two nodes).