Giter VIP home page Giter VIP logo

liblinear-weka's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

liblinear-weka's Issues

benchmarks?

Thanks for putting together the code for liblinear in weka. Is there any benchmarks (performance and speed) to compare different classifiers in weka, including liblinear-weka?

Thanks!

ArrayIndexOutOfBoundsException 44458

LibLINEAR 1.9.8

weka.classifiers.functions.LibLINEAR -S 1 -C 1.0 -E 0.001 -B 1.0 -L 0.1 -I 1000

In the Weka Explorer when evaluating a liblinear classifier with default parameters, and using as data an arff file containing sparse instances I received the following exception in the console:

java.lang.ArrayIndexOutOfBoundsException: 44458
weka.classifiers.functions.LibLINEAR.toString(LibLINEAR.java:1041)
weka.gui.explorer.ClassifierPanel$18.run(ClassifierPanel.java:1406)

Note that I have evaluated the same classifier with the same arff file using the JAVA api and everthing is working fine.

I'm attaching the arff file, it has 1416 Instances, 44457 attributes.

data.txt

Cannot Select all SVM Types in Weka

The Weka interface to LibLINEAR does not permit the user to choose any of the regression SVMs.

The problem appears to be that the drop down menu for selecting the SVM type is returning the wrong value for the regression SVM types. It should be returning 11, 12, and 13. Instead it is returning 8, 9, and 10. It appears that the code is returning the ordinal value of the menu item rather than the SolverType id.

I suspect there is another problem. Currently the Weka code appears to always return the default capabilities for libLinear, i.e., NOMINAL_CLASS. I believe this should change when one of the regression SVMs is chosen. Otherwise Weka will not allow LibLINEAR to run, thinking that it doesn't have the capability to handle a regression problem.

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.