View source: R/emulation_sensitivity_analysis.R
This method runs an ensemble for all parameter value sets specified in a CSV file generated from spartan eFAST sampling techniques. The output is a set of CSV files that can then be analysed using the spartan analysis methods detailed in Technique 4.
1 2 3 4 |
filepath |
Path to the folder containing the set of CSV files for eFAST analysis |
surrogateModel |
Ensemble or emulator to use to emulate the simulation responses for those sets |
parameters |
Simulation parameter names |
measures |
Simulation output response names |
num_curves |
Number of resample curves used in eFAST sampling |
ensemble_set |
Boolean stating whether this analysis is being run using an ensemble of machine learning methods (TRUE), or a single emulator (FALSE) |
normalise |
Whether the parameters in the sampling CSV files need to be normalised before input to the emulator (which must take values between 0 and 1) |
timepoint |
Simulation timepoint being analysed, if more than one. See the vignette for analysing more than one timepoint |
csv_file_input |
Whether parameters to emulate are being supplied in a CSV file. Default is TRUE, with spartanDB this is false |
spartan_sample_obj |
Where spartanDB is used, or another application that supplied parameter values as an R object created by spartan's sampling method, the name of that R object |
write_csv_file_out |
Whether results for each curve should be output to a CSV file. SpartanDB instead requires an R object containing this data, which is returned |
normalise_result |
Whether the resultant predictions should be normalised |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.