Code covered by the BSD License  

Highlights from
Imputation of missing data: Recursive 1D discrete KNN algorithm

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 2.8 KB File ID: #39025

Imputation of missing data: Recursive 1D discrete KNN algorithm

by

 

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

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us