Re: [scikit-learn] Nearest neighbor search with 2 distance measures

2017-08-02 Thread Rohin Kumar
current project is complete. Currently going ahead with brute-force method. For now, this thread may be considered closed. Thanks once again! Regards, Rohin. On Tue, Aug 1, 2017 at 11:29 PM, Jacob Vanderplas wrote: > On Tue, Aug 1, 2017 at 10:50 AM, Rohin Kumar > wrote: > >> I

Re: [scikit-learn] Nearest neighbor search with 2 distance measures

2017-08-01 Thread Rohin Kumar
Fellow > Director of Open Software > University of Washington eScience Institute > > On Tue, Aug 1, 2017 at 6:15 AM, Rohin Kumar wrote: > >> Since you seem to be from Astrophysics/Cosmology background (I am >> assuming you are jakevdp - the creator of astroML - i

Re: [scikit-learn] Nearest neighbor search with 2 distance measures

2017-08-01 Thread Rohin Kumar
f two ball trees at huge computational cost. I hope I am able to frame my question properly. Thanks & Regards, Rohin. On Mon, Jul 31, 2017 at 8:16 PM, Jacob Vanderplas wrote: > On Sun, Jul 30, 2017 at 11:18 AM, Rohin Kumar > wrote: > >> *update* >> >> May be it

Re: [scikit-learn] Nearest neighbor search with 2 distance measures

2017-08-01 Thread Rohin Kumar
to find the anisotropic counter part. Thanks & Regards, Rohin Y.Rohin Kumar, +919818092877. On Tue, Aug 1, 2017 at 5:18 PM, Rohin Kumar wrote: > Dear Jake, > > Thanks for your response. I meant to group/count pairs in boxes (using two > arrays simultaneously-hence needing 2 metr

Re: [scikit-learn] Nearest neighbor search with 2 distance measures

2017-07-30 Thread Rohin Kumar
*update* May be it doesn't have to be done at the tree creation level. It could be using loops and creating two different balltrees. Something like tree1=BallTree(X,metric='metric1') #for x-z plane tree2=BallTree(X,metric='metric2') #for y-z plane And then calculate correlation functions in a lo

[scikit-learn] Nearest neighbor search with 2 distance measures

2017-07-30 Thread Rohin Kumar
Dear all, This is my first post on this forum. May be it is a feature request or about something I don't know how to get it work. My question is on BallTree algorithm with custom metrics. I am working with a dataset for which I was calculating two point correlation with one distance metric using