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

5 visualizzazioni (ultimi 30 giorni)
I have prepared a data set in excel. Now how I will implement this in random forest classifier??
  2 Commenti
aepound
aepound il 24 Set 2018
Modificato: aepound il 24 Set 2018
Look at these two functions and associated documentation:
and
Zara Khan
Zara Khan il 25 Set 2018
It will be helpful if you explain this with an example.

Accedi per commentare.

Risposte (1)

Bernhard Suhm
Bernhard Suhm il 3 Ott 2018
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