Python 3 wrapper for Weka using JPype.
GPL-3.0 License
Bot releases are hidden (Show)
Published by fracpete almost 4 years ago
weka.core.systeminfo
module for obtaining output from weka.core.SystemInfo
system_info
parameter to weka.core.jvm.start()
methodPublished by fracpete over 4 years ago
AttributeSelectedClassifier
meta-classifier to module weka.classifiers
AttributeSelection
meta-filter to module weka.filters
Published by fracpete over 4 years ago
class_index
parameter to weka.core.converters.load_any_file
and weka.core.converters.Loader.load_file
, which allows specifying of index while loading it (first
, second
, third
, last-2
, last-1
, last
or 1-based index).append
and clear
methods to weka.filters.MultiFilter
and weka.classifiers.MultipleClassifiersCombiner
to make adding of filters/classifiers easier.attribute_names()
method to weka.core.dataset.Instances
classsubset
method to weka.core.dataset.Instances
class, which returns a subset of columns and/or rows.Published by fracpete almost 5 years ago
list_property_names
to weka.core.classes
module to allow listing of Bean property namesGridSearch
and MultiSearch
) for a Java object.Published by fracpete almost 5 years ago
suggest_package
to the weka.core.packages
module for suggesting packages for partial class names/package names (NNge
or .ft.
) or exact class names (weka.classifiers.meta.StackingC
)JavaObject.new_instance
method now suggests packages (if possible) in case the instantiation fails due to package not installed or JVM not started with package supportPublished by fracpete almost 5 years ago
train_test_split
method of Instances
class now creates copy of itself before applying randomization to avoid order of data to change in subsequent callsPublished by fracpete almost 5 years ago
create_instances_from_matrices
from module weka.core.dataset
now works with pure numeric data againPublished by fracpete almost 5 years ago
pww-associator
, pww-attsel
, pww-classifier
, pww-clusterer
, pww-datagenerator
, pww-filter
serialize
, deserialize
methods to weka.classifiers.Classifier
to simplify loading/saving modelserialize
, deserialize
methods to weka.clusterers.Clusterer
to simplify loading/saving modelserialize
, deserialize
methods to weka.filters.Filter
to simplify loading/saving filterplot_rocs
and plot_prcs
to weka.plot.classifiers
module to plot ROC/PRC curve on same datasetplot_classifier_errors
of weka.plot.classifiers
module now allows plotting predictions of multiplecreate_instances_from_matrices
from module weka.core.dataset
now allows string and bytes as wellcreate_instances_from_lists
from module weka.core.dataset
now allows string and bytes as wellPublished by fracpete almost 6 years ago
AssociationRuleProducer
weka.associations
): AssociationRules
, AssociationRule
, item
to_source
method to weka.classifiers.Classifier
and weka.filters.Filter
Sourcable
interface)Published by fracpete almost 6 years ago
weka.core.jvm
to avoid global setting global loggingDEBUG
(thanks to https://github.com/Arnie97)Published by fracpete about 6 years ago
weka.jar
now included in PyPi packageweka.classifiers.Evaluation
:cumulative_margin_distribution
, sf_prior_entropy
, sf_scheme_entropy
Published by fracpete over 6 years ago
weka.core.ClassHelper
Java class for obtaining classes and static fields, asPublished by fracpete about 7 years ago
check_for_modified_class_attribute
method to FilterClassifier
classcomplete_classname
method to weka.core.classes
module, which allows completion of partial classnames like .J48
to weka.classifiers.trees.J48
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 definedmtl.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 (https://github.com/fracpete/python-weka-wrapper3/issues/5)Published by fracpete almost 8 years ago
typeconv.double_matrix_to_ndarray
no longer assumes a square matrixlen(Instances)
now returns the number of rows in the dataset (module weka.core.dataset
)insert_attribute
to the Instances
classcreate_relational
to the Attribute
classPublished by fracpete about 8 years ago
plot_learning_curve
method of module weka.plot.classifiers
now accepts a list of test sets;*
is index of test set in label template stringmissing_value()
methods to weka.core.dataset
module and Instance
classy
for convenience method create_instances_from_lists
in moduleweka.core.dataset
is now optionalcreate_instances_from_matrices
to weka.core.dataset
module to easily createInstances
object from numpy matrices (x and y)Published by fracpete over 8 years ago