NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Nearest Neighbor Classification for High-Speed Big Data Streams Using Spark

Sergio Ramírez-Gallego, Bartosz Krawczyk, Salvador García, Michal Wozniak, José Manuel Benítez, Francisco Herrera

Abstract

Mining massive and high-speed data streams among the main contemporary challenges in machine learning. This calls for methods displaying a high computational efficacy, with ability to continuously update their structure and handle ever-arriving big number of instances. In this paper, we present a new incremental and distributed classifier based on the popular nearest neighbor algorithm, adapted to such a demanding scenario. This method, implemented in Apache Spark, includes a distributed metric-space ordering to perform faster searches. Additionally, we propose an efficient incremental instance selection method for massive data streams that continuously update and remove outdated examples from the case-base. This alleviates the high computational requirements of the original classifier, thus making it suitable for the considered problem. Experimental study conducted on a set of real-life massive data streams proves the usefulness of the proposed solution and shows that we are able to provide the first efficient nearest neighbor solution for high-speed big and streaming data.
BibTeX
@article{ramirezgallego2017nearest,
  author = {Sergio Ramírez-Gallego and Bartosz Krawczyk and Salvador García and Michal Wozniak and José Manuel Benítez and Francisco Herrera},
  title = {{Nearest Neighbor Classification for High-Speed Big Data Streams Using Spark}},
  journal = {IEEE Trans. SMC: Systems},
  year = {2017},
  doi = {10.1109/tsmc.2017.2700889},
}

Loading related content...

Figure