-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pww3 now uses jpype and works on ARM Macs
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.. title: python-weka-wrapper3 release using JPype | ||
.. slug: 2024-07-16-pww3-release-using-jpype | ||
.. date: 2024-07-16 11:40:00 UTC+12:00 | ||
.. tags: github | ||
.. author: FracPete | ||
.. description: | ||
.. category: code | ||
Some of you might have come across the python-weka-wrapper3 library, which makes Weka available from Python: | ||
|
||
`https://github.com/fracpete/python-weka-wrapper3 <https://github.com/fracpete/python-weka-wrapper3>`__ | ||
|
||
When the project started out, it relied on the javabridge library in order to communicate with Java Virtual Machine | ||
running the Weka process. Unfortunately, that project hasn't been maintained properly for a while now and it made | ||
installation difficult or even impossible for M1/M2 Mac (ARM) users. | ||
|
||
Over the last few weeks, I migrated the code base to using the `JPype library <https://github.com/jpype-project/jpype>`__ | ||
and updated the documentation accordingly. | ||
|
||
Since the code-based appeared stable (tests and examples worked), I made a new release on Friday last week: **0.3.0** | ||
|
||
There are several good news: **first**, the installation is much easier; **second**, ARM Mac users can use it | ||
now as well; **third**, there were pretty much no interface changes necessary, as all changes happened behind | ||
the scenes (only low-level access to Java objects changed). | ||
|
||
So, if you had problems in the past, you might want to give it a go again. |