Question
In MATLAB fitrgp (Gaussian Process Regression), the optimization plot shows sigma on the axis. Is this sigmaL (length scale) or sigmaF (signal standard deviation)?
Related Questions
Expert Answer
Kshitij Singh
PhD Expert
Answered Aug 8, 2026
In MATLAB fitrgp, the displayed hyperparameter values depend on the chosen kernel covariance function:
- Sigma (Noise Std Dev): Represents observation noise standard deviation σn.
- SigmaL (Length Scale): Vector of length N (number of predictors) representing the characteristic length scale per predictor feature.
- SigmaF (Signal Std Dev): Scalar factor representing overall process variance output σf.
Accessing Trained Hyperparameters:
gprMdl = fitrgp(X, y, 'KernelFunction', 'squaredexponential');
sigma_noise = gprMdl.Sigma;
kernel_params = gprMdl.KernelInformation.KernelParameters;
disp(kernel_params);
Have a different question? Ask here