Skilgannon's kd-tree

Fragment of a discussion from User talk:Tmservo
Jump to navigation Jump to search

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/ you'll need to add a reference to the tree you want to test, like the others are referenced.

Skilgannon (talk)20:15, 5 October 2013

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

Tmservo (talk)20:40, 5 October 2013

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

Skilgannon (talk)22:17, 5 October 2013

it doesn't work

Tmservo (talk)23:06, 5 October 2013

on my ubuntu i only have icedtea and openjdk

Tmservo (talk)23:10, 5 October 2013

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

Skilgannon (talk)00:13, 6 October 2013

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

Tmservo (talk)00:16, 6 October 2013

Could not find or load main class KNNBenchmark.class

Tmservo (talk)00:16, 6 October 2013

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

Skilgannon (talk)01:47, 6 October 2013

Just curious, what are you using the tree for?

Skilgannon (talk)01:49, 6 October 2013

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

Tmservo (talk)02:01, 6 October 2013

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

Tmservo (talk)02:03, 6 October 2013

This should be a good place to start [1]

Skilgannon (talk)09: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)18: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)14:35, 7 October 2013

how do i change the adapter

Tmservo (talk)01:27, 8 October 2013

I already explained that here and in the post above.

Skilgannon (talk)08:54, 8 October 2013