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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now