K-means clustering is a powerful algorithm for similarity searches, and Facebook AI Research’s faiss library is turning out to be a speed champion. With only a handful of lines of code shared in this demonstration, faiss outperforms the implementation in scikit-learn in speed and accuracy.
Originally from KDnuggets https://ift.tt/3oILg8S
source https://365datascience.weebly.com/the-best-data-science-blog-2020/k-means-8x-faster-27x-lower-error-than-scikit-learn-in-25-lines
Published by 365Data Science
365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.
We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.
View more posts