fitrensemble function does not exist

I want to compile example of "Select Predictors for Random Forests" on Ensemble Methods page of MATLAB and I have the following error: "Undefined function or variable 'fitrensemble'" Do I need a specific licence for having access to this?

 采纳的回答

the cyclist
the cyclist 2017-3-14
编辑:the cyclist 2017-3-14
Typing "ver" at the command line will tell you what toolboxes you have installed.

1 个评论

Thanks, I just found out that "fitrensemble" only exist in 2016b or later version. So, I updated my MATLAB and it works.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by