- 'constant': This option uses a constant basis function, which essentially means that the GPR model only considers a constant mean value for the predictions. In other words, the GPR model assumes that the mean of the target variable is constant across all input points. Use this option when you have reason to believe that the target variable does not depend on the input features, and you want a simple, constant prediction.
- 'linear': This option uses linear basis functions. Linear basis functions allow the GPR model to capture linear relationships between the input features and the target variable. Use this option when you suspect that the relationship between the input features and the target variable is approximately linear.
- 'pureQuadratic': This option uses pure quadratic basis functions. Pure quadratic basis functions allow the GPR model to capture quadratic relationships between the input features and the target variable. Use this option when you suspect that the relationship between the input features and the target variable is quadratic in nature.
BasisFunction Argument in fitrgp function for fitting Gaussian process regression model in matlab
14 views (last 30 days)
Show older comments
Hi everyone,
Does someone know that, What is the meaning of BasisFunction Argument in fitrgp function for fitting Gaussian process regression model in matlab? And in which cases should I use constant linear or pureQuadratic?
Thanks a lot
0 Comments
Answers (1)
Atharva
on 4 Sep 2023
Hey Shiqun,
In MATLAB's fitrgp function for fitting a Gaussian process regression (GPR) model, the BasisFunction argument specifies the type of basis functions used to model the relationship between the input features and the target variable. Basis functions are mathematical functions that transform the input features to a different space, which can help capture complex relationships in the data.
The BasisFunction argument in fitrgp can take one of the following values:
I hope this helps!
1 Comment
Mahmoud ELKAFAFY
on 1 Mar 2024
Hello, But, what does it mean if I set up the basis function to the option 'none'?
See Also
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!