Using Weka in Matlab

版本 1.5 (5.4 MB) 作者: Sunghoon Lee
An efficient interface to use Weka in MATLAB
5.2K 次下载
更新时间 2015/7/22

查看许可证

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

引用格式

Sunghoon Lee (2024). Using Weka in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/50120-using-weka-in-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
致谢

参考作品: Matlab Weka Interface

启发作品: Truss displacement based on FEM

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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