SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
python.uq.sampler.asgc.ASGCSampler.ASGCSampler Class Reference
Inheritance diagram for python.uq.sampler.asgc.ASGCSampler.ASGCSampler:

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
 

Detailed Description

The ASGC sampler class

Constructor & Destructor Documentation

◆ __init__()

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__().

Member Function Documentation

◆ __str__()

◆ createMemento()

python.uq.sampler.asgc.ASGCSampler.ASGCSampler.createMemento (   self)

◆ fromJson()

python.uq.sampler.asgc.ASGCSampler.ASGCSampler.fromJson (   cls,
  jsonObject 
)

◆ getCollocationNodes()

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.

◆ getCurrentIterationNumber()

python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getCurrentIterationNumber (   self)

References python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__iteration, and python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__iteration.

◆ getGrid()

python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getGrid (   self)

◆ getSize()

python.uq.sampler.asgc.ASGCSampler.ASGCSampler.getSize (   self)

◆ hasMoreSamples()

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.

◆ nextSamples()

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.

◆ refineGrid()

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().

◆ setGrid()

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().

◆ setMemento()

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().

◆ toJson()

Member Data Documentation

◆ samples


The documentation for this class was generated from the following file: