CARVIEW |
Every repository with this icon (

Every repository with this icon (

Description: | edit |
Homepage: | edit |
Public Clone URL: |
git://github.com/nirvdrum/github-contest-java.git
Give this clone URL to anyone.
git clone git://github.com/nirvdrum/github-contest-java.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:nirvdrum/github-contest-java.git
|
tree 712fd2d6329de63d72cb23897de2a9ddb4807078
parent e234fb12d2a5c30b1e7d4167b39b8d121b7602ac
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Mon Aug 24 14:09:28 -0700 2009 | Initial work on porting github contest entry to... [nirvdrum] |
![]() |
LICENSE | Mon Aug 31 14:28:28 -0700 2009 | Cleaned up licensing. [nirvdrum] |
![]() |
README.markdown | Fri Sep 04 04:02:53 -0700 2009 | [nirvdrum] |
![]() |
pom.xml | Mon Aug 31 05:48:49 -0700 2009 | Cleaning up packaging. [nirvdrum] |
![]() |
results.txt | Sun Aug 30 12:00:51 -0700 2009 | Slightly better results. [nirvdrum] |
![]() |
src/ | Mon Aug 31 14:22:10 -0700 2009 | Run the full 10 folds for cross validation. [nirvdrum] |
Overview:
This is my second submission to the GitHub contest. My initial approach was in Ruby and I found it too slow to be usable. This project is mostly a port to Java and performs considerably better. Since it is a port and I was short of time, the variable naming convention often uses underscores rather than camel-casing. The code is fairly clean, but not the best structured Java application by any stretch of the imagination.
For more details on the algorithm used, please ready my write-up.
Running:
The project is structured using maven. You must have maven 2.x on your path; I used 2.2.1 throughout the development of the application.
To run the tests:
$ mvn test
To run the project in evaluation mode (runs in 10 fold cross validation):
$ mvn package
$ java -Xmx2048m -server -jar target/github_contest-1.0.jar training
To run the project and generate the results.txt file in the current working directory:
$ mvn package
$ java -Xmx2048m -server -jar target/github-contest-1.0.jar
License:
The code is licensed under the Apache Software License v2. Please see the LICENSE file for the full license text.