Can't create Partial Dependence Plot

조회 수: 2 (최근 30일)
James McBrearty
James McBrearty 2022년 5월 13일
댓글: nick 2023년 11월 7일
Hi,
I am currently working in have 2022a, and I have an App that creates Regression/Classification Models. I am trying to show how the target depends on some generated features, so I want to plot some Partial Dependence graphs, however, I am unable to do this. The Model I have is a RegressionLinear model and looks like this:
If I try and use the command line to run a Partial Dependence Plot, it doesn't obtain any features:
If I try and call this the way that the documentation describes (plotPartialDependence(Mdl,1)), I get this:
Is there anything that I'm doing wrong, it does say that RegressionLinear is allowed for PartialDependence plots, so I'm confused.
Thanks,
James
  댓글 수: 1
nick
nick 2023년 11월 7일
Hi James,
I tried using the 'plotPartialDependence' function at my end on Linear Regression model and it works fine. Kindly share the code files to ensure reproducibility of the error at my end.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by