facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
31.03k stars 3.61k forks source link

KNN Imputer #2222

Closed jpetot closed 2 years ago

jpetot commented 2 years ago

Summary

Is there a way to adapt FAISS as a KNN imputation function? if so, how?

Context

I am using Faiss algorithm as a knn as describe in this post.

KNN algorithms can also be used as an imputer. It is done in scikit learn here. But it itakes lot of time to compute.

So I am interesting to know if there is a way to use Faiss to impute missing values.

mdouze commented 2 years ago

I don't understand the question.

jpetot commented 2 years ago

Sorry, I put some context to clarify my question. Thanks

mdouze commented 2 years ago

No this is not supported.