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

6 次查看(过去 30 天)
I have prepared a data set in excel. Now how I will implement this in random forest classifier??

回答(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