|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.NormalizableDistance
weka.core.ChebyshevDistance
public class ChebyshevDistance
Implements the Chebyshev distance. The distance between two vectors is the greatest of their differences along any coordinate dimension.
For more information, see:
Wikipedia. Chebyshev distance. URL http://en.wikipedia.org/wiki/Chebyshev_distance.
@misc{missing_id, author = {Wikipedia}, title = {Chebyshev distance}, URL = {http://en.wikipedia.org/wiki/Chebyshev_distance} }Valid options are:
-D Turns off the normalization of attribute values in distance calculation.
-R <col1,col2-col4,...> Specifies list of columns to used in the calculation of the distance. 'first' and 'last' are valid indices. (default: first-last)
-V Invert matching sense of column indices.
Field Summary |
---|
Fields inherited from class weka.core.NormalizableDistance |
---|
R_MAX, R_MIN, R_WIDTH |
Constructor Summary | |
---|---|
ChebyshevDistance()
Constructs an Chebyshev Distance object, Instances must be still set. |
|
ChebyshevDistance(Instances data)
Constructs an Chebyshev Distance object and automatically initializes the ranges. |
Method Summary | |
---|---|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on. |
java.lang.String |
globalInfo()
Returns a string describing this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChebyshevDistance()
public ChebyshevDistance(Instances data)
data
- the instances the distance function should work onMethod Detail |
---|
public java.lang.String globalInfo()
globalInfo
in class NormalizableDistance
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |