Releases: fracpete/python-weka-wrapper3
Releases · fracpete/python-weka-wrapper3
Release v0.3.2
- improved logging output in command-line scripts (eg pww-classifier)
- added sub-command
freezeto thepww-packagescommand-line tool to output the currently installed packages in pip-like format (unofficial packages get URL appended) either to stdout or to text file (egrequirements.txt) - the sub-command
installof thepww-packagescommand-line tool can process a requirements text file now as well - added
pww_version()function toweka.core.versionto obtain the installed version of python-weka-wrapper3 - added
with_graph_support()function toweka.core.versionto see whether python-weka-wrapper3 has support for graphs using pygraphviz - added
with_plot_support()function toweka.core.versionto see whether python-weka-wrapper3 has plotting support via matplotlib - added sub-command
bootstrapto thepww-packagescommand-line tool to output a Python script that can reinstall python-weka-wrapper3 and all the packages in another virtual environment or even another machine - added
is_official_packagefunction toweka.core.packagesmodule to check whether a package is an official one from the Weka package repository or not
Release v0.3.1
- the
max_heap_sizeparameter of thestartmethod from theweka.core.jvmmodule now has an effect
Release v0.3.0
- added
is_additional_measure_producervariable,additional_measuresproperty andadditional_measure(str)method to theweka.classifiers.Classifierclass, giving convenient access to classes implementingweka.core.AdditionalMeasureProducer - replaced javabridge with jpype behind the scenes, simplifying native API calls
- removed property
JavaObject.jclasswrapper - property
JavaObject.jwrapperis now deprecated andJavaObject.jobjectshould be used instead - renamed
JavaArray.new_instancetoJavaArray.new_array - now works on M1/M2 Macs
- updated doc strings
- updated documentation, especially around installation
Release v0.2.16
setup.pyno longer lists python-javabridge with github URL, as it fails to install via pip otherwise
Release v0.2.15
- the methods
create_instances_from_listsandcreate_instances_from_matricesof theweka.core.datasetmodule can handle missing values now (Nonein case of lists,nanin case of matrices), as well as being able to force columns to be nominal - added the method
load_csv_fileto the moduleweka.core.convertersto provide a more reliable way of loading CSV files compared to Weka's nativeCSVLoaderconverter (uses Python's csv module and then callscreate_instances_from_lists). - added
simple_rangelibrary as dependency to make it easier to generate integer list from range strings - added
weka.core.utilsmodule with following methods: correlation, variance, normalize - updated requirements (and install instructions) to make pww3 work with Python 3.11+
Release v0.2.14
- extracted arpack_combined.jar, core.jar and mtj.jar from weka.jar to make them available under Java 17
Release v0.2.13
- moved
ConfigurableandJSONObjectinto configurable-objects library - moved base flow components into simple-data-flow library
- added methods
subset_results,rank_resultsto classAttributeSelection(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_experimentsmethod (moduleweka.plot.experiments) more customizable
Release v0.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 forfail_fastmode (first package that fails stops installation process) and whether to returndetails(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
Release v0.2.11
- methods
install_packagesandinstall_missing_packagesof moduleweka.core.packagesnow allow a list of package names instead of tuples (name, version), assuminglatestas version - method
get_jclassin moduleweka.core.classescan handle primitive classes now as well (egint->java.lang.Integer.TYPE) - methods
get_non_public_fieldandcall_non_public_methodin moduleweka.core.classesallow 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_commandlinemethod to moduleweka.core.classes, which splits a command-line into classname and option list tuple - the
Instancesclass (module:weka.core.dataset) now supports slicing - added methods
plot_xmlbif_graphandxmlbif_to_dotto moduleweka.plot.graphfor plotting XML BIF graphs generated by BayesNet using GraphViz - added method
plot_graphto moduleweka.plot.graphto plot dot or XML BIF graphs
Release v0.2.10
- added
logging_levelparameter to thestartmethod of theweka.core.jvmmodule, enabling the user to turn off debugging output in an easy way (#40) - added method
cv_splitsto classInstancesfrom moduleweka.core.datasetto return a list of train/test tuples as used by cross-validation - the
Testerclass (module:weka.experiments) now has an option to swap columns/rows for comparing datasets rather than classifiers - the
SimpleExperimentclass 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-packagesentry point to allow managing of Weka packges from the command-line (actions: list/info/install/uninstall/suggest/is-installed)