A New Streaming K‐Nearest Neighbor Algorithm for Status Prediction in Block‐Sparse, Autocorrelated, Irregular Longitudinal Data
In streaming longitudinal data, status prediction becomes challenging when input variables are block-sparse, autocorrelated, and irregular in both dimension and distribution. General methods cannot model such data directly, especially when the classes are extremely imbalanced. This research proposes a K-Nearest Neighbor (KNN) algorithm where distance is measured by Kullback-Leibler (KL) divergence. The algorithm uses features extracted from metric conditional density, both with and without first-order lag. The developed streaming KNN algorithm is further applied to simulation data. Results show that when differences originate from the location hyperparameters of the Gaussian distribution or both the shape and scale hyperparameters of the inverse gamma distribution, the method performs quite well, as expected, with an AUC close to 1. Additionally, a numerical method is proposed for general distributions that lack an analytical expression in real data. This method is applied to a big medical streaming dataset with similar properties. Results indicate that the AUC value gradually increases to 0.913, with a sensitivity of 0.851 and a specificity of 0.816.
Authors
- Xin Zhao (ORCID: https://orcid.org/0000-0002-3604-1643)
- Xiaokai Nie (ORCID: https://orcid.org/0000-0002-2357-2947)
- Yu Zhao (ORCID: https://orcid.org/0000-0001-9025-2014)
- Kaida Cai (ORCID: https://orcid.org/0000-0003-2262-3869)
Institutions
- Chinese Academy of Medical Sciences & Peking Union Medical College (CN)
- Peking Union Medical College Hospital (CN)
- City University of Hong Kong, Shenzhen Research Institute (CN)
- Southeast University (CN)
Publication Details
- Journal
- Statistics in Medicine
- Published
- 2025-12-01
- DOI
- https://doi.org/10.1002/sim.70332
- Primary Topic
- Data Stream Mining Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00