Understanding fitrgp Output: Difference Between Sigma, SigmaL, and SigmaF in MATLAB?

S
support · Jul 23, 2026 · 0 views
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)?
Expert Answer
Profile picture of Kshitij Singh
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

Get a Free Consultation or a Sample Assignment Review!