Invoking the Knowledge Workflow from python-weka-wrapper

7 views
Skip to first unread message

Juan José Expósito González

unread,
Oct 12, 2024, 5:16:58 AM10/12/24
to python-weka-wrapper
Good morning,

Is it possible to run .kf files from python?

Thanks and kindest regards,

JJ

Peter Reutemann

unread,
Oct 12, 2024, 5:30:00 AM10/12/24
to python-we...@googlegroups.com
Special Python wrappers are not available for the KnowledgeFlow.

However, you can use the underlying jpype library to instantiate Java classes and execute them (basically what pww3 does).

https://jpype.readthedocs.io/en/latest/

Cheers, Peter
--
My Open Source Blog - http://open.fracpete.org

12/10/2024 11:17:00 Juan José Expósito González <jjeg...@gmail.com>:

--
You received this message because you are subscribed to the Google Groups "python-weka-wrapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-weka-wra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-weka-wrapper/6e5bafb3-a943-4329-bd07-6e04357f2e7an%40googlegroups.com.

Juanjo

unread,
Oct 14, 2024, 1:02:39 AM10/14/24
to python-we...@googlegroups.com
Thnaks Peter,

I will have a look at it. I would like to understand that even the python-weka-wrapper functionality can be performed via this library.

Cheers

JJ

Peter Reutemann

unread,
Oct 14, 2024, 3:51:30 AM10/14/24
to python-we...@googlegroups.com
jpype is the bridge between Java and Python and the python-weka-wrapper3 library hides the necessary code to access and use the Weka API, making it easier overall.

Cheers, Peter
--
My Open Source Blog - http://open.fracpete.org

14/10/2024 07:02:39 Juanjo <jjeg...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages