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
Kshitij Singh
PhD Expert
Answered Sep 4, 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);
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related MATLAB Machine Learning Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →