SG++
python.uq.learner.SimulationLearner.SimulationLearner Class Reference
Inheritance diagram for python.uq.learner.SimulationLearner.SimulationLearner:

Public Member Functions

def __getattr__ (self, attr)
 
def __init__ (self)
 
def addLearner (self, learner, t)
 
def getCollocationNodes (self)
 
def getGrid (self)
 
def getKnowledge (self)
 
def getL2NormError (self)
 
def getLearner (self, t=0)
 
def getMaxError (self)
 
def getMinError (self)
 
def getSpecification (self)
 
def learnData (self, args, kws)
 
def learnDataWithFolding (self, args, kws)
 
def learnDataWithTest (self, dataset=None, args, kws)
 
def refineGrid (self)
 
def setDataContainer (self, trainUQSetting, testUQSetting=None)
 
def setSpecification (self, specification)
 
def updateResults (self, knowledge, dtype)
 

Public Attributes

 dataContainer
 
 knowledge
 
 level
 
 numberPoints
 
 specification
 
 testAccuracy
 
 testCount
 
 testingOverall
 
 trainAccuracy
 
 trainCount
 
 trainingOverall
 

Constructor & Destructor Documentation

def python.uq.learner.SimulationLearner.SimulationLearner.__init__ (   self)

Member Function Documentation

def python.uq.learner.SimulationLearner.SimulationLearner.__getattr__ (   self,
  attr 
)
Overrides built-in method if method called is not a object
method of this Descriptor, most probably it's a method of
the learner so it tries to call the method
from our specification
@param attr: string method name
@return: method call in specification

References python.uq.learner.SimulationLearner.SimulationLearner.specification, python.uq.learner.Learner.Learner.specification, and python.learner.Learner.Learner.specification.

def python.uq.learner.SimulationLearner.SimulationLearner.addLearner (   self,
  learner,
  t 
)

References python.uq.learner.SimulationLearner.SimulationLearner._learners.

def python.uq.learner.SimulationLearner.SimulationLearner.getCollocationNodes (   self)
Create a set of all collocation nodes
def python.uq.learner.SimulationLearner.SimulationLearner.getGrid (   self)

References python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, sgpp::base::OperationMultipleEval.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::OperationDensityMarginalizeLinear.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensityConditionalLinear.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, sgpp::datadriven::OperationDensityMargTo1DLinear.grid, python.uq.learner.Learner.Learner.grid, python.learner.Learner.Learner.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::base::OperationQuadratureMC.grid, python.controller.CheckpointController.CheckpointController.grid, sgpp::optimization::InterpolantScalarFunctionGradient.grid, sgpp::optimization::InterpolantScalarFunctionHessian.grid, sgpp::optimization::InterpolantVectorFunctionGradient.grid, sgpp::optimization::InterpolantScalarFunction.grid, sgpp::optimization::InterpolantVectorFunction.grid, sgpp::optimization::InterpolantVectorFunctionHessian.grid, sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid.grid, sgpp::quadrature::OperationQuadratureMCAdvanced.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::datadriven::ModelFittingBase.grid, sgpp::optimization::HierarchisationSLE.grid, sgpp::datadriven::DBMatOffline.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::LearnerSGDE.grid, and python.tools.Matrix.grid.

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

def python.uq.learner.SimulationLearner.SimulationLearner.getL2NormError (   self)
calculate L2-norm of error for all learners
@return: numpy array of L2 norm errors

References python.uq.learner.SimulationLearner.SimulationLearner._learners.

def python.uq.learner.SimulationLearner.SimulationLearner.getMaxError (   self)
calculate max error for all learners
@return: numpy array of max error

References python.uq.learner.SimulationLearner.SimulationLearner._learners.

def python.uq.learner.SimulationLearner.SimulationLearner.getMinError (   self)
calculate min error for all learners
@return: numpy array of min error

References python.uq.learner.SimulationLearner.SimulationLearner._learners.

def python.uq.learner.SimulationLearner.SimulationLearner.getSpecification (   self)
def python.uq.learner.SimulationLearner.SimulationLearner.refineGrid (   self)

References python.uq.learner.SimulationLearner.SimulationLearner._verbose, python.uq.analysis.Analysis.Analysis._verbose, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic._verbose, python.uq.learner.SimulationLearner.SimulationLearner.getGrid(), python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.getGrid(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.getGrid(), python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.getRefinement(), python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.getRefinement(), python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.getRefinement(), python.uq.manager.ASGCUQManager.ASGCUQManager.getRefinement(), python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.getTimeStepsOfInterest(), python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.getTimeStepsOfInterest(), python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.getTimeStepsOfInterest(), python.uq.manager.ASGCUQManager.ASGCUQManager.getTimeStepsOfInterest(), python.uq.operations.forcePositivity.findCandidateSet.CandidateSet.iteration, python.uq.operations.forcePositivity.fullGridSearch.FullGridCandidates.iteration, python.uq.operations.forcePositivity.searchNextLevel.SearchLevelWiseForCandidates.iteration, python.uq.learner.Learner.Learner.iteration, python.learner.Learner.Learner.iteration, python.uq.operations.forcePositivity.findIntersectionsSubspaceBased.IntersectionSubspaceCandidates.iteration, python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates.iteration, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.iteration, and python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.iteration.

def python.uq.learner.SimulationLearner.SimulationLearner.setSpecification (   self,
  specification 
)
def python.uq.learner.SimulationLearner.SimulationLearner.updateResults (   self,
  knowledge,
  dtype 
)

References python.uq.learner.SimulationLearner.SimulationLearner._learners, python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.getQoI(), python.uq.sampler.asgc.ASGCSamplerSpecification.ASGCSamplerSpecification.getQoI(), python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.getQoI(), python.uq.manager.ASGCUQManager.ASGCUQManager.getQoI(), python.uq.operations.forcePositivity.findCandidateSet.CandidateSet.iteration, python.uq.operations.forcePositivity.fullGridSearch.FullGridCandidates.iteration, python.uq.operations.forcePositivity.searchNextLevel.SearchLevelWiseForCandidates.iteration, python.uq.learner.Learner.Learner.iteration, python.learner.Learner.Learner.iteration, python.uq.operations.forcePositivity.findIntersectionsSubspaceBased.IntersectionSubspaceCandidates.iteration, python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates.iteration, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.iteration, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.iteration, sgpp::combigrid::ExponentialNoBoundaryPermutationIterator.level, sgpp::combigrid::TensorGrid.level, sgpp::combigrid::ExponentialChebyshevPermutationIterator.level, sgpp::combigrid::ExponentialLevelorderPermutationIterator.level, python.uq.estimators.MarginalIntegralStrategy.MarginalIntegralStrategy.level, python.learner.folding.FoldingPolicy.FoldingPolicy.level, sgpp::combigrid::AbstractEvaluator< V >.level, python.uq.learner.SimulationLearner.SimulationLearner.level, python.uq.learner.builder.GridDescriptor.GridDescriptor.level, sgpp::combigrid::QueueEntry.level, python.learner.folding.FilesFoldingPolicy.FilesFoldingPolicy.level, python.uq.learner.builder.RegressorSpecificationDescriptor.FoldingDescriptor.level, sgpp::base::HashGridPoint.level, python.uq.learner.SimulationLearner.SimulationLearner.numberPoints, python.uq.learner.Learner.Learner.numberPoints, python.learner.Learner.Learner.numberPoints, python.uq.learner.SimulationLearner.SimulationLearner.testAccuracy, python.uq.learner.Learner.Learner.testAccuracy, python.learner.Learner.Learner.testAccuracy, python.uq.learner.SimulationLearner.SimulationLearner.testCount, python.uq.learner.SimulationLearner.SimulationLearner.testingOverall, python.uq.learner.Learner.Learner.testingOverall, python.learner.Learner.Learner.testingOverall, python.uq.learner.SimulationLearner.SimulationLearner.trainAccuracy, python.uq.learner.Learner.Learner.trainAccuracy, python.learner.Learner.Learner.trainAccuracy, python.uq.learner.SimulationLearner.SimulationLearner.trainCount, python.uq.learner.SimulationLearner.SimulationLearner.trainingOverall, python.uq.learner.Learner.Learner.trainingOverall, and python.learner.Learner.Learner.trainingOverall.

Referenced by python.uq.learner.SimulationLearner.SimulationLearner.learnData(), python.uq.learner.SimulationLearner.SimulationLearner.learnDataWithFolding(), and python.uq.learner.SimulationLearner.SimulationLearner.learnDataWithTest().

Member Data Documentation

python.uq.learner.SimulationLearner.SimulationLearner.numberPoints
python.uq.learner.SimulationLearner.SimulationLearner.testingOverall
python.uq.learner.SimulationLearner.SimulationLearner.trainCount
python.uq.learner.SimulationLearner.SimulationLearner.trainingOverall

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