how to read arff file in matlab?

34 ビュー (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013 年 12 月 23 日
コメント済み: sambhav jain 2020 年 2 月 20 日
how to read arff file in matlab? I use 2008b version

回答 (2 件)

Rock Rocky
Rock Rocky 2019 年 1 月 7 日
there are a few MATLAB interfaces for WEKA files on MATLAB File Exchange, I normally use this one: http://www.mathworks.com/matlabcentral/fileexchange/21204-matlab-weka-interface where you have a saveARFF() and a loadARFF() functions.
You can simply unzip the the exchange files into your working directory you can use loadARFF in this way: data = loadARFF('yourfile.arf')

Rock Rocky
Rock Rocky 2019 年 1 月 7 日
You can use this code as well
DATA = importdata('Yourfilename.arff');
  1 件のコメント
sambhav jain
sambhav jain 2020 年 2 月 20 日
imortdata doesn't work correctly sometimes for example try converting the given arff file to mat file , it converts it into a cell instead of a struct .
anyway i am stuck on how to convert this dataset to mat format.

サインインしてコメントする。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by