![]() |
SG++-Doxygen-Documentation
|
Class for handling events for storing and restoring of checkpoints. More...
Public Member Functions | |
__init__ (self, title, path=None, interval=None, fold=None) | |
Constructor save checkpoint files will have a name like title.iteration. | |
composeName (self, iteration=None, fold=None) | |
Composes checkpoint file name from path title and iteration number. | |
generateFoldValidationJob (self, email="") | |
Generates a SGE array job script for concurrent performing of cross-fold validation computations. | |
handleLearningEvent (self, subject, status) | |
loadAll (self, iteration) | |
Loads the Learner object with corresponding Grid and LearnedKnowledge. | |
loadGrid (self, iteration) | |
Loads sg.Grid from the checkpoint of given iteration. | |
loadLearnedKnowledge (self, iteration) | |
Loads knowledge from the checkpoint of given iteration. | |
saveAll (self, iteration) | |
Saves current Grid, LearnedKnowledge and Learner objects. | |
saveGrid (self, iteration) | |
Saves current Grid to the checkpoint with given iteration. | |
saveLearnedKnowledge (self, iteration) | |
Saves current LearnedKnowldge object to the checkpoint with given iteration. | |
saveLearner (self, iteration) | |
Saves the current Learner object to the checkpoint with given iteration. | |
setGrid (self, grid) | |
Setter for the current Grid object. | |
setLearnedKnowledge (self, knowledge) | |
Setter for the current LearnedKnowledge object. | |
setLearner (self, learner) | |
Setter for current Learner object. | |
Static Public Attributes | |
fold = None | |
Fold number if cross-validation is used. | |
grid = None | |
Reference to the Grid object. | |
interval = None | |
Interval, which determines how often checkpoints should be set. | |
knowledge = None | |
Reference to the LearnedKnowledge object. | |
lastIteration = None | |
Number of the last iteration. | |
learner = None | |
Reference to the Learner object. | |
path = None | |
Path to the checkpoint files. | |
title = None | |
Checkpoint title. | |
Class for handling events for storing and restoring of checkpoints.
Responsible for storing of checkpoints during learning process and restoring of learning from some checkpoint.
CheckpointController has an ability to save the states of Learner, its Grid and LearnedKnowledge for different iterations of training process. To insure flexibility and extensibility of the system the design pattern Memento with several modifications was used.
Roles
Why should we use Memento pattern here?
Enhancements
To be able able to use the states after the program has once terminated, we have to make memento objects persistent. For this purpose the Classes GridFormatter, LearnedKnowledgeFormatter and LearnerFormatter are used, which provides the functionality of serialization and desiralization of corresponding objects into file or any other stream, e.g. socket or terminal.
For example, to save the Grid object in file, controller requests its memento object with states and then calls method GridFormatter().serializeToFile(<Grid memento object>, <file name>).
Supposed, you have already learned and stored checkpoints and now you have files checkpoint.6.arff.gz, checkpoint.6.grid.gz and checkpoint.6.learner.gz from the 6th iteration stored in your working directory. Now you can
grid = CheckpointController('checkpoint').laodGrid(6)
knowledge = CheckpointController('checkpoint').laodLearnedKnowledge(6)
learner = CheckpointController('checkpoint').loadAll(6)
python.controller.CheckpointController.CheckpointController.__init__ | ( | self, | |
title, | |||
path = None , |
|||
interval = None , |
|||
fold = None |
|||
) |
Constructor save checkpoint files will have a name like title.iteration.
[grid | learner | arff].gz
title | string title for checkpoints |
path | string absolute path to the checkpoint files |
interval | integer defines the number of iteration between saved checkpoints, e.g. if interval = 1, only states from 0,5th, 10th, 15th ... iteration will be saved |
fold | the folding level, if n-fold cross-validation is used |
References python.controller.CheckpointController.CheckpointController.fold, python.controller.CheckpointController.CheckpointController.interval, python.controller.CheckpointController.CheckpointController.path, and python.controller.CheckpointController.CheckpointController.title.
python.controller.CheckpointController.CheckpointController.composeName | ( | self, | |
iteration = None , |
|||
fold = None |
|||
) |
Composes checkpoint file name from path title and iteration number.
iteration | integer iteration number |
fold | the folding level, if n-fold cross-validation is used |
References python.controller.CheckpointController.CheckpointController.fold, python.controller.CheckpointController.CheckpointController.path, and python.controller.CheckpointController.CheckpointController.title.
Referenced by python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), python.controller.CheckpointController.CheckpointController.loadGrid(), python.controller.CheckpointController.CheckpointController.loadLearnedKnowledge(), python.controller.CheckpointController.CheckpointController.saveGrid(), python.controller.CheckpointController.CheckpointController.saveLearnedKnowledge(), and python.controller.CheckpointController.CheckpointController.saveLearner().
python.controller.CheckpointController.CheckpointController.generateFoldValidationJob | ( | self, | |
email = "" |
|||
) |
Generates a SGE array job script for concurrent performing of cross-fold validation computations.
The script can be then lunched using <code>qsub -t 1-XXX <scriptname>.sge.job
String with email-address, the status information from SGE should be sent to |
References python.controller.CheckpointController.CheckpointController.composeName(), python.controller.CheckpointController.CheckpointController.fold, sgpp::base::InterpolantScalarFunction.grid, sgpp::base::InterpolantScalarFunctionGradient.grid, sgpp::base::InterpolantScalarFunctionHessian.grid, sgpp::base::InterpolantVectorFunction.grid, sgpp::base::InterpolantVectorFunctionGradient.grid, sgpp::base::InterpolantVectorFunctionHessian.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, sgpp::base::DehierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSplineBoundary.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSplineBoundary.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::base::OperationArbitraryBoundaryHierarchisation.grid, sgpp::base::OperationFirstMomentBspline.grid, sgpp::base::OperationFirstMomentBsplineBoundary.grid, sgpp::base::OperationFirstMomentBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModBspline.grid, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModPoly.grid, sgpp::base::OperationFirstMomentModPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPoly.grid, sgpp::base::OperationFirstMomentPolyBoundary.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationHierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationFundamentalSplineBoundary.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationMultipleEval.grid, sgpp::base::OperationSecondMomentBspline.grid, sgpp::base::OperationSecondMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModBspline.grid, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModPoly.grid, sgpp::base::OperationSecondMomentModPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPoly.grid, sgpp::base::OperationSecondMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationQuadratureMC.grid, sgpp::base::HierarchisationSLE.grid, sgpp::combigrid::OperationEvalCombinationGrid.grid, sgpp::combigrid::OperationEvalFullGrid.grid, sgpp::combigrid::OperationUPCombinationGrid.grid, sgpp::combigrid::OperationUPFullGrid.grid, python.controller.CheckpointController.CheckpointController.grid, python.learner.Learner.Learner.grid, python.tools.Matrix.grid, python.uq.dists.SGDEdist.SGDEdist.grid, python.uq.learner.Learner.Learner.grid, python.uq.learner.Regressor.Regressor.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::SystemMatrixDensityRatioEstimation.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::datadriven::LearnerSGDE.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::SparseGridDensityEstimator.grid, sgpp::datadriven::RosenblattTransformation.grid, sgpp::datadriven::ModelFittingBaseSingleGrid.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::OperationCovariance.grid, sgpp::datadriven::OperationDensityConditional.grid, sgpp::datadriven::OperationDensityMarginalize.grid, sgpp::datadriven::OperationDensityMargTo1D.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBspline.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPoly.grid, sgpp::datadriven::OperationRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::DataMatrixDistributed.grid, sgpp::datadriven::DataVectorDistributed.grid, sgpp::optimization::ASInterpolantScalarFunction.grid, sgpp::optimization::ASInterpolantScalarFunctionGradient.grid, sgpp::optimization::SplineResponseSurface.grid, sgpp::optimization::SplineResponseSurfaceVector.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtisBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationModWeaklyFundamentalNakSpline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineExtended.grid, sgpp::optimization::OperationMultipleHierarchisationNaturalBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalSplineBoundary.grid, sgpp::pde::OperationLaplaceBspline.grid, sgpp::pde::OperationLaplaceBsplineBoundary.grid, sgpp::pde::OperationLaplaceBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModBspline.grid, sgpp::pde::OperationLaplaceModBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModPoly.grid, sgpp::pde::OperationLaplaceModPolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePoly.grid, sgpp::pde::OperationLaplacePolyBoundary.grid, sgpp::pde::OperationLaplacePolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBspline.grid, sgpp::pde::OperationMatrixLTwoDotBsplineBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModBspline.grid, sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModLinear.grid, sgpp::pde::OperationMatrixLTwoDotModPoly.grid, sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPoly.grid, sgpp::pde::OperationMatrixLTwoDotPolyBoundary.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary.grid, sgpp::quadrature::OperationQuadratureMCAdvanced.grid, python.controller.CheckpointController.CheckpointController.knowledge, python.learner.Learner.Learner.knowledge, python.uq.learner.Learner.Learner.knowledge, python.uq.learner.SimulationLearner.SimulationLearner.knowledge, python.uq.manager.ASGCUQManager.ASGCUQManager.knowledge, python.controller.CheckpointController.CheckpointController.learner, python.uq.dists.SGDEdist.SGDEdist.learner, python.uq.manager.ASGCUQManager.ASGCUQManager.learner, python.controller.CheckpointController.CheckpointController.saveGrid(), python.controller.CheckpointController.CheckpointController.saveLearnedKnowledge(), and python.controller.CheckpointController.CheckpointController.title.
python.controller.CheckpointController.CheckpointController.handleLearningEvent | ( | self, | |
subject, | |||
status | |||
) |
python.controller.CheckpointController.CheckpointController.loadAll | ( | self, | |
iteration | |||
) |
Loads the Learner object with corresponding Grid and LearnedKnowledge.
iteration | Integer iteration number. |
References python.controller.CheckpointController.CheckpointController.__getCOperatorType(), python.controller.CheckpointController.CheckpointController.__getLearnerEventControllers(), python.controller.CheckpointController.CheckpointController.__getSolverEventControllers(), python.controller.CheckpointController.CheckpointController.__loadLearner(), sgpp::base::InterpolantScalarFunction.grid, sgpp::base::InterpolantScalarFunctionGradient.grid, sgpp::base::InterpolantScalarFunctionHessian.grid, sgpp::base::InterpolantVectorFunction.grid, sgpp::base::InterpolantVectorFunctionGradient.grid, sgpp::base::InterpolantVectorFunctionHessian.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, sgpp::base::DehierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSplineBoundary.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSplineBoundary.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::base::OperationArbitraryBoundaryHierarchisation.grid, sgpp::base::OperationFirstMomentBspline.grid, sgpp::base::OperationFirstMomentBsplineBoundary.grid, sgpp::base::OperationFirstMomentBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModBspline.grid, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModPoly.grid, sgpp::base::OperationFirstMomentModPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPoly.grid, sgpp::base::OperationFirstMomentPolyBoundary.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationHierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationFundamentalSplineBoundary.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationMultipleEval.grid, sgpp::base::OperationSecondMomentBspline.grid, sgpp::base::OperationSecondMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModBspline.grid, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModPoly.grid, sgpp::base::OperationSecondMomentModPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPoly.grid, sgpp::base::OperationSecondMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationQuadratureMC.grid, sgpp::base::HierarchisationSLE.grid, sgpp::combigrid::OperationEvalCombinationGrid.grid, sgpp::combigrid::OperationEvalFullGrid.grid, sgpp::combigrid::OperationUPCombinationGrid.grid, sgpp::combigrid::OperationUPFullGrid.grid, python.controller.CheckpointController.CheckpointController.grid, python.learner.Learner.Learner.grid, python.tools.Matrix.grid, python.uq.dists.SGDEdist.SGDEdist.grid, python.uq.learner.Learner.Learner.grid, python.uq.learner.Regressor.Regressor.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::SystemMatrixDensityRatioEstimation.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::datadriven::LearnerSGDE.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::SparseGridDensityEstimator.grid, sgpp::datadriven::RosenblattTransformation.grid, sgpp::datadriven::ModelFittingBaseSingleGrid.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::OperationCovariance.grid, sgpp::datadriven::OperationDensityConditional.grid, sgpp::datadriven::OperationDensityMarginalize.grid, sgpp::datadriven::OperationDensityMargTo1D.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBspline.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPoly.grid, sgpp::datadriven::OperationRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::DataMatrixDistributed.grid, sgpp::datadriven::DataVectorDistributed.grid, sgpp::optimization::ASInterpolantScalarFunction.grid, sgpp::optimization::ASInterpolantScalarFunctionGradient.grid, sgpp::optimization::SplineResponseSurface.grid, sgpp::optimization::SplineResponseSurfaceVector.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtisBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationModWeaklyFundamentalNakSpline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineExtended.grid, sgpp::optimization::OperationMultipleHierarchisationNaturalBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalSplineBoundary.grid, sgpp::pde::OperationLaplaceBspline.grid, sgpp::pde::OperationLaplaceBsplineBoundary.grid, sgpp::pde::OperationLaplaceBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModBspline.grid, sgpp::pde::OperationLaplaceModBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModPoly.grid, sgpp::pde::OperationLaplaceModPolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePoly.grid, sgpp::pde::OperationLaplacePolyBoundary.grid, sgpp::pde::OperationLaplacePolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBspline.grid, sgpp::pde::OperationMatrixLTwoDotBsplineBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModBspline.grid, sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModLinear.grid, sgpp::pde::OperationMatrixLTwoDotModPoly.grid, sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPoly.grid, sgpp::pde::OperationMatrixLTwoDotPolyBoundary.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary.grid, sgpp::quadrature::OperationQuadratureMCAdvanced.grid, python.controller.CheckpointController.CheckpointController.knowledge, python.learner.Learner.Learner.knowledge, python.uq.learner.Learner.Learner.knowledge, python.uq.learner.SimulationLearner.SimulationLearner.knowledge, python.uq.manager.ASGCUQManager.ASGCUQManager.knowledge, python.controller.CheckpointController.CheckpointController.learner, python.uq.dists.SGDEdist.SGDEdist.learner, python.uq.manager.ASGCUQManager.ASGCUQManager.learner, python.controller.CheckpointController.CheckpointController.loadGrid(), python.controller.CheckpointController.CheckpointController.loadLearnedKnowledge(), python.controller.CheckpointController.CheckpointController.setGrid(), and python.controller.CheckpointController.CheckpointController.setLearnedKnowledge().
python.controller.CheckpointController.CheckpointController.loadGrid | ( | self, | |
iteration | |||
) |
Loads sg.Grid from the checkpoint of given iteration.
iteration | integer iteration number |
References python.controller.CheckpointController.CheckpointController.composeName().
Referenced by python.controller.CheckpointController.CheckpointController.loadAll().
python.controller.CheckpointController.CheckpointController.loadLearnedKnowledge | ( | self, | |
iteration | |||
) |
Loads knowledge from the checkpoint of given iteration.
iteration | integer iteration number |
References python.controller.CheckpointController.CheckpointController.composeName().
Referenced by python.controller.CheckpointController.CheckpointController.loadAll().
python.controller.CheckpointController.CheckpointController.saveAll | ( | self, | |
iteration | |||
) |
Saves current Grid, LearnedKnowledge and Learner objects.
iteration | Integer iteration number. |
References python.controller.CheckpointController.CheckpointController.saveGrid(), python.controller.CheckpointController.CheckpointController.saveLearnedKnowledge(), and python.controller.CheckpointController.CheckpointController.saveLearner().
Referenced by python.controller.CheckpointController.CheckpointController.handleLearningEvent().
python.controller.CheckpointController.CheckpointController.saveGrid | ( | self, | |
iteration | |||
) |
Saves current Grid to the checkpoint with given iteration.
iteration | integer iteration number |
References python.controller.CheckpointController.CheckpointController.composeName(), sgpp::base::InterpolantScalarFunction.grid, sgpp::base::InterpolantScalarFunctionGradient.grid, sgpp::base::InterpolantScalarFunctionHessian.grid, sgpp::base::InterpolantVectorFunction.grid, sgpp::base::InterpolantVectorFunctionGradient.grid, sgpp::base::InterpolantVectorFunctionHessian.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, sgpp::base::DehierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSplineBoundary.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSplineBoundary.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::base::OperationArbitraryBoundaryHierarchisation.grid, sgpp::base::OperationFirstMomentBspline.grid, sgpp::base::OperationFirstMomentBsplineBoundary.grid, sgpp::base::OperationFirstMomentBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModBspline.grid, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModPoly.grid, sgpp::base::OperationFirstMomentModPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPoly.grid, sgpp::base::OperationFirstMomentPolyBoundary.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationHierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationFundamentalSplineBoundary.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationMultipleEval.grid, sgpp::base::OperationSecondMomentBspline.grid, sgpp::base::OperationSecondMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModBspline.grid, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModPoly.grid, sgpp::base::OperationSecondMomentModPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPoly.grid, sgpp::base::OperationSecondMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationQuadratureMC.grid, sgpp::base::HierarchisationSLE.grid, sgpp::combigrid::OperationEvalCombinationGrid.grid, sgpp::combigrid::OperationEvalFullGrid.grid, sgpp::combigrid::OperationUPCombinationGrid.grid, sgpp::combigrid::OperationUPFullGrid.grid, python.controller.CheckpointController.CheckpointController.grid, python.learner.Learner.Learner.grid, python.tools.Matrix.grid, python.uq.dists.SGDEdist.SGDEdist.grid, python.uq.learner.Learner.Learner.grid, python.uq.learner.Regressor.Regressor.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::SystemMatrixDensityRatioEstimation.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::datadriven::LearnerSGDE.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::SparseGridDensityEstimator.grid, sgpp::datadriven::RosenblattTransformation.grid, sgpp::datadriven::ModelFittingBaseSingleGrid.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::OperationCovariance.grid, sgpp::datadriven::OperationDensityConditional.grid, sgpp::datadriven::OperationDensityMarginalize.grid, sgpp::datadriven::OperationDensityMargTo1D.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBspline.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPoly.grid, sgpp::datadriven::OperationRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::DataMatrixDistributed.grid, sgpp::datadriven::DataVectorDistributed.grid, sgpp::optimization::ASInterpolantScalarFunction.grid, sgpp::optimization::ASInterpolantScalarFunctionGradient.grid, sgpp::optimization::SplineResponseSurface.grid, sgpp::optimization::SplineResponseSurfaceVector.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtisBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationModWeaklyFundamentalNakSpline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineExtended.grid, sgpp::optimization::OperationMultipleHierarchisationNaturalBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalSplineBoundary.grid, sgpp::pde::OperationLaplaceBspline.grid, sgpp::pde::OperationLaplaceBsplineBoundary.grid, sgpp::pde::OperationLaplaceBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModBspline.grid, sgpp::pde::OperationLaplaceModBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModPoly.grid, sgpp::pde::OperationLaplaceModPolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePoly.grid, sgpp::pde::OperationLaplacePolyBoundary.grid, sgpp::pde::OperationLaplacePolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBspline.grid, sgpp::pde::OperationMatrixLTwoDotBsplineBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModBspline.grid, sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModLinear.grid, sgpp::pde::OperationMatrixLTwoDotModPoly.grid, sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPoly.grid, sgpp::pde::OperationMatrixLTwoDotPolyBoundary.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary.grid, and sgpp::quadrature::OperationQuadratureMCAdvanced.grid.
Referenced by python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), and python.controller.CheckpointController.CheckpointController.saveAll().
python.controller.CheckpointController.CheckpointController.saveLearnedKnowledge | ( | self, | |
iteration | |||
) |
Saves current LearnedKnowldge object to the checkpoint with given iteration.
iteration | integer iteration number |
References python.controller.CheckpointController.CheckpointController.composeName(), python.controller.CheckpointController.CheckpointController.knowledge, python.learner.Learner.Learner.knowledge, python.uq.learner.Learner.Learner.knowledge, python.uq.learner.SimulationLearner.SimulationLearner.knowledge, and python.uq.manager.ASGCUQManager.ASGCUQManager.knowledge.
Referenced by python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), and python.controller.CheckpointController.CheckpointController.saveAll().
python.controller.CheckpointController.CheckpointController.saveLearner | ( | self, | |
iteration | |||
) |
Saves the current Learner object to the checkpoint with given iteration.
iteration | integer iteration number |
References python.controller.CheckpointController.CheckpointController.composeName(), python.controller.CheckpointController.CheckpointController.fold, python.controller.CheckpointController.CheckpointController.learner, python.uq.dists.SGDEdist.SGDEdist.learner, and python.uq.manager.ASGCUQManager.ASGCUQManager.learner.
Referenced by python.controller.CheckpointController.CheckpointController.saveAll().
python.controller.CheckpointController.CheckpointController.setGrid | ( | self, | |
grid | |||
) |
Setter for the current Grid object.
grid | The Grid object. |
References sgpp::base::InterpolantScalarFunction.grid, sgpp::base::InterpolantScalarFunctionGradient.grid, sgpp::base::InterpolantScalarFunctionHessian.grid, sgpp::base::InterpolantVectorFunction.grid, sgpp::base::InterpolantVectorFunctionGradient.grid, sgpp::base::InterpolantVectorFunctionHessian.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, sgpp::base::DehierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSplineBoundary.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSplineBoundary.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::base::OperationArbitraryBoundaryHierarchisation.grid, sgpp::base::OperationFirstMomentBspline.grid, sgpp::base::OperationFirstMomentBsplineBoundary.grid, sgpp::base::OperationFirstMomentBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModBspline.grid, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModPoly.grid, sgpp::base::OperationFirstMomentModPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPoly.grid, sgpp::base::OperationFirstMomentPolyBoundary.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationHierarchisationFundamentalNakSplineBoundary.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationFundamentalSplineBoundary.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationMultipleEval.grid, sgpp::base::OperationSecondMomentBspline.grid, sgpp::base::OperationSecondMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModBspline.grid, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModPoly.grid, sgpp::base::OperationSecondMomentModPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPoly.grid, sgpp::base::OperationSecondMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationQuadratureMC.grid, sgpp::base::HierarchisationSLE.grid, sgpp::combigrid::OperationEvalCombinationGrid.grid, sgpp::combigrid::OperationEvalFullGrid.grid, sgpp::combigrid::OperationUPCombinationGrid.grid, sgpp::combigrid::OperationUPFullGrid.grid, python.controller.CheckpointController.CheckpointController.grid, python.learner.Learner.Learner.grid, python.tools.Matrix.grid, python.uq.dists.SGDEdist.SGDEdist.grid, python.uq.learner.Learner.Learner.grid, python.uq.learner.Regressor.Regressor.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::SystemMatrixDensityRatioEstimation.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::datadriven::LearnerSGDE.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::SparseGridDensityEstimator.grid, sgpp::datadriven::RosenblattTransformation.grid, sgpp::datadriven::ModelFittingBaseSingleGrid.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::OperationCovariance.grid, sgpp::datadriven::OperationDensityConditional.grid, sgpp::datadriven::OperationDensityMarginalize.grid, sgpp::datadriven::OperationDensityMargTo1D.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPoly.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBspline.grid, sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPoly.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBspline.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationModBspline.grid, sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationModPoly.grid, sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPoly.grid, sgpp::datadriven::OperationRosenblattTransformationPolyBoundary.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis.grid, sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary.grid, sgpp::datadriven::DataMatrixDistributed.grid, sgpp::datadriven::DataVectorDistributed.grid, sgpp::optimization::ASInterpolantScalarFunction.grid, sgpp::optimization::ASInterpolantScalarFunctionGradient.grid, sgpp::optimization::SplineResponseSurface.grid, sgpp::optimization::SplineResponseSurfaceVector.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtisBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationModWeaklyFundamentalNakSpline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBspline.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationNakBsplineExtended.grid, sgpp::optimization::OperationMultipleHierarchisationNaturalBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalNakSplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWeaklyFundamentalSplineBoundary.grid, sgpp::pde::OperationLaplaceBspline.grid, sgpp::pde::OperationLaplaceBsplineBoundary.grid, sgpp::pde::OperationLaplaceBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModBspline.grid, sgpp::pde::OperationLaplaceModBsplineClenshawCurtis.grid, sgpp::pde::OperationLaplaceModPoly.grid, sgpp::pde::OperationLaplaceModPolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePoly.grid, sgpp::pde::OperationLaplacePolyBoundary.grid, sgpp::pde::OperationLaplacePolyClenshawCurtis.grid, sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBspline.grid, sgpp::pde::OperationMatrixLTwoDotBsplineBoundary.grid, sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModBspline.grid, sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotModLinear.grid, sgpp::pde::OperationMatrixLTwoDotModPoly.grid, sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPoly.grid, sgpp::pde::OperationMatrixLTwoDotPolyBoundary.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis.grid, sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary.grid, and sgpp::quadrature::OperationQuadratureMCAdvanced.grid.
Referenced by python.controller.CheckpointController.CheckpointController.loadAll(), and python.controller.CheckpointController.CheckpointController.setLearner().
python.controller.CheckpointController.CheckpointController.setLearnedKnowledge | ( | self, | |
knowledge | |||
) |
Setter for the current LearnedKnowledge object.
knowledge | LearnedKnowledge object |
References python.controller.CheckpointController.CheckpointController.knowledge, python.learner.Learner.Learner.knowledge, python.uq.learner.Learner.Learner.knowledge, python.uq.learner.SimulationLearner.SimulationLearner.knowledge, and python.uq.manager.ASGCUQManager.ASGCUQManager.knowledge.
Referenced by python.controller.CheckpointController.CheckpointController.loadAll(), and python.controller.CheckpointController.CheckpointController.setLearner().
python.controller.CheckpointController.CheckpointController.setLearner | ( | self, | |
learner | |||
) |
Setter for current Learner object.
learner | The Learner object |
References python.controller.CheckpointController.CheckpointController.learner, python.uq.dists.SGDEdist.SGDEdist.learner, python.uq.manager.ASGCUQManager.ASGCUQManager.learner, sgpp::combigrid::OperationEvalCombinationGrid.setGrid(), sgpp::combigrid::OperationUPCombinationGrid.setGrid(), sgpp::combigrid::OperationEvalFullGrid.setGrid(), sgpp::combigrid::OperationUPFullGrid.setGrid(), sgpp::combigrid::IndexVectorRange.setGrid(), sgpp::pde::PDESolver.setGrid(), python.controller.CheckpointController.CheckpointController.setGrid(), python.learner.Learner.Learner.setGrid(), python.uq.learner.Learner.Learner.setGrid(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setGrid(), python.controller.CheckpointController.CheckpointController.setLearnedKnowledge(), python.learner.Learner.Learner.setLearnedKnowledge(), and python.uq.learner.Learner.Learner.setLearnedKnowledge().
Referenced by python.controller.CheckpointController.CheckpointController.handleLearningEvent().
|
static |
Fold number if cross-validation is used.
Referenced by python.controller.CheckpointController.CheckpointController.__init__(), python.controller.CheckpointController.CheckpointController.composeName(), python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), and python.controller.CheckpointController.CheckpointController.saveLearner().
|
static |
Reference to the Grid object.
Referenced by python.uq.dists.SGDEdist.SGDEdist.__str__(), python.learner.Learner.Learner.applyData(), python.tools.Matrix.ApplyMatrix(), python.uq.dists.SGDEdist.SGDEdist.cdf(), python.uq.learner.Interpolant.Interpolant.doLearningIteration(), python.learner.Learner.Learner.doLearningIteration(), python.learner.Classifier.Classifier.evalError(), python.uq.learner.Interpolant.Interpolant.evalError(), python.tools.Matrix.generateb(), python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), python.uq.learner.SimulationLearner.SimulationLearner.getCollocationNodes(), python.uq.learner.SimulationLearner.SimulationLearner.getGrid(), python.uq.learner.SimulationLearner.SimulationLearner.getLearner(), python.learner.Learner.Learner.learnData(), python.learner.Learner.Learner.learnDataWithFolding(), python.uq.learner.Regressor.Regressor.learnDataWithFolding(), python.learner.Learner.Learner.learnDataWithTest(), python.uq.learner.Regressor.Regressor.learnDataWithTest(), python.controller.CheckpointController.CheckpointController.loadAll(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.makePositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive(), python.uq.dists.SGDEdist.SGDEdist.mean(), python.uq.dists.SGDEdist.SGDEdist.pdf(), python.uq.dists.SGDEdist.SGDEdist.ppf(), python.learner.Classifier.Classifier.refineGrid(), python.learner.Regressor.Regressor.refineGrid(), python.uq.learner.Regressor.Regressor.refineGrid(), python.uq.learner.SimulationLearner.SimulationLearner.refineGrid(), python.controller.CheckpointController.CheckpointController.saveGrid(), python.controller.CheckpointController.CheckpointController.setGrid(), python.learner.Learner.Learner.setGrid(), python.uq.learner.Learner.Learner.setGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.split(), python.uq.dists.SGDEdist.SGDEdist.toJson(), and python.uq.dists.SGDEdist.SGDEdist.var().
|
static |
Interval, which determines how often checkpoints should be set.
Referenced by python.controller.CheckpointController.CheckpointController.__init__(), and python.controller.CheckpointController.CheckpointController.handleLearningEvent().
|
static |
Reference to the LearnedKnowledge object.
Referenced by python.learner.Learner.Learner.applyData(), python.uq.learner.Learner.Learner.copy(), python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), python.uq.learner.SimulationLearner.SimulationLearner.getKnowledge(), python.uq.manager.ASGCUQManager.ASGCUQManager.getKnowledge(), python.uq.manager.ASGCUQManager.ASGCUQManager.learnDataWithoutTest(), python.uq.manager.ASGCUQManager.ASGCUQManager.learnDataWithTest(), python.controller.CheckpointController.CheckpointController.loadAll(), python.uq.manager.ASGCUQManager.ASGCUQManager.recomputeStats(), python.uq.manager.ASGCUQManager.ASGCUQManager.runNextSamples(), python.controller.CheckpointController.CheckpointController.saveLearnedKnowledge(), python.controller.CheckpointController.CheckpointController.setLearnedKnowledge(), python.learner.Learner.Learner.setLearnedKnowledge(), python.uq.learner.Learner.Learner.setLearnedKnowledge(), python.learner.Classifier.Classifier.updateResults(), python.learner.Regressor.Regressor.updateResults(), and python.uq.learner.SimulationLearner.SimulationLearner.updateResults().
|
static |
Number of the last iteration.
|
static |
Reference to the Learner object.
Referenced by python.uq.dists.SGDEdist.SGDEdist.cov(), python.controller.CheckpointController.CheckpointController.generateFoldValidationJob(), python.uq.manager.ASGCUQManager.ASGCUQManager.learnDataWithoutTest(), python.uq.manager.ASGCUQManager.ASGCUQManager.learnDataWithTest(), python.controller.CheckpointController.CheckpointController.loadAll(), python.uq.dists.SGDEdist.SGDEdist.marginalize(), python.uq.dists.SGDEdist.SGDEdist.marginalizeToDimX(), python.uq.manager.ASGCUQManager.ASGCUQManager.recomputeStats(), python.controller.CheckpointController.CheckpointController.saveLearner(), and python.controller.CheckpointController.CheckpointController.setLearner().
|
static |
Path to the checkpoint files.
Referenced by python.controller.CheckpointController.CheckpointController.__init__(), and python.controller.CheckpointController.CheckpointController.composeName().
|
static |