Skilgannon's kd-tree

Jump to navigation Jump to search

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.

Skilgannon (talk)08:16, 5 October 2013

how do i change which tree its using

Tmservo (talk)14:28, 5 October 2013

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.

Skilgannon (talk)19:15, 5 October 2013

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Tmservo/Julian Kent's kd-tree/reply (14).

You don't need to. Just run the KNNBenchmark by java KNNBenchmark.class

Skilgannon (talk)21:17, 5 October 2013

it doesn't work

Tmservo (talk)22:06, 5 October 2013

on my ubuntu i only have icedtea and openjdk

Tmservo (talk)22:10, 5 October 2013

What are the errors? IcedTea and OpenJDK should be fine.

Skilgannon (talk)23:13, 5 October 2013
 

i need anybody to give me test results of the latest skilgannon kd-tree

Tmservo (talk)23:16, 5 October 2013

Could not find or load main class KNNBenchmark.class

Tmservo (talk)23:16, 5 October 2013

You need to navigate to the base directory where you extracted the files. Then try java net.robowiki.knn.KNNBenchmark

Skilgannon (talk)00:47, 6 October 2013
 

Just curious, what are you using the tree for?

Skilgannon (talk)00:49, 6 October 2013

how do i put the latest skilgannon tree in KNN.jar

Tmservo (talk)01:01, 6 October 2013

because when i put it in the KNN jar it doesn't work

Tmservo (talk)01:03, 6 October 2013

This should be a good place to start [1]

Skilgannon (talk)08:26, 6 October 2013

i mean when i put drussgt 3.1.0's tree in the base directory where i extracted the files it doesn't work

Tmservo (talk)17:23, 6 October 2013

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.

Skilgannon (talk)13:35, 7 October 2013

how do i change the adapter

Tmservo (talk)00:27, 8 October 2013

I already explained that here and in the post above.

Skilgannon (talk)07:54, 8 October 2013