Uses of Interface
weka.core.DistanceFunction
Packages that use DistanceFunction
Package
Description
-
Uses of DistanceFunction in weka.clusterers
Methods in weka.clusterers that return DistanceFunctionModifier and TypeMethodDescriptionHierarchicalClusterer.getDistanceFunction()SimpleKMeans.getDistanceFunction()returns the distance function currently in use.Methods in weka.clusterers with parameters of type DistanceFunctionModifier and TypeMethodDescriptionvoidHierarchicalClusterer.setDistanceFunction(DistanceFunction distanceFunction) voidSimpleKMeans.setDistanceFunction(DistanceFunction df) sets the distance function to use for instance comparison. -
Uses of DistanceFunction in weka.core
Classes in weka.core that implement DistanceFunctionModifier and TypeClassDescriptionclassImplements the Chebyshev distance.classImplementing 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.classApplies the given filter before calling the given distance function.classImplements the Manhattan distance (or Taxicab geometry).classImplementing 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.classRepresents the abstract ancestor for normalizable distance functions, like Euclidean or Manhattan distance.Methods in weka.core that return DistanceFunctionMethods in weka.core with parameters of type DistanceFunctionModifier and TypeMethodDescriptionvoidFilteredDistance.setDistance(DistanceFunction distance) Sets the distance -
Uses of DistanceFunction in weka.core.neighboursearch
Methods in weka.core.neighboursearch that return DistanceFunctionModifier and TypeMethodDescriptionKDTree.getDistanceFunction()returns the distance function currently in use.NearestNeighbourSearch.getDistanceFunction()returns the distance function currently in use.Methods in weka.core.neighboursearch with parameters of type DistanceFunctionModifier and TypeMethodDescriptionvoidCoverTree.setDistanceFunction(DistanceFunction df) Sets the distance function to use for nearest neighbour search.voidKDTree.setDistanceFunction(DistanceFunction df) sets the distance function to use for nearest neighbour search.voidNearestNeighbourSearch.setDistanceFunction(DistanceFunction df) sets the distance function to use for nearest neighbour search. -
Uses of DistanceFunction in weka.core.neighboursearch.balltrees
Methods in weka.core.neighboursearch.balltrees with parameters of type DistanceFunctionModifier and TypeMethodDescriptionstatic doubleBallNode.calcRadius(int[] instList, Instances insts, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of node.static doubleBallNode.calcRadius(int start, int end, int[] instList, Instances insts, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of a node.static doubleBallNode.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).