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

9 次查看(过去 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');

类别

Help CenterFile Exchange 中查找有关 Classification Ensembles 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by