Skilgannon's kd-tree

Jump to navigation Jump to search

No, as I said above, they are mostly the same except for cache conditions.

Skilgannon (talk)14:07, 4 October 2013

what about second generation Rednaxela and first generation Rednaxela

Tmservo (talk)22:22, 4 October 2013

3rd gen is the fastest of Rednaxela's trees. There's also a k-NN algorithm benchmark if you want to run some tests.

Voidious (talk)01:32, 5 October 2013

Voidious can you make a version of knn.jar with Julian Kent's tree and give instructions on how to use knn.jar on ubuntu 13.04

Tmservo (talk)01:51, 5 October 2013

I've never used it, sorry.

Why not just pick Skilgannon's or Rednaxela's and go with it? The speed difference will be negligible. Unless you're locked into some insane batch job on a supercomputer upon choosing, I reckon you'll spend more time trying to evaluate them than you'll save by using one over the other.

Voidious (talk)02:03, 5 October 2013

what's the difference between drussgt 3.0.0's kd-tree and drussgt 3.0.1's kd-tree

Tmservo (talk)16:29, 5 October 2013

No difference between them.

Skilgannon (talk)18:55, 5 October 2013

so what is the difference between drussgt 3.0.0 and drussgt 3.0.1

Tmservo (talk)19:01, 5 October 2013

3.0.0 had a small bug in the precise prediction code. Nothing to do with the Kd-Tree.

Skilgannon (talk)20:47, 5 October 2013
 
 
 
 

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

how do i make a new knn.jar with the latest skilgannon kd-tree

Tmservo (talk)19:40, 5 October 2013

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

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 (18).

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