MATLAB Answers

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

21 views (last 30 days)
Zara Khan
Zara Khan on 24 Sep 2018
Answered: Bernhard Suhm on 3 Oct 2018
I have prepared a data set in excel. Now how I will implement this in random forest classifier??

Answers (1)

Bernhard Suhm
Bernhard Suhm on 3 Oct 2018
Something like this:
data = xlsread('filename');
mdl = fitcensemble(data,'class');


Sign in to comment.