Stepwisefit without the constant term

2 次查看(过去 30 天)
Maria445
Maria445 2019-4-16
评论: dpb 2019-5-2
Hi, does anyone know of a way to force the function stepwisefit to yield a model with NO intercept term?
I would like to remove it from my model, but don't know how
  3 个评论
Maria445
Maria445 2019-5-2
Thank you for the suggestion! I tried and (temporarily) modified the stepwisefit.m file (as the local copy didn't run). It seems to do the job!
dpb
dpb 2019-5-2
Yeah, it's often a mess to do that (local copies, that is) because they rely on private functions and the like that aren't publicly visible outside the particular directory...

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Gaussian Process Regression 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by