SG++-Doxygen-Documentation
|
Public Member Functions | |
def | __init__ (self, uqsetting) |
def | do_sampleList (self, sampleList, tagList, starti=0) |
def | getResults (self) |
def | getTags (self) |
def | loadResults (self) |
def | run_distinct_paths (self, npaths, samples_per_path) |
def | run_sampleList (self, sampleList, tagList, kwargs) |
def | run_sensitivity (self, samples, maxDeg=1, samplingType='double') |
def | sample (self, unitcubevalue, gen) |
def | setExpectedSampleCount (self, n) |
def | setSampleGenerator (self, generator=pysgpp.NaiveSampleGenerator) |
def | waitForResults (self) |
Public Attributes | |
children | |
expectedsamplecount | |
files | |
gen | |
parallelprocesses | |
params | |
results | |
uqsetting | |
Interface to access the results stored in the UQSetting package
def python.uq.uq_setting.UQSettingManager.UQSettingManager.__init__ | ( | self, | |
uqsetting | |||
) |
def python.uq.uq_setting.UQSettingManager.UQSettingManager.do_sampleList | ( | self, | |
sampleList, | |||
tagList, | |||
starti = 0 |
|||
) |
References python.uq.uq_setting.UQSettingManager.UQSettingManager.gen, python.uq.uq_setting.UQSettingManager.UQSettingManager.sample(), python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting, and sgpp::combigrid.writeToFile().
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.getResults | ( | self | ) |
Return a SamplingResult with all the results.
References sgpp::combigrid::InternalTreeStorageNode< T >.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.children, python.uq.uq_setting.UQSetting.UQSetting.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.loadResults(), python.uq.uq_setting.UQSetting.UQSetting.loadResults(), python.uq.uq_setting.UQSettingManager.UQSettingManager.results, python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults(), and python.uq.uq_setting.UQSetting.UQSetting.waitForResults().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.getTags | ( | self | ) |
Find or create the tag list.
References python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting.
def python.uq.uq_setting.UQSettingManager.UQSettingManager.loadResults | ( | self | ) |
Load Results from files, if necessary, and create a Samplingresult.
References sgpp::combigrid::InternalTreeStorageNode< T >.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.children, python.uq.uq_setting.UQSetting.UQSetting.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.files, python.uq.uq_setting.UQSetting.UQSetting.files, python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults(), and python.uq.uq_setting.UQSetting.UQSetting.waitForResults().
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.getResults().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.run_distinct_paths | ( | self, | |
npaths, | |||
samples_per_path | |||
) |
References python.uq.uq_setting.UQSettingManager.UQSettingManager.gen, python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), python.uq.uq_setting.UQSettingManager.UQSettingManager.setExpectedSampleCount(), python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults(), and python.uq.uq_setting.UQSetting.UQSetting.waitForResults().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList | ( | self, | |
sampleList, | |||
tagList, | |||
kwargs | |||
) |
Performs run() for the given unit cube samples and tags them with the given tags. Parallelizes automatically, so use this if possible. Sampling will take place in the background, use waitForResults() at the end.
References python.uq.uq_setting.UQSettingManager.UQSettingManager.__filesuffix, python.uq.uq_setting.UQSetting.UQSetting.__filesuffix, python.uq.uq_setting.UQSettingManager.UQSettingManager.__next(), sgpp::combigrid::InternalTreeStorageNode< T >.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.children, python.uq.uq_setting.UQSetting.UQSetting.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.do_sampleList(), python.uq.uq_setting.UQSettingManager.UQSettingManager.expectedsamplecount, python.uq.uq_setting.UQSetting.UQSetting.expectedsamplecount, python.uq.uq_setting.UQSettingManager.UQSettingManager.files, python.uq.uq_setting.UQSetting.UQSetting.files, python.uq.uq_setting.UQSettingManager.UQSettingManager.parallelprocesses, python.uq.uq_setting.UQSetting.UQSetting.parallelprocesses, python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting.
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.run_distinct_paths(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sensitivity().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sensitivity | ( | self, | |
samples, | |||
maxDeg = 1 , |
|||
samplingType = 'double' |
|||
) |
References python.uq.uq_setting.UQSettingManager.UQSettingManager.__mixMatrices(), python.uq.uq_setting.UQSettingManager.UQSettingManager.gen, python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), python.uq.uq_setting.UQSettingManager.UQSettingManager.setExpectedSampleCount(), python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults(), and python.uq.uq_setting.UQSetting.UQSetting.waitForResults().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.sample | ( | self, | |
unitcubevalue, | |||
gen | |||
) |
run uqsetting.run() and save the result @param unitcubevalue:the unit hyper cube sample to use @return: the sample like uqsetting.run()
References python.classifier.run(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting.
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.do_sampleList().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.setExpectedSampleCount | ( | self, | |
n | |||
) |
References python.uq.uq_setting.UQSettingManager.UQSettingManager.expectedsamplecount, and python.uq.uq_setting.UQSetting.UQSetting.expectedsamplecount.
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.run_distinct_paths(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sensitivity().
def python.uq.uq_setting.UQSettingManager.UQSettingManager.setSampleGenerator | ( | self, | |
generator = pysgpp.NaiveSampleGenerator |
|||
) |
def python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults | ( | self | ) |
Wait for all forked workers to finish working. Then load all result files into one SamplingResult.
References sgpp::combigrid::InternalTreeStorageNode< T >.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.children, python.uq.uq_setting.UQSetting.UQSetting.children, python.uq.uq_setting.UQSettingManager.UQSettingManager.files, python.uq.uq_setting.UQSetting.UQSetting.files, python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting, and sgpp::combigrid.writeToFile().
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.getResults(), python.uq.uq_setting.UQSettingManager.UQSettingManager.loadResults(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_distinct_paths(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sensitivity().
python.uq.uq_setting.UQSettingManager.UQSettingManager.children |
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.getResults(), python.uq.uq_setting.UQSettingManager.UQSettingManager.loadResults(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults().
python.uq.uq_setting.UQSettingManager.UQSettingManager.expectedsamplecount |
python.uq.uq_setting.UQSettingManager.UQSettingManager.files |
python.uq.uq_setting.UQSettingManager.UQSettingManager.gen |
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.do_sampleList(), python.uq.uq_setting.UQSettingManager.Sampler.reset(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_distinct_paths(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sensitivity(), and python.uq.uq_setting.UQSettingManager.Sampler.unitSample().
python.uq.uq_setting.UQSettingManager.UQSettingManager.parallelprocesses |
python.uq.uq_setting.UQSettingManager.UQSettingManager.params |
Referenced by python.uq.uq_setting.UQSettingManager.Sampler.transform().
python.uq.uq_setting.UQSettingManager.UQSettingManager.results |
python.uq.uq_setting.UQSettingManager.UQSettingManager.uqsetting |
Referenced by python.uq.uq_setting.UQSettingManager.UQSettingManager.do_sampleList(), python.uq.uq_setting.UQSettingManager.UQSettingManager.getTags(), python.uq.uq_setting.UQSettingManager.UQSettingManager.run_sampleList(), python.uq.uq_setting.UQSettingManager.UQSettingManager.sample(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.waitForResults().