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

6 Ansichten (letzte 30 Tage)
Zara Khan
Zara Khan am 24 Sep. 2018
Beantwortet: Bernhard Suhm am 3 Okt. 2018
I have prepared a data set in excel. Now how I will implement this in random forest classifier??
  2 Kommentare
aepound
aepound am 24 Sep. 2018
Bearbeitet: aepound am 24 Sep. 2018
Look at these two functions and associated documentation:
and
Zara Khan
Zara Khan am 25 Sep. 2018
It will be helpful if you explain this with an example.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bernhard Suhm
Bernhard Suhm am 3 Okt. 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