Skilgannon's kd-tree
← Thread:User talk:Tmservo/Julian Kent's kd-tree/reply (8)
Try using this knn.jar, it has both trees as an option. Although that one isn't using my latest tree, you should be able to figure out how to change which tree it is using.
Seriously, the different in performance between RedGen3 and Skil are pretty negligible. You'd be better off putting the time into figuring out how to reduce a dimension of the data you're storing, or something like that, which will actually provide a speedup.
You'll need to extract the .jar file, and make a new wrapper class in net/robowiki/knn/implementations directory, similar to the other ones there. Then at the top of net/robowiki/knn/implementations/KNNBenchmark.java you'll need to add a reference to the tree you want to test, like the others are referenced.
You don't need to. Just run the KNNBenchmark by java KNNBenchmark.class
You need to navigate to the base directory where you extracted the files. Then try java net.robowiki.knn.KNNBenchmark
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Tmservo/Julian Kent's kd-tree/reply (23).
This should be a good place to start [1]
i mean when i put drussgt 3.1.0's tree in the base directory where i extracted the files it doesn't work
There were some minor changes in the tree, so the adapter might need to be changed from new KDTree(...
to new KDTree.Euclidean(...
, but after that you're on your own. You haven't given any indication of what is wrong, why it isn't working or even exactly what you did.
I already explained that here and in the post above.