Difference between revisions of "File:KNN.jar"

From Robowiki
Jump to navigation Jump to search
(uploaded a new version of "File:KNN.jar": Red's tree updates, warming up the JIT, overall time bugfix)
(uploaded a new version of "File:KNN.jar": add worst case search time)
(No difference)

Revision as of 17:11, 24 August 2009

My k-nearest neighbours speed/accuracy test. Come with Rednaxela's, Voidious', Simonton's and Nat's tree but should be able to add others easily.

Sorry I can't write .menifest file so please extract .jar and run java net.robothai.nat.knn.KNNRunner dimensions dataSize numNeighbours [numTest]

Ant build file, if anyone want:

<?xml version="1.0" encoding="utf-8"?>

<project name="KNNBenchmark" default="build" basedir="/path/to/your/workspace">

	<target name="build" description="build">
		<javac srcdir="src" destdir="bin" classpath="./bin" debug="ON" includes="**/*.java" />
		<jar duplicate="add" destfile="KNN.jar" compress="true">
			<fileset dir="bin" includes="**/*.class" />
			<fileset dir="src" includes="**/*.java" />
		</jar>
	</target>
</project>

You may want to change bin and scr to what you store them. » Nat | Talk » 16:06, 20 August 2009 (UTC)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current07:28, 11 March 2010 (217 KB)Rednaxela (talk | contribs)Update with new/updated trees, csv output of some timing information, and an interactive configuration mode
17:11, 24 August 2009 (246 KB)Nat (talk | contribs)add worst case search time
00:37, 24 August 2009 (110 KB)Rednaxela (talk | contribs)Red's tree updates, warming up the JIT, overall time bugfix
18:04, 23 August 2009 (109 KB)Rednaxela (talk | contribs)Fix memory leak that prevented large numbers of repetitions from working, move package, add javadoc author notes.
10:06, 23 August 2009 (109 KB)Rednaxela (talk | contribs)Add capability to read from csv. Various other changes.
18:04, 20 August 2009 (96 KB)Nat (talk | contribs)better linear/flat/brute force searching
17:17, 17 August 2009 (95 KB)Nat (talk | contribs)Better banchmark
18:12, 16 August 2009 (92 KB)Nat (talk | contribs)My k-nearest neighbours speed/accuracy test. Come with Rednaxela's, Voidious', Simonton's and Nat's tree but should be able to add others easily. This version only supported single test at a time.