Using Weka in Matlab

An efficient interface to use Weka in MATLAB

Vous suivez désormais cette soumission

Weka is an open-source platform providing various machine learning algorithms for data mining tasks. Although Weka provides fantastic graphical user interfaces (GUI), sometimes I wished I had more flexibility in programming Weka. For instance, I often needed to perform the analysis based on leave-one-out-subject cross-validation, but it was quite difficult to do this on Weka GUI. I do most of my analyses on MATLAB, so I was searching for an interface between MATLAB and Weka. Fortunately, Weka was implemented in Java, and MATLAB had a wrapper that allows communicating with Java.
Here I introduce an efficient MATLAB to Weka interface, which was implemented based on the initial work of Matt Dunham.
This work is still in-progress and I have only included codes that I mainly use for my work. If you would like to collaborate to improve the code or if you find any bugs, please don't hesitate to reach me at "silee {at} partners {dot} org".
Also, please visit http://www.sunghoonivanlee.com/matlab2weka.html

Citation pour cette source

Sunghoon Lee (2026). Using Weka in Matlab (https://fr.mathworks.com/matlabcentral/fileexchange/50120-using-weka-in-matlab), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Matlab Weka Interface

A inspiré : Truss displacement based on FEM

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.5

Small duplicated lines of code have been removed. Minor changes!
1. Paths to WEKA has been updated to comply with Mac users. Thanks to Giovanni Mascia.
2. The "crossvalind" function, which requires the Bioinformatics toolbox, is replaced with idxCV = ceil(rand([1 N])*K)+1;. Thanks to Igor Varfolomeev

1.4.0.0

The input files for example codes have been added since some older versions of MATLAB don't have them built in.
The classifier & cost-sensitive classifier now produces "nominal outputs" rather than "numerical outputs". Thanks to Giovanni Mascia!

1.3.0.0

There was a small bug in wekaRegression.m and regression_example.m, which is "now" fixed.

1.2.0.0

There was a small bug in wekaRegression.m and regression_example.m, which is not fixed.

1.1.0.0

Correction: Bioinformatics Toolbox is not required!

1.0.0.0