naniar icon indicating copy to clipboard operation
naniar copied to clipboard

Add imputation operation for neighbours as in MissingDataGUI

Open njtierney opened this issue 6 years ago • 3 comments

Add imputation operation for Neighbours, as in MissingDataGUI - Line154

njtierney avatar Apr 18 '18 05:04 njtierney

There are actually two methods applied - these are:

  • impute_knn_avg, and
  • impute_knn_rand

These should take arguments, .tbl and k.

njtierney avatar Apr 19 '18 04:04 njtierney

These still need some work, I need to add:

  • [ ] proper handling for character/factor variables
  • [ ] split impute_knn into _avg and _rand functions
  • [ ] Look at adding _at and _if scoped variants

njtierney avatar May 10 '18 06:05 njtierney

Check out some similar imputation strategies in the same family here, as well as an interesting blog post here

njtierney avatar May 10 '18 06:05 njtierney

This should be covered by #173

njtierney avatar Apr 23 '23 22:04 njtierney