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 条
  • [21] On nearest-neighbor graphs
    Eppstein, D
    Paterson, MS
    Yao, FF
    DISCRETE & COMPUTATIONAL GEOMETRY, 1997, 17 (03) : 263 - 282
  • [22] On the selection of the globally optimal prototype subset for nearest-neighbor classification
    Carrizosa, Emilio
    Martin-Barragan, Belen
    Plastria, Frank
    Morales, Dolores Romero
    INFORMS JOURNAL ON COMPUTING, 2007, 19 (03) : 470 - 479
  • [23] HETEROGENEOUS DISTANCE MEASURES AND NEAREST-NEIGHBOR CLASSIFICATION IN AN ECOLOGICAL SETTING
    Spencer, Matthew S.
    Prins, Samantha C. Bates
    Beckom, Margaret S.
    MISSOURI JOURNAL OF MATHEMATICAL SCIENCES, 2010, 22 (02) : 108 - 123
  • [24] A reduction technique for nearest-neighbor classification: Small groups of examples
    Kubat, Miroslav
    Cooperson Jr., Martin
    Intelligent Data Analysis, 2001, 5 (06) : 463 - 476
  • [25] Learning weighted metrics to minimize nearest-neighbor classification error
    Paredes, R
    Vidal, E
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2006, 28 (07) : 1100 - 1110
  • [26] HANDWRITTEN CHARACTER CLASSIFICATION USING NEAREST-NEIGHBOR IN LARGE DATABASES
    SMITH, SJ
    BOURGOIN, MO
    SIMS, K
    VOORHEES, HL
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1994, 16 (09) : 915 - 919
  • [27] Improved partial distance search for K nearest-neighbor classification
    Qiao, YL
    Pan, JS
    Sun, SH
    2004 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXP (ICME), VOLS 1-3, 2004, : 1275 - 1278
  • [28] CLASSIFICATION OF MULTIPLE OBSERVATIONS USING A RANK NEAREST-NEIGHBOR RULE
    BAGUI, SC
    PATTERN RECOGNITION LETTERS, 1993, 14 (08) : 611 - 617
  • [29] Tensored nearest-neighbor classifiers
    Chalasani, V
    Beling, PA
    1998 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5, 1998, : 2913 - 2916
  • [30] NEAREST-NEIGHBOR CLASSIFIER FOR THE PERCEPTRON
    BOUTEN, M
    VANDENBROECK, C
    EUROPHYSICS LETTERS, 1994, 26 (01): : 69 - 74