Python-weka-wrapper3

Latest version: v0.2.16

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

Scan your dependencies

Page 1 of 6

0.2.16

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

- `setup.py` no longer lists python-javabridge with github URL, as it fails to
install via pip otherwise

0.2.15

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

- the methods `create_instances_from_lists` and `create_instances_from_matrices` of the
`weka.core.dataset` module can handle missing values now (`None` in case of lists,
`nan` in case of matrices), as well as being able to force columns to be nominal
- added the method `load_csv_file` to the module `weka.core.converters` to provide a more
reliable way of loading CSV files compared to Weka's native `CSVLoader` converter
(uses Python's csv module and then calls `create_instances_from_lists`).
- added `simple_range` library as dependency to make it easier to generate integer list from range strings
- added `weka.core.utils` module with following methods: correlation, variance, normalize
- updated requirements (and install instructions) to make pww3 work with Python 3.11+

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

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.