On 01/23/2012 08:52 AM, Alexandre Gramfort wrote: > I am not sure it is what you want but you could use: > > K = radius_neighbors_graph(X, radius, mode='distance') > K.data **= 2 > K.data *= -gamma > np.exp(K.data, out=K.data) > > no? > > Alex > It might be as easy as that. I guess I should try to see if this speeds up things.
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
