0

I am trying to perform a knn imputation using the python package knnimpute. I am kind of lost with what the parameter missing_mask should be. I fail to understand what this means ( from the docs)

 missing_mask : np.ndarray
            Boolean array of same shape as X

Somebody who has used this package - would be great if you can help me with it.

Indi
  • 1,401
  • 13
  • 30

1 Answers1

0

missing_mask should be np.isnan(your_numpy_matrix_data).

In my environment it goes ok.