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

7 visualizaciones (últimos 30 días)
Zara Khan
Zara Khan el 24 de Sept. de 2018
Respondida: Bernhard Suhm el 3 de Oct. de 2018
I have prepared a data set in excel. Now how I will implement this in random forest classifier??
  2 comentarios
aepound
aepound el 24 de Sept. de 2018
Editada: aepound el 24 de Sept. de 2018
Look at these two functions and associated documentation:
and
Zara Khan
Zara Khan el 25 de Sept. de 2018
It will be helpful if you explain this with an example.

Iniciar sesión para comentar.

Respuestas (1)

Bernhard Suhm
Bernhard Suhm el 3 de Oct. de 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