-
Hi folks, I have data which contains nan values. Of course, this is nothing special. Usually, in the Data Science community nan-values are expected to be faulty, it seems to me. Therefore, they should be eliminated beforehand. Do you have any suggestions how to handle nan-values which are important information? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
UMAP can support custom distance functions as long as they compile with numba (use the |
Beta Was this translation helpful? Give feedback.
UMAP can support custom distance functions as long as they compile with numba (use the
numba.njit
decorator on the function); as long as you can write a distance function that can handle NaN in the vectors and output sensible (i.e. non NaN) distances then it should all work fine.