Skip main navigation

Invoking Python from Weka

Peter Reutemann demonstrates a Weka package that opens an editor in which you can write and execute Python scripts, and writes one for loading data.

Peter Reutemann introduces scripting, and then demonstrates a Weka package that opens an editor in which you can write and execute Python scripts. Finally he writes a script for loading and filtering data.

Note: Peter is using Python 2.7, which is now obsolete, but everything works the same with Python 3.

This article is from the free online

Advanced Data Mining with Weka

Created by
FutureLearn - Learning For Life