def testReallyLargeTree(self):
        timer = pv.Timer()
        N = 100000
        K = 5
        points = np.random.uniform(size=(N,K))
        
        timer.mark("Tree Build Start")
        kdtree = FLANNTree(points)
        timer.mark("Tree Build Time")
        knn = KNearestNeighbors(points)
        timer.mark("Linear Build Time")

        timer.mark("Query Start")
        fdist,_ = kdtree.query([.05,.3,.9,.6,.2],k=4)
        timer.mark("KDTree Query")

        timer.mark("Query Start")
        _,_ = knn.query([.05,.3,.9,.6,.2],k=fdist[-1])
        timer.mark("Brute Force Query")
        
        #print "\nRatio %d/%d = %f"%(len(fdist),len(bdist),float(len(fdist))/len(bdist))
        #print timer
Shows a list picker of porfolios
dataset/ETHPy150Open bolme/pyvision/src/pyvision/ml/knn.py/AKNNTest.testReallyLargeTree--crossover with--dataset/ETHPy150Open jgillick/LendingClubAutoInvestor/lcinvestor/settings/__init__.py/Settings.portfolio_picker