程序包 weka.core

类 ChebyshevDistance

所有已实现的接口:
Serializable, DistanceFunction, OptionHandler, RevisionHandler, TechnicalInformationHandler

public class ChebyshevDistance extends NormalizableDistance implements TechnicalInformationHandler
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.

BibTeX:

 @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.
版本:
$Revision: 1.2 $
作者:
Fracpete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • ChebyshevDistance

      public ChebyshevDistance()
      Constructs an Chebyshev Distance object, Instances must be still set.
    • ChebyshevDistance

      public ChebyshevDistance(Instances data)
      Constructs an Chebyshev Distance object and automatically initializes the ranges.
      参数:
      data - the instances the distance function should work on
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing this object.
      指定者:
      globalInfo 在类中 NormalizableDistance
      返回:
      a description of the evaluator suitable for displaying in the explorer/experimenter gui
    • getTechnicalInformation

      public 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.
      指定者:
      getTechnicalInformation 在接口中 TechnicalInformationHandler
      返回:
      the technical information about this class
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision