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

I have prepared a data set in excel. Now how I will implement this in random forest classifier??

2 Comments

Look at these two functions and associated documentation:
and
It will be helpful if you explain this with an example.

Sign in to comment.

Answers (1)

Something like this:
data = xlsread('filename');
mdl = fitcensemble(data,'class');

Asked:

on 24 Sep 2018

Answered:

on 3 Oct 2018

Community Treasure Hunt

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

Start Hunting!