Gael Varoquaux wrote: > On Wed, Jan 04, 2012 at 07:59:04AM -0800, Jacob VanderPlas wrote: > >> If someone has a good idea about how one could specify these distance >> metrics from python code, with optional ancillary parameters, and >> convert these specifications into code for fast distance computation >> within cython, >> > > How about using small Cython classes with one or two methods? This is > what ended up working well for the decision trees (see _tree.pyx). > Interesting... I won't have a lot of time as the quarter ramps up, but I'll start experimenting with that when I can. If it could be done without overhead that would slow the euclidean case (probably the most common use case) then I think it would be a worthwhile improvement. Jake
------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
