[scikit-learn] KMeans with cosine similarity
JAGANADH G
jaganadhg at gmail.com
Thu Jun 2 15:24:54 EDT 2016
Hi Team,
I was trying to use cosine similarity with KMeans. The code which I used to
achieve is available here.
https://gist.github.com/jaganadhg/b3f6af86ad99bf6e9bb7be21e5baa1b5
Is it the right way to achieve the same ? I know that cosine is not
directly supported in sklearn KMeans. But after skimming through the code I
was thinking that this will work ;-)
--
**********************************
JAGANADH G
http://jaganadhg.in
*ILUGCBE*
http://ilugcbe.org.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160602/b8a6efb5/attachment.html>
More information about the scikit-learn
mailing list