Giter Site home page Giter Site logo

waikato / weka-3.8 Goto Github PK

View Code? Open in Web Editor NEW
178.0 9.0 99.0 287.09 MB

No longer updated mirror of the Weka 3.8 branch.

Home Page: https://git.cms.waikato.ac.nz/weka/weka/-/tree/stable-3-8

Java 57.79% Batchfile 0.01% Makefile 0.01% NSIS 0.04% Clojure 0.01% Groovy 0.07% Shell 0.08% Python 0.07% HTML 1.50% Lex 0.01% CSS 0.01% TeX 1.07% PostScript 39.30% Jupyter Notebook 0.01% Inno Setup 0.05%
java machine-learning weka

weka-3.8's Introduction

weka-3.8's People

Contributors

fracpete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weka-3.8's Issues

cannot select J48 in classify for latest weka

Dear developer,
I am a new-comer for weka. And I have just installed weka 3.8.3 for windows 64bits.
After I installed it and opened a new file, I wanna classify it with decision tree (J48).
But I found the column is not able to click.
Could you give me some suggestion on how to deal with this issue?
image

Cannot build weka-3.8

[ERROR] Failures: 
[ERROR]   weka.attributeSelection.PrincipalComponentsTest#testRegression AssertionFailedError
[ERROR]   weka.classifiers.evaluation.EvaluationTest#testRegression AssertionFailedError
[ERROR]   weka.classifiers.functions.GaussianProcessesTest#testBuildInitialization AssertionFailedError
[ERROR]   weka.classifiers.functions.GaussianProcessesTest#testRegression AssertionFailedError
[ERROR]   weka.classifiers.functions.GaussianProcessesTest#testUseOfTestClassValue AssertionFailedError
[ERROR]   weka.classifiers.functions.LinearRegressionTest#testRegression AssertionFailedError
[ERROR]   weka.classifiers.meta.ClassificationViaRegressionTest#testRegression AssertionFailedError
[ERROR]   weka.classifiers.rules.M5RulesTest#testRegression AssertionFailedError Regress...
[ERROR]   weka.classifiers.trees.M5PTest#testRegression AssertionFailedError Regression ...
[INFO] 
[ERROR] Tests run: 4071, Failures: 9, Errors: 0, Skipped: 0

Weka Warning

Hi,

When train to build and run my Weka model (from the Java API) without the mtj dependency, I get the folling error:

WARNING: core mtj jar files are not available as resources to this classloader (sun.misc.Launcher$AppClassLoader@18b4aac2)

My question is whether prior warning and non-inclusion of the mentioned library affects the correctness of code execution or only its performance?
If it affects performance, how much?

Thanks in advance,
Milan

Exception when accessing CSV file.

Receiving an error when attempting to open a rather large CSV file in either explorer or ARFF viewer. This is causing the conversion to fail.

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter cannot be cast to class weka.gui.ExtensionFileFilterWithClass (javax.swing.plaf.basic.BasicFileChooserUI$AcceptAllFileFilter is in module java.desktop of loader 'bootstrap'; weka.gui.ExtensionFileFilterWithClass is in unnamed module of loader 'app')
        weka.gui.ConverterFileChooser.configureCurrentConverter(ConverterFileChooser.java:743)
        weka.gui.ConverterFileChooser.showOpenDialog(ConverterFileChooser.java:553)
        weka.gui.arffviewer.ArffViewerMainPanel.loadFile(ArffViewerMainPanel.java:659)
        weka.gui.arffviewer.ArffViewerMainPanel.actionPerformed(ArffViewerMainPanel.java:1069)
        java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
        java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        java.desktop/java.awt.Component.processEvent(Unknown Source)
        java.desktop/java.awt.Container.processEvent(Unknown Source)
        java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        java.base/java.security.AccessController.doPrivileged(Native Method)
        java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        java.base/java.security.AccessController.doPrivileged(Native Method)
        java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

        at weka.gui.ConverterFileChooser.configureCurrentConverter(ConverterFileChooser.java:743)
        at weka.gui.ConverterFileChooser.showOpenDialog(ConverterFileChooser.java:553)
        at weka.gui.arffviewer.ArffViewerMainPanel.loadFile(ArffViewerMainPanel.java:659)
        at weka.gui.arffviewer.ArffViewerMainPanel.actionPerformed(ArffViewerMainPanel.java:1069)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
        at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Glitches upon the closure(destory) of a window in macOS 11.4

Environment: macOS 11.4 (20F71)
Weka version: weka 3.8.5 (1.0)
image

I think this problem is UI related, please fix it, it deducts the user experience. It happens on my machine, I am not sure for other system like Windows.

Recurrence

Open any one window that in applications and close it, the window will be frozen but still be displaying on the screen.

Screen.Recording.2021-07-07.at.6.40.44.PM.mov

And when opening a new application window, the previous one that has been closed will disappear(be destoryed).

It seems to be a new window is invoked, the previous one is destoryed to some custom java windows. The LogWindow totally has not a problem related to this, and the LogWindow can only have one instance, instead of like that can hold multiple Package Manager, which confused me. (Logically I do think the Package Manager shoulld have only one instance, also for some other utils)

image

image

Same thing happens to the other window in Tools. The Memory usage window also has this problem.

image

Analysis

There must be some logical problems with the closure confirming.

Firstly, some of windows should not have multiple windows, there's no reason for it, like Package Manager or Meomry usage.

The problem occurs in any window that can have multiple instances, and they all go with a closure confirming window, like this:

image

The LogWindow only has one instance, it will be closed immidiately when click the close button. The open file window has no confirm and it will close immediately as well. As shwon in the screen recording above, when close a window but the window is still upon the screen, create an arbitrary window will ensure the closed window is "destoryed". To clarify, the arbitrary window can be another application, or LogWindow, etc. and the closure confirming window is counted among it, and the screenshot below is a "About GUIChosser" window, that works as well. (I think this window might be different from the Windows.)

image

Another one is, when close a window and it has not been destoryed, switch to other apps and switch back, it might be destoryed by then. It happens sometimes. If it still exists there, click the button to close again it may close immediately or create a new window to have the same effect.

Workaround

Create any new window can destory a closed window. If create a new window that does not have the closure confirming then we can close the new window immediately.

Search by text in filters frame

Dear developers,
I have been using Weka by GUI, i would suggest you to add a text search to the frame used to select filters.
CleanShot 2021-10-12 at 10 12 23@2x

This could really improve the usability of the app.

Version 3.8.5

implementing my clusterer

Hello, I'm new here, and I'm trying to implement a BDSCAN algo for clustering string and date type attributes.

I overided buildClusterer(), numberOfClusters(), clusterInstance() and getCapabilities().
I stored into a hashmap<Instance, Integer> to know which cluster every Instance is attributed to so I can call it in clusterInstance().
I still don't know what correspond the prior probability of clusterPriors() and everything about logDensityPerClusterForInstance(), so left it as return null but I tried to hardcode it also but it doesn't change my issue.

So when I'm running my code, I got this:
=== Clustering stats for training data ===
Clustered Instances
Unclustered Instances : 1799
Log likelihood: NaN

Weka 3.8.3 .dmg file fails to mount

Hello,
I am trying to install Weka 3.8.3 to my macbook which is running on osX v10.11.6 El Capitan and the dmg file fails to mount (no mountable filesystems).

screen shot

Weka 3.6.15 gets installed without any problems though.
Could you please check?

Thank you

Illegal reflective access by weka.core.WekaPackageClassLoaderManager (weka-3-8-4/weka.jar)

As far as I can tell it didn't cause any harm. But thought I'd report it FYI. Cheers!

shokin@morangie:~/weka-3-8-4$ java -jar weka.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by weka.core.WekaPackageClassLoaderManager (file:/home/shokin/weka-3-8-4/weka.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of weka.core.WekaPackageClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Tester set to: weka.experiment.PairedCorrectedTTester

Logistic regression/ DT/RF Under the hood dealing with missing values WEKA

Hello. Iam trying to implement some algorithms defined in a paper which used weka software, but mine must be implemented in python. Python does not deal with missing values, in contrary to weka. Iam asking what do logistic regression, decision tree, random forest under the hood so that they run without throwing error about missing values

"git clone weka" and "java run" in terminal?

Can't i just "git clone weka" into some local repository of mine and run it in any terminal i open? It would be easier to use weka, because every update we would know and could simply make "git pull". Is somehow possible to do it?

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.