Skip to main content

A Divisive Ordering Algorithm for Mapping Categorical Data to Numeric Data

  • Conference paper
Knowledge-Based Intelligent Information and Engineering Systems (KES 2005)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 3682))

  • 1004 Accesses

Abstract

The amount of computing time for K Nearest Neighbor Search is linear to the size of the dataset if the dataset is not indexed. This is not endurable for on-line applications with time constraints when the dataset is large. However, if there are categorical attributes in the dataset, an index cannot be built on the dataset. One possible solution to index such datasets is to convert categorical attributes into numeric attributes. Categories are ordered and then are mapped to numeric values. In this paper, we propose a new heuristic ordering algorithm to compare with two previously proposed algorithms that borrow the idea from minimal spanning trees. The new algorithm divisively builds a binary tree by recursively partitioning the categories. Then, we in-order traverse the tree and get an ordering of the categories. After mapping and indexing, we can efficiently retrieve a small portion of the dataset and perform K nearest neighbor search on the portion at the cost of a little bit of accuracy. Experiments show the divisive ordering algorithm performs better than the other two algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agrafiotis, D.K., Rassokhin, D.N., Lobanov, V.S.: Multidimensional Scaling and Visualization of Large Molecular Similarity Tables. Journal of Computational Chemistry 22(5), 488–500 (2001)

    Google Scholar 

  2. Bar-Joseph, Z., et al.: K-ary Clustering with Optimal Leaf Ordering for Gene Expression Data. Bioinformatics 19(9), 1070–1078 (2003)

    Article  Google Scholar 

  3. Bennett, K.P., Fayyad, U., Geiger, D.: Density-Based Indexing for Approximate Nearest-Neighbor Queries. ACM KDD, 233–243 (1999)

    Google Scholar 

  4. Berry, M.J.A., Linoff, G.: Memory-Based Reasoning. In: Data Mining Techniques: for Marketing, Sales, and Customer Support, ch. 9, pp. 157–186 (1997)

    Google Scholar 

  5. Cox, T.F., Cox, M.A.A.: Multidimensional Scaling, 2nd edn. Chapman & Hall, Boca Raton (2001)

    MATH  Google Scholar 

  6. Ganti, V., Gehrke, J., Ramakrishnan, R.: CACTUS-Clustering Categorical Data Using Summaries. In: ACM KDD, pp. 73–83 (1999)

    Google Scholar 

  7. Gilbson, D., Kleinberg, J., Raghavan, P.: Clustering Categorical Data: An Approach Based on Dynamical Systems. In: VLDB Conference, pp. 311–322 (1998)

    Google Scholar 

  8. Guttman, A.: R-Trees: A Dynamic Index Structure for Spatial Search. In: ACM SIGMOD, pp. 47–57 (1984)

    Google Scholar 

  9. Hettich, S., Bay, S.D.: The UCI KDD Archive, http://kdd.ics.uci.edu . University of California, Department of Information and Computer Science, Irvine, CA (1999)

  10. Indyk, P., Motwani, R.: Approximate Nearest Neighbors: Toward Removing the Curse of Dimensionality. In: ACM Symposium on Theory of Computing, pp. 604–613 (1998)

    Google Scholar 

  11. Kuo, H.-C., Lin, Y.-S., Huang, J.-P.: Distance Preserving Mapping from Categories to Numbers for Indexing. In: Negoita, M.G., Howlett, R.J., Jain, L.C. (eds.) KES 2004. LNCS (LNAI), vol. 3214, pp. 1245–1251. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  12. Lee, S.-K., Kim, Y.-H., Moon, B.R.: Finding the Optimal Gene Order in Displaying Microarray Data. In: Genetic and Evolutionary Computation Conference, pp. 2215–2226 (2003)

    Google Scholar 

  13. Sokal, R.R., Michener, C.D.: A Statistical Method for Evaluating Systematic Relationships. University of Kansas Science Bulletin 38, 1409–1438 (1958)

    Google Scholar 

  14. Voorhees, E.M.: Implementing agglomerative hierarchical clustering algorithms for use in document retrieval. Information Processing and Management 22, 465–476 (1986)

    Article  Google Scholar 

  15. Zhang, J.: Selecting Typical Instances in Instance-Based Learning. In: Proceedings of the Ninth International Conference on Machine Learning, pp. 470–479 (1992)

    Google Scholar 

  16. Yu, K., Xu, X., Tao, J., Ester, M., Kriegel, H.-P.: Instance Selection Techniques for Memory-Based Collaborative Filtering. In: Proceedings of the 2nd SIAM International Conference on Data Mining (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kuo, HC. (2005). A Divisive Ordering Algorithm for Mapping Categorical Data to Numeric Data. In: Khosla, R., Howlett, R.J., Jain, L.C. (eds) Knowledge-Based Intelligent Information and Engineering Systems. KES 2005. Lecture Notes in Computer Science(), vol 3682. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11552451_135

Download citation

  • DOI: https://doi.org/10.1007/11552451_135

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28895-4

  • Online ISBN: 978-3-540-31986-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics