Python-weka-wrapper3

Latest version: v0.2.14

Safety actively analyzes 613482 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.2.14

-------------------

- extracted arpack_combined.jar, core.jar and mtj.jar from weka.jar to make them available under Java 17

0.2.13

-------------------

- moved `Configurable` and `JSONObject` into *configurable-objects* library
- moved base flow components into *simple-data-flow* library
- added methods `subset_results`, `rank_results` to class `AttributeSelection`
(module: `weka.attribute_selection`) to give access to cross-validation
output in numeric rather textual form (NB: it has to parse the textual CV output).
- made the `plot_experiments` method (module `weka.plot.experiments`) more customizable

0.2.12

-------------------

- method `install_packages` (module: `weka.core.packages`) now no longer interprets
the installation message returned when installing from URL or local zip file as
failure to install; also outputs any installation message now in the console;
now has flags for `fail_fast` mode (first package that fails stops installation process)
and whether to return `details` (dict per package rather than just a bool for all packages)
- method `install_package` (module: `weka.core.packages`) can return either a
boolean flag of success or detailed information

0.2.11

-------------------

- methods `install_packages` and `install_missing_packages` of module `weka.core.packages` now
allow a list of package names instead of tuples (name, version), assuming `latest` as version
- method `get_jclass` in module `weka.core.classes` can handle primitive classes now as well
(eg `int` -> `java.lang.Integer.TYPE`)
- methods `get_non_public_field` and `call_non_public_method` in module `weka.core.classes`
allow accessing private/protected fields and calling private/protected methods of Java objects,
which avoids having to sub-class classes to get public access to them (NB: only works as long
as the security manager allows that)
- added `split_commandline` method to module `weka.core.classes`, which splits a command-line
into classname and option list tuple
- the `Instances` class (module: `weka.core.dataset`) now supports slicing
- added methods `plot_xmlbif_graph` and `xmlbif_to_dot` to module `weka.plot.graph` for plotting
XML BIF graphs generated by BayesNet using GraphViz
- added method `plot_graph` to module `weka.plot.graph` to plot dot or XML BIF graphs

0.2.10

-------------------

- added `logging_level` parameter to the `start` method of the `weka.core.jvm` module, enabling the user
to turn off debugging output in an easy way (https://github.com/fracpete/python-weka-wrapper3/issues/40)
- added method `cv_splits` to class `Instances` from module `weka.core.dataset` to return a list of
train/test tuples as used by cross-validation
- the `Tester` class (module: `weka.experiments`) now has an option to swap columns/rows for comparing
datasets rather than classifiers
- the `SimpleExperiment` class and derived classes (module: `weka.experiments`) now have the additional
parameters in the constructor: class_for_ir_statistics, attribute_id, pred_target_column
- the method `is_installed` (module: `weka.core.packages`) now can check whether a specific version is installed
- added `pww-packages` entry point to allow managing of Weka packges from the command-line
(actions: list/info/install/uninstall/suggest/is-installed)

0.2.9

------------------

- method `JavaObject.new_instance` in module `weka.core.classes` now automatically
installs packages based on suggestions if the JVM was started with the `auto_install`
flag enabled.
- method `test_model_once` of class `Evaluation` (module: `weka.classifiers`) now has the
additional parameter `store`, which allows the recording of the predictions (necessary
for statistics like AUC)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.