Nearest-neighbor classification with categorical variables

被引:12
|
作者
Buttrey, SE [1 ]
机构
[1] USN, Postgrad Sch, Dept Operat Res Sb, Monterey, CA 93943 USA
关键词
optimal scaling; cross-validation; Fisher's criterion; choice of metric;
D O I
10.1016/S0167-9473(98)00032-2
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
A technique is presented for adopting nearest-neighbor classification to the case of categorical variables. The set of categories is mapped onto the real line in such a way as to maximize the ratio of total sum of squares to within-class sum of squares, aggregated over classes. The resulting real values then replace the categories, and nearest-neighbor classification proceeds with the Euclidean metric on these new values. Continuous variables can be included in this scheme with little added efort. This approach has been implemented in a computer program and tried on a number of data sets, with encouraging results. Nearest-neighbor classification is a well-known and efective classification technique. With this scheme, an unknown item's distances to all known items are measured, and the unknown class is estimated by the class of the nearest neighbor or by the class most often represented among a set of nearest neighbors. This has proven effective in many examples, but an appropriate distance normalization is required when variables are scaled differently. For categorical variables "distance" is not even defined. In this paper categorical data values are replaced by real numbers in an optimal way: then those real numbers are used in nearest-neighbor classification (C) 1998 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:157 / 169
页数:13
相关论文
共 50 条
  • [31] NEAREST-NEIGHBOR ANALYSIS IN PRACTICE
    HINZ, PN
    IOWA STATE JOURNAL OF RESEARCH, 1987, 62 (02): : 199 - 217
  • [32] Kernel nearest-neighbor algorithm
    Yu, K
    Ji, L
    Zhang, XG
    NEURAL PROCESSING LETTERS, 2002, 15 (02) : 147 - 156
  • [33] NEAREST-NEIGHBOR ANALYSIS IN PRACTICE
    HINZ, PN
    BIOMETRICS, 1985, 41 (04) : 1087 - 1087
  • [34] Simultaneous learning of a discriminative projection and prototypes for Nearest-Neighbor classification
    Villegas, Mauricio
    Paredes, Roberto
    2008 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, VOLS 1-12, 2008, : 1928 - 1935
  • [35] Kernel Nearest-Neighbor Algorithm
    Kai Yu
    Liang Ji
    Xuegong Zhang
    Neural Processing Letters, 2002, 15 : 147 - 156
  • [36] NEAREST-NEIGHBOR DISTANCES IN MICROCLUSTERS
    BRIANT, CL
    BURTON, JJ
    SURFACE SCIENCE, 1975, 51 (02) : 345 - 351
  • [37] Range nearest-neighbor query
    Hu, HB
    Lee, DL
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2006, 18 (01) : 78 - 91
  • [38] NEAREST-NEIGHBOR MEDIAN FILTER
    ITOH, K
    ICHIOKA, Y
    MINAMI, T
    APPLIED OPTICS, 1988, 27 (16): : 3445 - 3450
  • [39] WEIGHTED NEAREST-NEIGHBOR ANALYSIS
    SCHWARZBACH, E
    BIOMETRICS, 1985, 41 (04) : 1088 - 1088
  • [40] Coresets for the nearest-neighbor rule
    Department of Computer Science, University of Maryland, College Park
    MD, United States
    不详
    MD, United States
    Leibniz Int. Proc. Informatics, LIPIcs,