Difference between revisions of "File:KNN.jar"
Jump to navigation
Jump to search
(uploaded a new version of "File:KNN.jar": better linear/flat/brute force searching) |
(update with ant build file) |
||
| Line 1: | Line 1: | ||
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. | 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 <code>java net.robothai.nat.knn.KNNRunner dimensions dataSize numNeighbours [numTest]</ | + | Sorry I can't write .menifest file so please extract .jar and run <code>java net.robothai.nat.knn.KNNRunner dimensions dataSize numNeighbours [numTest]</code> |
| + | |||
| + | Ant build file, if anyone want: | ||
| + | <pre> | ||
| + | <?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> | ||
| + | </pre> | ||
| + | You may want to change <code>bin</code> and <code>scr</code> to what you store them. » <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 16:06, 20 August 2009 (UTC) | ||
Revision as of 17:06, 20 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/Time | Dimensions | User | Comment | |
|---|---|---|---|---|
| current | 06: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. |
You cannot overwrite this file.
File usage
The following 3 pages use this file: