Giter VIP home page Giter VIP logo

jforests's People

Watchers

 avatar

jforests's Issues

Unsupported major.minor version

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

jforests crashed with sample-training-data

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

Avoid generate-bin step

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.