image thumbnail

Parallel Distributed Processing of Weka Algorithms in Matlab

version 1.1.0.0 (115 KB) by Jaspar Cahill
Run Weka algorithms in parallel across distributed computers to exploit available hardware.

600 Downloads

Updated 25 Oct 2011

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".

Cite As

Jaspar Cahill (2022). Parallel Distributed Processing of Weka Algorithms in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/33128-parallel-distributed-processing-of-weka-algorithms-in-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!