[SciPy-user] PyEM: custom (non-Euclidean) distance function?

Emanuele Olivetti emanuele@relativita....
Mon Mar 16 10:05:24 CDT 2009


Hi All,

I'm playing with PyEM [0] in scikits and would like to feed
a dataset for which Euclidean distance is not supposed to
work. So I'm wondering how simple is to modify the code with
a custom distance (e.g., 1-norm).

Thanks for any help,

Emanuele

[0]: http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/em/


More information about the SciPy-user mailing list