Code covered by the BSD License  

Highlights from
mweka: Running Machine Learning Tool Weka from MATLAB

5.0

5.0 | 1 rating Rate this file 75 Downloads (last 30 days) File Size: 2.51 MB File ID: #24839
image thumbnail

mweka: Running Machine Learning Tool Weka from MATLAB

by

 

24 Jul 2009 (Updated )

Runs Machine Learning Tool Weka from MATLAB

| Watch this File

File Information
Description

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

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
21 Oct 2011 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!

21 Oct 2011 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!

05 Mar 2010 Rob Campbell

arffwrite does not have a usage example.

27 Jul 2009 Sebastien PARIS

Great initiative

Updates
22 Feb 2011

Update of title and summary

12 Sep 2012

Updated to include an App file for R2012b

Contact us