raindreams / jforests Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jforests
Automatically exported from code.google.com/p/jforests
What steps will reproduce the problem?
Running this command on any train.txt:
java -jar jforests.jar --cmd=generate-bin --ranking --folder . --file train.txt
What is the expected output? What do you see instead?
Expected output=bin file
Error reported:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
edu/uci/jforests/applications/Runner : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
What version of the product are you using? On what operating system?
0.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2012 at 7:56
It would be good if training or ranking could be done directly without firstly
generating the binary representations.
Original issue reported on code.google.com by [email protected]
on 23 Apr 2014 at 8:24
What steps will reproduce the problem?
1. convert sample-ranking-data to binary format
2. train with sample-ranking-data using sample-ranking-config.properties
What is the expected output? What do you see instead?
jforests should work with given sample-training-data, but it crashed instead
(see output below)
What version of the product are you using? On what operating system?
jforests-0.3.jar on centOS6.4
Please provide any additional information below.
[resources]$ java -jar jforests-0.3.jar --cmd=generate-bin --ranking --folder .
--file train.txt
Generating binary files for ranking data sets...
Processing: ./train.txt
10000
20000
30000
40000
Loading values... [Done in: 0 seconds.]
Making distributions... [Done in: 0 seconds.]
Making bins...
Feature: 0, type: SHORT
Feature: 1, type: SHORT
Feature: 2, type: BYTE
Feature: 3, type: BYTE
Feature: 4, type: SHORT
Feature: 5, type: NULL
Feature: 6, type: NULL
Feature: 7, type: NULL
Feature: 8, type: NULL
Feature: 9, type: NULL
Feature: 10, type: SHORT
Feature: 11, type: SHORT
Feature: 12, type: SHORT
Feature: 13, type: SHORT
Feature: 14, type: SHORT
Feature: 15, type: SHORT
Feature: 16, type: SHORT
Feature: 17, type: SHORT
Feature: 18, type: SHORT
Feature: 19, type: SHORT
Feature: 20, type: SHORT
Feature: 21, type: SHORT
Feature: 22, type: SHORT
Feature: 23, type: SHORT
Feature: 24, type: SHORT
Feature: 25, type: SHORT
Feature: 26, type: SHORT
Feature: 27, type: SHORT
Feature: 28, type: SHORT
Feature: 29, type: SHORT
Feature: 30, type: SHORT
Feature: 31, type: SHORT
Feature: 32, type: SHORT
Feature: 33, type: SHORT
Feature: 34, type: SHORT
Feature: 35, type: SHORT
Feature: 36, type: SHORT
Feature: 37, type: SHORT
Feature: 38, type: SHORT
Feature: 39, type: SHORT
Feature: 40, type: SHORT
Feature: 41, type: SHORT
Feature: 42, type: SHORT
Feature: 43, type: BYTE
Feature: 44, type: SHORT
Feature: 45, type: BIT
[Done in: 0 seconds.]
Making features... [Done in: 0 seconds.]
Creating bin file... [Done in: 0 seconds.]
[resources]$ java -jar ~/rank/jforests-0.3.jar --cmd=train --ranking
--config-file sample-ranking-config.properties --train-file train.bin
--output-model ensemble.txt
Loading datasets...
Finished loading datasets.
java.lang.NullPointerException
at edu.uci.jforests.learning.boosting.LambdaMART.preprocess(LambdaMART.java:122)
at edu.uci.jforests.learning.boosting.GradientBoosting.learn(GradientBoosting.java:97)
at edu.uci.jforests.applications.ClassificationApp.run(ClassificationApp.java:244)
at edu.uci.jforests.applications.Runner.train(Runner.java:100)
at edu.uci.jforests.applications.Runner.main(Runner.java:247)
[resources]$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
[resources]$ uname -a
Linux centos 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
Original issue reported on code.google.com by [email protected]
on 5 Nov 2013 at 2:28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.