File Exchange

image thumbnail

Parallel Distributed Processing of Weka Algorithms in Matlab

version 1.1 (115 KB) by

Run Weka algorithms in parallel across distributed computers to exploit available hardware.

2 Downloads

Updated

View License

The code given shows how Weka algorithms can be run in parallel across distributed computers using Matlab to take advantage of available hardware and quicken algorithm completion time on multiple data sets or parameter sets.

Parallel processing of Weka algorithms is handled here in Matlab as support for parallel processing in Weka does not seem to be fully fledged as yet.

A timeout can be specified on algorithm/job processing time. This is useful if algorithms can be potentially long-running or non-terminating, or when there are a large number of experiments to ensure they finish within a reasonable amount of time.

Before the provided code can be executed:
* Define a parallel configuration in Matlab. See "Configuring Parallel Processing.txt".
* Assign the configuration name to variable "config" in runParallelWeka.m.
* Copy the Weka library weka.jar to the folder ParallelWeka. The jar file can be found in Weka's program directory.
* Copy the folder ParallelWeka to the same location on all worker machines.

Matlab must be installed on all machines hosting workers.

To run the code, add the path of the folder ParallelWeka to Matlab's paths on the local machine, and at the command line enter "runParallelWeka".

Comments and Ratings (0)

Updates

1.1

Products required updated.

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today