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

5 ビュー (過去 30 日間)
Zara Khan
Zara Khan 2018 年 9 月 24 日
回答済み: Bernhard Suhm 2018 年 10 月 3 日
I have prepared a data set in excel. Now how I will implement this in random forest classifier??
  2 件のコメント
aepound
aepound 2018 年 9 月 24 日
編集済み: aepound 2018 年 9 月 24 日
Look at these two functions and associated documentation:
and
Zara Khan
Zara Khan 2018 年 9 月 25 日
It will be helpful if you explain this with an example.

サインインしてコメントする。

回答 (1 件)

Bernhard Suhm
Bernhard Suhm 2018 年 10 月 3 日
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