{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,12]],"date-time":"2025-10-12T01:46:27Z","timestamp":1760233587124,"version":"build-2065373602"},"reference-count":35,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2021,1,26]],"date-time":"2021-01-26T00:00:00Z","timestamp":1611619200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000015","name":"U.S. Department of Energy","doi-asserted-by":"publisher","award":["DE-AC02--05CH11231"],"award-info":[{"award-number":["DE-AC02--05CH11231"]}],"id":[{"id":"10.13039\/100000015","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Entropy"],"abstract":"<jats:p>A conceptually simple way to classify images is to directly compare test-set data and training-set data. The accuracy of this approach is limited by the method of comparison used, and by the extent to which the training-set data cover configuration space. Here we show that this coverage can be substantially increased using coarse-graining (replacing groups of images by their centroids) and stochastic sampling (using distinct sets of centroids in combination). We use the MNIST and Fashion-MNIST data sets to show that a principled coarse-graining algorithm can convert training images into fewer image centroids without loss of accuracy of classification of test-set images by nearest-neighbor classification. Distinct batches of centroids can be used in combination as a means of stochastically sampling configuration space, and can classify test-set data more accurately than can the unaltered training set. On the MNIST and Fashion-MNIST data sets this approach converts nearest-neighbor classification from a mid-ranking- to an upper-ranking member of the set of classical machine-learning techniques.<\/jats:p>","DOI":"10.3390\/e23020149","type":"journal-article","created":{"date-parts":[[2021,1,26]],"date-time":"2021-01-26T08:29:16Z","timestamp":1611649756000},"page":"149","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Improving the Accuracy of Nearest-Neighbor Classification Using Principled Construction and Stochastic Sampling of Training-Set Centroids"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0086-6803","authenticated-orcid":false,"given":"Stephen","family":"Whitelam","sequence":"first","affiliation":[{"name":"Molecular Foundry, Lawrence Berkeley National Laboratory, 1 Cyclotron Road, Berkeley, CA 94720, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,1,26]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"049901","DOI":"10.1117\/1.2819119","article-title":"Pattern recognition and machine learning","volume":"16","author":"Nasrabadi","year":"2007","journal-title":"J. Electron. Imaging"},{"key":"ref_3","unstructured":"LeCun, Y., Boser, B.E., Denker, J.S., Henderson, D., Howard, R.E., Hubbard, W.E., and Jackel, L.D. (1990, January 26\u201329). Handwritten digit recognition with a back-propagation network. Proceedings of the Advances in Neural Information Processing Systems, Denver, CO, USA."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"65","DOI":"10.1109\/72.554192","article-title":"Modeling the manifolds of images of handwritten digits","volume":"8","author":"Hinton","year":"1997","journal-title":"IEEE Trans. Neural Netw."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Quinlan, J.R. (1983). Learning efficient classification procedures and their application to chess end games. Machine Learning, Springer.","DOI":"10.1016\/B978-0-08-051054-5.50019-4"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"210","DOI":"10.1147\/rd.33.0210","article-title":"Some studies in machine learning using the game of checkers","volume":"3","author":"Samuel","year":"1959","journal-title":"IBM J. Res. Dev."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"429","DOI":"10.1039\/C8ME90007H","article-title":"Machine learning and data science in materials design: A themed collection","volume":"3","author":"Ferguson","year":"2018","journal-title":"Mol. Syst. Des. Eng."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"044118","DOI":"10.1063\/1.5037098","article-title":"A new approach for the prediction of partition functions using machine learning techniques","volume":"149","author":"Desgranges","year":"2018","journal-title":"J. Chem. Phys."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"871","DOI":"10.1016\/j.jcp.2017.06.045","article-title":"Sampling algorithms for validation of supervised learning models for Ising-like systems","volume":"350","author":"Portman","year":"2017","journal-title":"J. Comput. Phys."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"042113","DOI":"10.1103\/PhysRevA.96.042113","article-title":"Deep learning and the Schr\u00f6dinger equation","volume":"96","author":"Mills","year":"2017","journal-title":"Phys. Rev. A"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"241711","DOI":"10.1063\/1.5017661","article-title":"Constructing first-principles phase diagrams of amorphous Li x Si using machine-learning-assisted sampling with an evolutionary algorithm","volume":"148","author":"Artrith","year":"2018","journal-title":"J. Chem. Phys."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"254005","DOI":"10.1088\/1361-648X\/aac4f4","article-title":"Density anomaly of water at negative pressures from first principles","volume":"30","author":"Singraber","year":"2018","journal-title":"J. Phys. Condens. Matter"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"930","DOI":"10.1080\/08927022.2018.1469754","article-title":"Machine learning and molecular design of self-assembling-conjugated oligopeptides","volume":"44","author":"Thurston","year":"2018","journal-title":"Mol. Simul."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"052604","DOI":"10.1103\/PhysRevE.101.052604","article-title":"Learning to grow: Control of material self-assembly using evolutionary reinforcement learning","volume":"101","author":"Whitelam","year":"2020","journal-title":"Phys. Rev. E"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"058301","DOI":"10.1103\/PhysRevLett.121.058301","article-title":"Growing Critical: Self-Organized Criticality in a Developing Neural System","volume":"121","author":"Kossio","year":"2018","journal-title":"Phys. Rev. Lett."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"2038","DOI":"10.1016\/j.patcog.2006.12.019","article-title":"ML-KNN: A lazy learning approach to multi-label learning","volume":"40","author":"Zhang","year":"2007","journal-title":"Pattern Recognit."},{"key":"ref_17","unstructured":"Bhatia, N. (2010). Survey of nearest neighbor techniques. arXiv."},{"key":"ref_18","unstructured":"Fritzke, B. (1995, January 27\u201330). A growing neural gas network learns topologies. Proceedings of the Advances in Neural Information Processing Systems, Denver, CO, USA."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"511","DOI":"10.1007\/s00521-013-1535-3","article-title":"A review of learning vector quantization classifiers","volume":"25","author":"Nova","year":"2014","journal-title":"Neural Comput. Appl."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1041","DOI":"10.1016\/S0893-6080(02)00078-3","article-title":"A self-organising network that grows when required","volume":"15","author":"Marsland","year":"2002","journal-title":"Neural Netw."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"2278","DOI":"10.1109\/5.726791","article-title":"Gradient-based learning applied to document recognition","volume":"86","author":"LeCun","year":"1998","journal-title":"Proc. IEEE"},{"key":"ref_22","unstructured":"Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-mnist: A novel image dataset for benchmarking machine learning algorithms. arXiv."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"361","DOI":"10.1103\/PhysRevLett.62.361","article-title":"Collective Monte Carlo updating for spin systems","volume":"62","author":"Wolff","year":"1989","journal-title":"Phys. Rev. Lett."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"035504","DOI":"10.1103\/PhysRevLett.92.035504","article-title":"Rejection-free geometric cluster algorithm for complex fluids","volume":"92","author":"Liu","year":"2004","journal-title":"Phys. Rev. Lett."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"606","DOI":"10.1080\/08927022.2011.565758","article-title":"Approximating the dynamical evolution of systems of strongly interacting overdamped particles","volume":"37","author":"Whitelam","year":"2011","journal-title":"Mol. Simul."},{"key":"ref_26","unstructured":"Wagstaff, K., Cardie, C., Rogers, S., and Schr\u00f6dl, S. (July, January 28). Constrained k-means clustering with background knowledge. Proceedings of the ICML, Williamstown, MA, USA."},{"key":"ref_27","unstructured":"Skalak, D.B. (1997). Prototype Selection for Composite Nearest Neighbor Classifiers. [Ph.D. Thesis, University of Massachusetts at Amherst]."},{"key":"ref_28","unstructured":"(2020, January 15). A MNIST-Like Fashion Product Database. Benchmark. Available online: https:\/\/github.com\/zalandoresearch\/fashion-mnist."},{"key":"ref_29","first-page":"50","article-title":"Efficient pattern recognition using a new transformation distance","volume":"1","author":"Simard","year":"1993","journal-title":"Adv. Neural. Inform. Process Syst."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"509","DOI":"10.1109\/34.993558","article-title":"Shape Matching and Object Recognition Using Shape Contexts","volume":"24","author":"Belongie","year":"2002","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_31","unstructured":"(2020, January 15). What Is the Class of This Image?. Available online: http:\/\/rodrigob.github.io\/are_we_there_yet\/build\/classification_datasets_results.html."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"417","DOI":"10.1109\/TPAMI.2011.142","article-title":"Prototype selection for nearest neighbor classification: Taxonomy and empirical study","volume":"34","author":"Garcia","year":"2012","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"515","DOI":"10.1109\/TIT.1968.1054155","article-title":"The condensed nearest neighbor rule (Corresp.)","volume":"14","author":"Hart","year":"1968","journal-title":"IEEE Trans. Inf. Theory"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Angiulli, F. (2005, January 7\u201311). Fast condensed nearest neighbor rule. Proceedings of the 22nd International Conference on Machine Learning, Bonn, Germany.","DOI":"10.1145\/1102351.1102355"},{"key":"ref_35","first-page":"1473","article-title":"Distance metric learning for large margin nearest neighbor classification","volume":"10","author":"Weinberger","year":"2006","journal-title":"J. Mach. Learn. Res."}],"container-title":["Entropy"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/2\/149\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:15:35Z","timestamp":1760159735000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/2\/149"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,26]]},"references-count":35,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2021,2]]}},"alternative-id":["e23020149"],"URL":"https:\/\/doi.org\/10.3390\/e23020149","relation":{},"ISSN":["1099-4300"],"issn-type":[{"type":"electronic","value":"1099-4300"}],"subject":[],"published":{"date-parts":[[2021,1,26]]}}}