Imputation of missing data: Recursive 1D discrete KNN algorithm
Version 1.0.0.0 (2.8 KB) by
Mehmet Suzen
imputeMatrixNaNKnn takes a matrix as an input and fills the NaN values with the closest available.
This is a simple utility for imputation of missing data in a given matrix. Assuming that missing data is represented by NaN values. It uses a simple
linear search with recursion to find the k-nearest neighbour.
Cite As
Mehmet Suzen (2024). Imputation of missing data: Recursive 1D discrete KNN algorithm (https://www.mathworks.com/matlabcentral/fileexchange/39025-imputation-of-missing-data-recursive-1d-discrete-knn-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Find more on Nearest Neighbors in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
imputeMatrixNaNKnn/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |