[SciPy-user] k nearest neighbour

Matthieu Brucher matthieu.brucher at gmail.com
Mon Oct 22 17:06:45 EDT 2007


>
> On Mon, Oct 22, 2007 at 07:13:04PM +0200, Matthieu Brucher wrote:
> > I tried a pure Python implementation, too slow.
>
> Which one did you try?  Tim Hochberg's suggestion from the URL I
> posted earlier is fairly quick, given that your dataset is not
> extraordinarily large.
>

I tried my own approach, too much influenced by C++.
I had some thousand points, and it is far slower than the C++ version.

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20071022/ae902a0b/attachment.html>


More information about the SciPy-User mailing list