![]() |
SG++-Doxygen-Documentation
|
Public Member Functions | |
__init__ (self, params, grid, refinementManager=None, stopPolicy=None) | |
__str__ (self) | |
createMemento (self) | |
fromJson (cls, jsonObject) | |
getCollocationNodes (self) | |
getCurrentIterationNumber (self) | |
getGrid (self) | |
getSize (self) | |
hasMoreSamples (self) | |
nextSamples (self, knowledge=None, qoi="_", refinets=[0]) | |
refineGrid (self, knowledge, qoi="_", refinets=[0]) | |
setGrid (self, grid) | |
setMemento (self, memento) | |
toJson (self) | |
Public Attributes | |
samples | |
The ASGC sampler class
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__init__ | ( | self, | |
params, | |||
grid, | |||
refinementManager = None , |
|||
stopPolicy = None |
|||
) |
References python.controller.InfoToScreenRegressor.InfoToScreenRegressor.__class__, python.uq.estimators.AnalyticEstimationStrategy.AnalyticEstimationStrategy.__class__, python.uq.estimators.MarginalAnalyticEstimationStrategy.MarginalAnalyticEstimationStrategy.__class__, python.uq.estimators.MarginalIntegralStrategy.MarginalIntegralStrategy.__class__, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerBuilder.__class__, python.uq.learner.Regressor.Regressor.__class__, python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.__class__, python.uq.quadrature.bilinearform.DiscreteBilinearScipyQuadratureStrategy.DiscreteBilinearScipyQuadratureStrategy.__class__, python.uq.quadrature.bilinearform.PiecewiseConstantQuadratureStrategy.PiecewiseConstantQuadratureStrategy.__class__, python.uq.quadrature.bilinearform.SparseGridQuadratureStrategy.SparseGridQuadratureStrategy.__class__, python.uq.quadrature.bilinearform.UniformQuadratureStrategy.UniformQuadratureStrategy.__class__, python.uq.refinement.RefinementStrategy.AnchoredWeightedL2OptRanking.__class__, python.uq.refinement.RefinementStrategy.WeightedL2OptRanking.__class__, python.uq.refinement.RefinementStrategy.AnchoredExpectationValueOptRanking.__class__, python.uq.refinement.RefinementStrategy.ExpectationValueOptRanking.__class__, python.uq.refinement.RefinementStrategy.VarianceOptRanking.__class__, python.uq.refinement.RefinementStrategy.AnchoredVarianceOptRanking.__class__, python.uq.refinement.RefinementStrategy.MeanSquaredOptRanking.__class__, python.uq.refinement.RefinementStrategy.AnchoredMeanSquaredOptRanking.__class__, python.uq.refinement.RefinementStrategy.SquaredSurplusBFRanking.__class__, python.uq.refinement.RefinementStrategy.WeightedL2BFRanking.__class__, python.uq.refinement.RefinementStrategy.VarianceBFRanking.__class__, python.uq.refinement.RefinementStrategy.ExpectationValueBFRanking.__class__, python.uq.refinement.RefinementStrategy.LinearSurplusEstimationRanking.__class__, python.uq.refinement.RefinementStrategy.PredictiveRanking.__class__, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__class__, python.uq.sampler.MCSampler.MCSampler.__class__, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__init__(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__params, python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__params, python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.__params, python.uq.analysis.mc.MCAnalysis.MCAnalysis.__params, python.uq.estimators.SparseGridEstimator.SparseGridEstimator.__params, python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.__params, python.uq.manager.ASGCUQManager.ASGCUQManager.__params, python.uq.parameters.ParameterSet.ParameterSet.__params, python.uq.parameters.ParameterSet.ParameterSetIterator.__params, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__params, python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.__params, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__refinementManager, python.uq.analysis.mc.MCAnalysis.MCAnalysis.__samples, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__samples, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__stopPolicy, python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.__stopPolicy, python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__verbose, and python.uq.uq_setting.UQBuilder.UQBuilder.__verbose.
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__init__().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__str__ | ( | self | ) |
References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.toJson(), python.uq.dists.Beta.Beta.toJson(), python.uq.dists.Corr.Corr.toJson(), python.uq.dists.CorrBeta.CorrBeta.toJson(), python.uq.dists.DataDist.DataDist.toJson(), python.uq.dists.J.J.toJson(), python.uq.dists.KDEDist.KDEDist.toJson(), python.uq.dists.Lognormal.Lognormal.toJson(), python.uq.dists.MultivariateNormal.MultivariateNormal.toJson(), python.uq.dists.NatafDist.NatafDist.toJson(), python.uq.dists.Normal.Normal.toJson(), python.uq.dists.SGDEdist.SGDEdist.toJson(), python.uq.dists.TLognormal.TLognormal.toJson(), python.uq.dists.TNormal.TNormal.toJson(), python.uq.dists.Uniform.Uniform.toJson(), python.uq.estimators.SparseGridEstimationStrategy.SparseGridEstimationStrategy.toJson(), python.uq.parameters.Parameter.Parameter.toJson(), python.uq.parameters.ParameterSet.ParameterSet.toJson(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.toJson(), python.uq.sampler.Sample.Sample.toJson(), python.uq.transformation.JointTransformation.JointTransformation.toJson(), python.uq.transformation.LinearTransformation.LinearTransformation.toJson(), python.uq.transformation.RosenblattTransformation.RosenblattTransformation.toJson(), and python.uq.uq_setting.UQSetting.UQSetting.toJson().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.createMemento | ( | self | ) |
Creates a new memento to hold the current state
References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.toJson(), python.uq.dists.Beta.Beta.toJson(), python.uq.dists.Corr.Corr.toJson(), python.uq.dists.CorrBeta.CorrBeta.toJson(), python.uq.dists.DataDist.DataDist.toJson(), python.uq.dists.J.J.toJson(), python.uq.dists.KDEDist.KDEDist.toJson(), python.uq.dists.Lognormal.Lognormal.toJson(), python.uq.dists.MultivariateNormal.MultivariateNormal.toJson(), python.uq.dists.NatafDist.NatafDist.toJson(), python.uq.dists.Normal.Normal.toJson(), python.uq.dists.SGDEdist.SGDEdist.toJson(), python.uq.dists.TLognormal.TLognormal.toJson(), python.uq.dists.TNormal.TNormal.toJson(), python.uq.dists.Uniform.Uniform.toJson(), python.uq.estimators.SparseGridEstimationStrategy.SparseGridEstimationStrategy.toJson(), python.uq.parameters.Parameter.Parameter.toJson(), python.uq.parameters.ParameterSet.ParameterSet.toJson(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.toJson(), python.uq.sampler.Sample.Sample.toJson(), python.uq.transformation.JointTransformation.JointTransformation.toJson(), python.uq.transformation.LinearTransformation.LinearTransformation.toJson(), python.uq.transformation.RosenblattTransformation.RosenblattTransformation.toJson(), and python.uq.uq_setting.UQSetting.UQSetting.toJson().
Referenced by python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.writeToFile(), and python.uq.uq_setting.UQSetting.UQSetting.writeToFile().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.fromJson | ( | cls, | |
jsonObject | |||
) |
Restores the ASGCSampler object from the json object with its attributes. @param jsonObject: json object @return: the restored ASGCSampler object
Referenced by python.learner.Learner.Learner.setMemento(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.setMemento(), python.uq.learner.Learner.Learner.setMemento(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getCollocationNodes | ( | self | ) |
Create a set of all collocation nodes
References python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid.
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getCurrentIterationNumber | ( | self | ) |
References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration.
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getGrid | ( | self | ) |
References python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid.
Referenced by python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.getSparseGridFunction(), python.uq.learner.SimulationLearner.SimulationLearner.learnData(), python.uq.learner.SimulationLearner.SimulationLearner.learnDataWithFolding(), python.uq.learner.SimulationLearner.SimulationLearner.learnDataWithTest(), and python.uq.learner.SimulationLearner.SimulationLearner.refineGrid().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getSize | ( | self | ) |
References python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getSize().
Referenced by python.uq.uq_setting.UQSetting.UQSetting.convert(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getSize(), python.uq.uq_setting.UQSetting.UQSetting.getTimeDependentResults(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.refineGrid(), python.uq.uq_setting.UQSetting.UQSetting.runSamples(), and python.uq.uq_setting.UQSetting.UQSetting.runSamples_withoutDistribution().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.hasMoreSamples | ( | self | ) |
References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__stopPolicy, and python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.__stopPolicy.
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.nextSamples | ( | self, | |
knowledge = None , |
|||
qoi = "_" , |
|||
refinets = [0] |
|||
) |
Generate the next samples with respect to the current knowledge @return: Samples, set of new samples
References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__params, python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__params, python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.__params, python.uq.analysis.mc.MCAnalysis.MCAnalysis.__params, python.uq.estimators.SparseGridEstimator.SparseGridEstimator.__params, python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.__params, python.uq.manager.ASGCUQManager.ASGCUQManager.__params, python.uq.parameters.ParameterSet.ParameterSet.__params, python.uq.parameters.ParameterSet.ParameterSetIterator.__params, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__params, and python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.__params.
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.refineGrid | ( | self, | |
knowledge, | |||
qoi = "_" , |
|||
refinets = [0] |
|||
) |
References python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid, python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__params, python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__params, python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.__params, python.uq.analysis.mc.MCAnalysis.MCAnalysis.__params, python.uq.estimators.SparseGridEstimator.SparseGridEstimator.__params, python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.__params, python.uq.manager.ASGCUQManager.ASGCUQManager.__params, python.uq.parameters.ParameterSet.ParameterSet.__params, python.uq.parameters.ParameterSet.ParameterSetIterator.__params, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__params, python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.__params, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__refinementManager, python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__verbose, python.uq.uq_setting.UQBuilder.UQBuilder.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getSize(), and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.refineGrid().
Referenced by python.learner.Learner.Learner.learnData(), python.learner.Learner.Learner.learnDataWithTest(), and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.refineGrid().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setGrid | ( | self, | |
grid | |||
) |
References python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__grid, python.uq.learner.builder.GridDescriptor.GridDescriptor.__grid, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__grid.
Referenced by python.controller.CheckpointController.CheckpointController.setLearner().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento | ( | self, | |
memento | |||
) |
Restores the state which is saved in the given memento @param memento: the memento object
References python.data.DataContainer.DataContainer.fromJson(), python.learner.solver.CGSolver.CGSolver.fromJson(), python.learner.TrainingSpecification.TrainingSpecification.fromJson(), python.learner.TrainingStopPolicy.TrainingStopPolicy.fromJson(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.fromJson(), python.uq.dists.Beta.Beta.fromJson(), python.uq.dists.Corr.Corr.fromJson(), python.uq.dists.CorrBeta.CorrBeta.fromJson(), python.uq.dists.DataDist.DataDist.fromJson(), python.uq.dists.Dist.Dist.fromJson(), python.uq.dists.J.J.fromJson(), python.uq.dists.KDEDist.KDEDist.fromJson(), python.uq.dists.Lognormal.Lognormal.fromJson(), python.uq.dists.MultivariateNormal.MultivariateNormal.fromJson(), python.uq.dists.NatafDist.NatafDist.fromJson(), python.uq.dists.Normal.Normal.fromJson(), python.uq.dists.SGDEdist.SGDEdist.fromJson(), python.uq.dists.TLognormal.TLognormal.fromJson(), python.uq.dists.TNormal.TNormal.fromJson(), python.uq.dists.Uniform.Uniform.fromJson(), python.uq.estimators.SparseGridEstimationStrategy.SparseGridEstimationStrategy.fromJson(), python.uq.parameters.Parameter.Parameter.fromJson(), python.uq.parameters.ParameterSet.ParameterSet.fromJson(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.fromJson(), python.uq.sampler.asgc.ASGCSamplerStopPolicy.ASGCSamplerStopPolicy.fromJson(), python.uq.sampler.Sample.Sample.fromJson(), python.uq.transformation.JointTransformation.JointTransformation.fromJson(), python.uq.transformation.LinearTransformation.LinearTransformation.fromJson(), python.uq.transformation.RosenblattTransformation.RosenblattTransformation.fromJson(), python.uq.transformation.Transformation.Transformation.fromJson(), python.uq.uq_setting.UQSetting.UQSetting.fromJson(), python.learner.Learner.Learner.fromJson(), and python.uq.learner.Learner.Learner.fromJson().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.toJson | ( | self | ) |
@return: string that represents the object
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__str__(), python.uq.uq_setting.UQSetting.UQSetting.__str__(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.createMemento(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.createMemento(), and python.uq.uq_setting.UQSetting.UQSetting.createMemento().
python.uq.sampler.asgc.ASGCSampler.ASGCSampler.samples |
Referenced by python.uq.sampler.Sample.SamplesIterator.__next__(), python.uq.dists.DataDist.DataDist.cdf(), python.uq.dists.DataDist.DataDist.mean(), python.uq.dists.DataDist.DataDist.rvs(), python.uq.dists.LibAGFDist.LibAGFDist.rvs(), python.uq.dists.DataDist.DataDist.toJson(), and python.uq.dists.DataDist.DataDist.var().