← LearnStart the unit
Unit 3
Fitting and testing
This unit covers the core of any fitted surrogate, before any neural network: fitting a function to runs, testing it on held-out runs and measuring its error. Two classical surrogates follow, the Gaussian process and POD, which later units keep as baselines. It assumes the arrays and held-out designs of Unit 2.
Outcome: Fit a scalar surrogate and a POD field baseline, and test them on held-out runs.
- 3.1Fitting a response surfaceA surrogate is a function with parameters, chosen so its predictions match the data.
- 3.2Train, validation and testA model is judged on unseen designs only; the split is by design, never by point.
- 3.3Measuring errorRMSE, relative L2, R² and max error: which number to report, and what each one hides.
- 3.4Gaussian processesA smooth fit that also estimates how unsure it is, usually more so away from the data.
- 3.5Compressing fields: PODA field is often a few dominant shapes plus small corrections: predict the shapes’ weights instead of every value.
Build: Fit polynomials of degree 1, 2, 3 and 5 and a Gaussian process to the aircraft’s CL against α and sweep, score them on the 12 test runs inside and outside the box, and choose the number of POD modes for its pressure field.
Read: Design and Analysis of Computer Experiments ↗, A Visual Exploration of Gaussian Processes ↗