[SciPy-user] k nearest neighbour

Matthieu Brucher matthieu.brucher@gmail....
Mon Oct 22 16:06:45 CDT 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://projects.scipy.org/pipermail/scipy-user/attachments/20071022/ae902a0b/attachment-0001.html 


More information about the SciPy-user mailing list