Since Weka 3.9.1 is finally out, I released new versions of the python-weka-wrapper library:
Changelog for both releases:
typeconv.double_matrix_to_no longer assumes a square matrixndarray len(Instances)now returns the number of rows in the dataset (moduleweka.core.dataset)- added method
insert_attributeto theInstancesclass - added class method
create_relationalto theAttributeclass - upgraded Weka to 3.9.1
Weka 3.9.1 introduced changes to its package management, so it is recommended to upgrade your packages to the latest version.