Desktop Survival Guide
by Graham Williams

Nearest Neighbours

Another approach to filling in the missing values is to look at the entities that are closest to the entity with a missing value, and to use the values for the missing variable of these nearby neighbours to fill in the missing value for this entity. See Refer to ltorgo/DataMiningWithR/PDF/DataMiningWithR.pngData Mining With R, page 48 and following for example R code to do this.

Copyright © 2004-2006
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.