plotPartialDependence cannot be recognize

1 回表示 (過去 30 日間)
Elena Casiraghi
Elena Casiraghi 2020 年 2 月 28 日
コメント済み: Elena Casiraghi 2020 年 2 月 28 日
Dear,
when I try to use the function plotPartialDependence to see the dependance from 1 variable and the result of a bagge tree, MATLAB Does not recognize it.
I get the error:
plotPartialDependence(mdlRF,1)
Unrecognized function or variable 'plotPartialDependence'.
Why is that?

採用された回答

Steven Lord
Steven Lord 2020 年 2 月 28 日
What exactly is mdlRF? Is it a "full regression model object" or a "compact regression model object" as the documentation page states the first input must be? Did you use one of the functions in the "Returned By" column of the table in the section describing the Mdl input to create mdlRF?
plotPartialDependence is only defined for certain types of objects and I'm guessing you're passing in a different type.
  1 件のコメント
Elena Casiraghi
Elena Casiraghi 2020 年 2 月 28 日
YOU ARE RIGHT!!
I'm so dummy, I was pasying a classification model (I mispelled the c and the r).
Now it works :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by