File Exchange

image thumbnail

Imputation of missing data: Recursive 1D discrete KNN algorithm

version 1.0 (2.8 KB) by

imputeMatrixNaNKnn takes a matrix as an input and fills the NaN values with the closest available.

1 Download

Updated

View License

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.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video