Proceedings

A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection

Download BibTeX Cite

Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence. Learning. Pages 1137-1144.

© 1995 International Joint Conferences on Artificial Intelligence

Abstract

We review accuracy estimation methods and compare the two most common methods: crossvalidation and bootstrap. Recent experimenta l results on artificial data and theoretical results in restricted settings have shown that for selecting a good classifier from a set of classifi ers (model selection), ten-fold cross-validation may be better than the more expensive leaveone-out cross-validation. We report on a largescale experiment-ove r half a million runs of C4.5 and a Naive-Bayes alg orithm-to estimate the effects of different parameters on these a lgorithms on real-world datasets . For crossvalidation, we vary the number of folds and whether the folds are stratified or not; for bootstrap, we vary the number of bootstrap samples. Our results indicate that for real-word datasets simil ar to ours, the best method to use for model selection is ten-fold stratified cross validation, even if computation power allows using more folds.

  1. Bailey, T . L. & Elkan, C. (1993), Estimating the ac- curacy of learned concepts, in "Proceedings of In- ternational Joint Conference on Artificial Intelli- gence", Morgan Kaufmann Publishers, pp. 895-900. IJCAI
  2. Breiman, L. & Spector , P. (1992), "Submodel selection and evaluation in regression. the x-random case", International Statistical Review 60(3), 291-319.
  3. Breiman, L., Friedman, J . H., Olshen, R. A. & Stone, C. J. (1984), Classification and Regression Trees , Wadsworth International Group.
  4. Efron , B. (1983), "Estimating the error rate of a pre- diction rule: improvement on cross-validation", Journal of the American Statistical Association 78(382), .316-330.
  5. Efron, B. & Tibshirani, R. (1993), An introduction to the bootstrap, Chapman & Hall.
  6. Jain , A. K., Dubes, R. C. & Chen, C. (1987), "Boot- strap techniques for error estimation", IEEE trans- actions on pattern analysis and machine intelli- gence PAMI-9(5) , 628-633.
  7. Kohavi, R., John, G., Long, R., Manley, D. & Pfleger, K. (1994), MLC++: A machine learn- ing library in C++, in "Tools with Artifi- cial Intelligence", IEEE Computer Society Press, pp. 740-743 . Available by anonymous ftp from: starry.Stanford.EDU:pub/ronnyk/rnlc/ toolsrnlc. ps . Link
  8. Langley, P., Iba, W . & Thompson, K . (1992), An anal- ysis of bayesian classifiers, in "Proceedings of the tenth national conference on artificial intelligence" , AAAI Press and MIT Press, pp. 223-228.
  9. Murphy, P. M. & Aha, D. W. (1994), UCI repository of machine learning databases, For information con- tact ml-repository@ics .uci.edu .
  10. Quinlan, J. R. {1993), C4.5: Programs for Machine Learning, Morgan Kaufmann, Los Altos, California.
  11. Schaffer, C. (1994), A conservation law for generalization performance, in "Machine Learning: Proceedings of the Eleventh International Conference", Morgan Kaufmann, pp. 259-265.
  12. Shao, J. ( 1993), "Linear model seletion via cross- validation", Journal of the American Statistical As- sociation 88( 422), 486-494.
  13. Weiss, S.M. (1991), "Small sample error rate estimation for k-nearest neighbor classifiers", IEEE Transac- tions on Pattern Analysis and Machine Intelligence 13(3), 285-289.
  14. Weiss , S. M. & Indurkhya, N. (1994), Decision tree pruning : Biased or optimal, in "Proceedings of the twelfth national conference on artificial intel- ligence", AAAI Press and MIT Press, pp. 626-632.
  15. Wolpert , D. H. (1992), "Stacked generalization", Neural Networks 5 , 241-259.
  16. Wolpert, D. H. (1994a), Off-training set error and a pri- ori distinctions between learning algorithms, Tech- nical Report SFI TR 94-12-123, The Sante Fe In- stitute.
  17. Wolpert, D. H. (1994b), The relationship between PAC, the statistical physics framework, the Bayesian framework, and the VC framework, Technical re- port, The Santa Fe Institute, Santa Fe, NM .
  18. Zhang, P. (1992), "On the distributional properties of model selection criteria", Journal of the American Statistical Association 87( 419), 732-737 .

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards