Hi Francis.
No. It is highly non-trivial for most distance functions to do k-means as
the computation of the mean has to be replaced by a different computation.
If you know how to do that, implementing k-means in pure numpy is not
all that hard.
This question comes up quite a lot. Maybe we should do a faq or something.
Cheers,
Andy
On 04/02/2013 09:05 PM, Pieraut, Francis wrote:
Hi guys,
Is there is simple way to change the distance function used in the
kmeans implementation?
Thanks,
Francis
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general