File Exchange

image thumbnail

mweka: Running Machine Learning Tool Weka from MATLAB

version 1.2 (2.51 MB) by

Runs Machine Learning Tool Weka from MATLAB

40 Downloads

Updated

View License

This GUI runs the weka classifiers and displays the results in MATLAB.

MAIN FEATURES

1. Command line options for running weka
2. Demonstrate how to change classifier option using java class (similiar to GenericObjectEditor in weka)
3. Read and Write ARFF file to/from MATLAB
4. Able to select attributes from GUI to test with different input combinations
4. Show results graphically immediately
5. Easy to compare the results graphically for different runs
6. Bottom figures of the visualization panels show the dynamic zoom of the upper part

This tool demonstrates the following gui tricks among the others

1. How to write memo
2. How to use list box for displaying the results of different runs
3. How to code mouse movement

You can find many more other tricks in this program.

LIMITATIONS

1. Works only with numerical prediction
2. Test options - training and test set (i.e. no cross-validation option etc)
3. Designed to work with weka-3-2, however it is easy to update for the new versions

Comments and Ratings (4)

Omer Eilam

I tried using the arffRead function and got the following error:

>> arffRead('my_example.arff')
Subscripted assignment dimension mismatch.

Error in arffRead (line 138)
   data(i,:) = str2num(strData{i});

Does anybody know what seems to be the problem?

Thanks!

Omer Eilam

I tried using the example in the installation file and got the following error:

Cannot find an exact (case-sensitive) match for 'arffWrite'.
Do you want: arffwrite
(in C:\Program Files\MWEKA\arffwrite.m)?

Error in mweka>pushbutton_run_Callback (line 247)
arffWrite(trainFile,RelName,attNameExtracted,attTypeToUsed,extractedData);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in mweka (line 43)
    gui_mainfcn(gui_State, varargin{:});

Error in
@(hObject,eventdata)mweka('pushbutton_run_Callback',hObject,eventdata,guidata(hObject))

 
Error while evaluating uicontrol Callback

Does anybody know what seems to be the problem?

Thanks!

Rob Campbell

Rob Campbell (view profile)

arffwrite does not have a usage example.

Sebastien PARIS

Great initiative

Updates

1.2

Updated to include an App file for R2012b

1.1

Update of title and summary

MATLAB Release
MATLAB 8.0 (R2012b)
Tags Add Tags

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

» Watch video