How can I use random forest classifier with an excel file?

조회 수: 5 (최근 30일)
Zara Khan
Zara Khan 2018년 9월 24일
답변: Bernhard Suhm 2018년 10월 3일
I have prepared a data set in excel. Now how I will implement this in random forest classifier??
  댓글 수: 2
aepound
aepound 2018년 9월 24일
편집: aepound 2018년 9월 24일
Look at these two functions and associated documentation:
and
Zara Khan
Zara Khan 2018년 9월 25일
It will be helpful if you explain this with an example.

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

답변 (1개)

Bernhard Suhm
Bernhard Suhm 2018년 10월 3일
Something like this:
data = xlsread('filename');
mdl = fitcensemble(data,'class');

Community Treasure Hunt

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

Start Hunting!

Translated by