Description Usage Arguments Details See Also Examples
To test an emulator using the leave-one-out cross validation analysis, whereby each ensemble run is first excluded from an emulator, and the emulator is then used to predict at the parameter settings of the excluded run. The process is repeated for all runs within the ensemble. The function also makes a plot of emulator predictions vs. actual model output, and a plot of normalized prediction errors for each excluded run.
1 | test.all(final.emul, t.plot)
|
final.emul |
Standard emulator object, that can be generated, for example, by 'emulator' function |
t.plot |
Time index of the emulator to analyze |
For a perfect emulator, emulator predictions vs. actual model output will fall exactly on a 1:1 line. If a withheld run is at the corner of parameter space, prediction gives a warning. Such runs are omitted from the plot.
1 2 3 |
Predicting for run number: 1
...Prediction error. Likely because prediction parameters are out of bounds
NOTE: 1 prediction points were omitted
Predicting for run number: 2
Predicting for run number: 3
Predicting for run number: 4
Predicting for run number: 5
Predicting for run number: 6
Predicting for run number: 7
Predicting for run number: 8
Predicting for run number: 9
Predicting for run number: 10
Predicting for run number: 11
Predicting for run number: 12
Predicting for run number: 13
Predicting for run number: 14
Predicting for run number: 15
Predicting for run number: 16
Predicting for run number: 17
Predicting for run number: 18
Predicting for run number: 19
Predicting for run number: 20
Predicting for run number: 21
...Prediction error. Likely because prediction parameters are out of bounds
NOTE: 1 prediction points were omitted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.