Project details for python weka wrapper3

Screenshot python weka wrapper3 0.1.4

by fracpete - February 18, 2018, 04:54:03 CET [ Project Homepage BibTeX Download ]

view (1 today), download ( 1 today ), 0 subscriptions

Description:

A thin Python3 wrapper that uses the javabridge Python library to communicate with a Java Virtual Machine executing Weka API calls. Offers all major APIs, like data generators, loaders, savers, filters, classifiers, clusterers, attribute selection, associations and experiments. Weka packages can be listed/installed/uninstalled as well. It does not provide any graphical frontend, but some basic plotting and graph visualizations are available through matplotlib and pygraphviz.

Changes to previous version:
  • upgraded to Weka 3.9.2
  • properly initializing package support now, rather than adding package jars to classpath
  • added weka.core.ClassHelper Java class for obtaining classes and static fields, as javabridge only uses the system class loader
BibTeX Entry: Download
Supported Operating Systems: Agnostic
Data Formats: Arff, Csv, Libsvm, Xrff
Tags: Machine Learning, Weka
Archive: download here

Other available revisons

Version Changelog Date
0.1.4
  • upgraded to Weka 3.9.2
  • properly initializing package support now, rather than adding package jars to classpath
  • added weka.core.ClassHelper Java class for obtaining classes and static fields, as javabridge only uses the system class loader
February 18, 2018, 04:54:03
0.1.3
  • added check_for_modified_class_attribute method to FilterClassifier class
  • added complete_classname method to weka.core.classes module, which allows completion of partial classnames like .J48 to weka.classifiers.trees.J48; if there is a unique match; JavaObject.new_instance and JavaObject.check_type now make use of this functionality, allowing for instantiations like Classifier(cls=".J48")
  • jvm.start(system_cp=True) no longer fails with a KeyError: 'CLASSPATH' if there is no CLASSPATH environment variable defined
  • Libraries mtl.jar, core.jar and arpack_combined_all.jar were added as is to the weka.jar in the 3.9.1 release instead of adding their content to it. Repackaged weka.jar to fix this issue.
August 23, 2017, 01:18:36
0.1.2
  • "typeconv.double_matrix_to_ndarray" no longer assumes a square matrix (https://github.com/fracpete/python-weka-wrapper3/issues/4)
  • "len(Instances)" now returns the number of rows in the dataset (module "weka.core.dataset")
  • added method "insert_attribute" to the "Instances" class
  • added class method "create_relational" to the "Attribute" class
  • upgraded Weka to 3.9.1
January 4, 2017, 10:27:40
0.1.1
  • plot_learning_curve method of module weka.plot.classifiers now accepts a list of test sets; * is index of test set in label template string
  • added missing_value() methods to weka.core.dataset module and Instance class
  • output variable y for convenience method create_instances_from_lists in module weka.core.dataset is now optional
  • added convenience method create_instances_from_matrices to weka.core.dataset module to easily create an Instances object from numpy matrices (x and y)
October 27, 2016, 23:46:52
0.1.0

Initial Announcement on mloss.org.

October 27, 2016, 23:14:20

Comments

No one has posted any comments yet. Perhaps you'd like to be the first?

Leave a comment

You must be logged in to post comments.