Using Weka in Matlab
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
Cite As
Sunghoon Lee (2025). Using Weka in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/50120-using-weka-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
matlab2weka/
Version | Published | Release Notes | |
---|---|---|---|
1.5 | Small duplicated lines of code have been removed. Minor changes!
|
|
|
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.
|
|
|
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 |
|