필터 지우기
필터 지우기

how to read arff file in matlab?

조회 수: 49 (최근 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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by