File:KNN.jar

From Robowiki
Revision as of 09:06, 23 August 2009 by Rednaxela (talk | contribs) (uploaded a new version of "File:KNN.jar": Add capability to read from csv. Various other changes.)
Jump to navigation Jump to search

KNN.jar(file size: 217 KB, MIME type: application/zip)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

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
current06: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
16:11, 24 August 2009 (246 KB)Nat (talk | contribs)add worst case search time
23:37, 23 August 2009 (110 KB)Rednaxela (talk | contribs)Red's tree updates, warming up the JIT, overall time bugfix
17: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.
09:06, 23 August 2009 (109 KB)Rednaxela (talk | contribs)Add capability to read from csv. Various other changes.
17:04, 20 August 2009 (96 KB)Nat (talk | contribs)better linear/flat/brute force searching
16:17, 17 August 2009 (95 KB)Nat (talk | contribs)Better banchmark
17: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.