SG++-Doxygen-Documentation
|
Public Member Functions | |
def | __init__ (self, grid, candidateSearchAlgorithm=None, interpolationAlgorithm=None) |
def | addFullGridPoints (self, grid, alpha, candidates, tol=-1e-14) |
def | coarsening (self, grid, alpha, newGridPoints, tol=1e-14) |
def | makeAddedNodalValuesPositive (self, grid, alpha, addedGridPoints, tol=-1e-14) |
def | makeCurrentNodalValuesPositive (self, grid, alpha, tol=-1e-14) |
def | makePositive (self, alpha) |
def | plotDebug (self, grid, alpha, addedGridPoints, candidates) |
def | plotDebugIntersections (self, newGrid, overlappingGridPoints) |
def | setCandidateSetSearchAlgorithm (self, algorithm) |
def | setInterpolationAlgorithm (self, algorithm) |
def | sortCandidatesByLevelSum (self, candidates) |
Public Attributes | |
addAllGridPointsOnNextLevel | |
candidateSearchAlgorithm | |
grid | |
interpolationAlgorithm | |
lastMinimumCandidateLevelSum | |
maxLevel | |
maxNewGridPoints | |
numDims | |
verbose | |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.__init__ | ( | self, | |
grid, | |||
candidateSearchAlgorithm = None , |
|||
interpolationAlgorithm = None |
|||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.addFullGridPoints | ( | self, | |
grid, | |||
alpha, | |||
candidates, | |||
tol = -1e-14 |
|||
) |
Add all those full grid points with |accLevel|_1 <= n, where n is the maximun level of the sparse grid @param grid: Grid sparse grid to be discretized @param candidates: @param tol:
References python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.addAllGridPointsOnNextLevel, python.uq.operations.sparse_grid.evalSGFunctionMulti(), python.uq.operations.sparse_grid.insertHierarchicalAncestors(), python.uq.operations.sparse_grid.insertPoint(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.lastMinimumCandidateLevelSum, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.maxNewGridPoints, python.uq.operations.forcePositivity.fullGridSearch.FullGridCandidates.numDims, sgpp::combigrid::Ishigami.numDims, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.numDims, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.numDims, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.numDims, sgpp::combigrid::Parabola.numDims, sgpp::combigrid::CO2.numDims, sgpp::combigrid::CombigridSurrogateModel.numDims, sgpp::combigrid::AtanUniform.numDims, sgpp::combigrid::AtanBeta.numDims, sgpp::combigrid::Debugfct.numDims, python.uq.models.testEnvironments.ProbabilisticSpaceSGpp.numDims, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.numDims, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.sortCandidatesByLevelSum(), python.uq.operations.forcePositivity.findCandidateSet.CandidateSet.verbose, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.verbose, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.verbose, sgpp::base::OCLManager.verbose, sgpp::base::OCLManagerMultiPlatform.verbose, python.uq.manager.ASGCUQManager.ASGCUQManager.verbose, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.verbose, python.uq.estimators.MonteCarloStrategy.MonteCarloStrategy.verbose, and python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.verbose.
Referenced by python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive().
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.coarsening | ( | self, | |
grid, | |||
alpha, | |||
newGridPoints, | |||
tol = 1e-14 |
|||
) |
Removes all unnecessary grid points. A grid point is defined as unnecessary if it is a leaf node and its hierarchical coefficient is negative. This is applied just for the newly added points. @param grid: Grid @param alpha: numpy array hierarchical coefficients
References python.uq.operations.sparse_grid.copyGrid().
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makeAddedNodalValuesPositive | ( | self, | |
grid, | |||
alpha, | |||
addedGridPoints, | |||
tol = -1e-14 |
|||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makeCurrentNodalValuesPositive | ( | self, | |
grid, | |||
alpha, | |||
tol = -1e-14 |
|||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive | ( | self, | |
alpha | |||
) |
insert recursively all grid points such that the function is positive defined. Interpolate the function values for the new grid points using the registered algorithm. @param alpha: numpy array hierarchical coefficients
References python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.addFullGridPoints(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.addFullGridPoints(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.candidateSearchAlgorithm, python.uq.operations.sparse_grid.copyGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, sgpp::base::OperationMultipleEval.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::base::OperationFirstMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentPoly.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentBspline.grid, sgpp::base::OperationFirstMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentBspline.grid, sgpp::base::OperationFirstMomentModBspline.grid, sgpp::base::OperationSecondMomentBsplineBoundary.grid, sgpp::base::OperationSecondMomentModBspline.grid, sgpp::base::OperationFirstMomentModPoly.grid, sgpp::base::OperationSecondMomentModPoly.grid, sgpp::base::OperationSecondMomentModPolyClenshawCurtis.grid, sgpp::base::OperationFirstMomentModPolyClenshawCurtis.grid, sgpp::base::OperationSecondMomentPoly.grid, sgpp::base::OperationSecondMomentPolyBoundary.grid, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary.grid, sgpp::base::OperationFirstMomentBsplineClenshawCurtis.grid, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentBsplineClenshawCurtis.grid, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::base::OperationArbitraryBoundaryHierarchisation.grid, python.uq.learner.Learner.Learner.grid, python.uq.dists.SGDEdist.SGDEdist.grid, python.learner.Learner.Learner.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::base::DehierarchisationModFundamentalSpline.grid, sgpp::base::OperationQuadratureMC.grid, python.controller.CheckpointController.CheckpointController.grid, sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::base::ImpurityRefinementIndicator.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, python.tools.Matrix.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.interpolationAlgorithm, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makeAddedNodalValuesPositive(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.makeCurrentNodalValuesPositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makeCurrentNodalValuesPositive(), python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.maxLevel, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.maxLevel, sgpp::base::ClenshawCurtisTable.maxLevel, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.maxLevel, python.uq.operations.forcePositivity.fullGridSearch.FullGridCandidates.numDims, sgpp::combigrid::Ishigami.numDims, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.numDims, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.numDims, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.numDims, sgpp::combigrid::Parabola.numDims, sgpp::combigrid::CO2.numDims, sgpp::combigrid::CombigridSurrogateModel.numDims, sgpp::combigrid::AtanUniform.numDims, sgpp::combigrid::AtanBeta.numDims, sgpp::combigrid::Debugfct.numDims, python.uq.models.testEnvironments.ProbabilisticSpaceSGpp.numDims, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.numDims, python.uq.operations.forcePositivity.findCandidateSet.CandidateSet.verbose, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.verbose, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.verbose, sgpp::base::OCLManager.verbose, sgpp::base::OCLManagerMultiPlatform.verbose, python.uq.manager.ASGCUQManager.ASGCUQManager.verbose, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.verbose, python.uq.estimators.MonteCarloStrategy.MonteCarloStrategy.verbose, and python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.verbose.
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.plotDebug | ( | self, | |
grid, | |||
alpha, | |||
addedGridPoints, | |||
candidates | |||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.plotDebugIntersections | ( | self, | |
newGrid, | |||
overlappingGridPoints | |||
) |
References python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates.findIntersection(), python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.findIntersection(), python.uq.operations.forcePositivity.findIntersectionsSubspaceBased.IntersectionSubspaceCandidates.findIntersection(), and python.uq.operations.sparse_grid.getBoundsOfSupport().
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.setCandidateSetSearchAlgorithm | ( | self, | |
algorithm | |||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.setInterpolationAlgorithm | ( | self, | |
algorithm | |||
) |
def python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.sortCandidatesByLevelSum | ( | self, | |
candidates | |||
) |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.addAllGridPointsOnNextLevel |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.candidateSearchAlgorithm |
Referenced by python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.plotDebug(), and python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.setCandidateSetSearchAlgorithm().
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid |
Referenced by python.uq.learner.Interpolant.Interpolant.doLearningIteration(), python.learner.Classifier.Classifier.evalError(), python.uq.learner.Interpolant.Interpolant.evalError(), python.uq.learner.SimulationLearner.SimulationLearner.getCollocationNodes(), python.uq.learner.SimulationLearner.SimulationLearner.getGrid(), python.uq.learner.SimulationLearner.SimulationLearner.getLearner(), python.uq.learner.Regressor.Regressor.learnData(), python.uq.learner.Regressor.Regressor.learnDataWithFolding(), python.uq.learner.Regressor.Regressor.learnDataWithTest(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive(), python.learner.Classifier.Classifier.refineGrid(), python.learner.Regressor.Regressor.refineGrid(), python.uq.learner.Regressor.Regressor.refineGrid(), python.uq.learner.SimulationLearner.SimulationLearner.refineGrid(), python.learner.Classifier.Classifier.updateResults(), python.learner.Regressor.Regressor.updateResults(), and python.uq.learner.Regressor.Regressor.updateResults().
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.interpolationAlgorithm |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.lastMinimumCandidateLevelSum |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.maxLevel |
Referenced by python.uq.refinement.AdmissibleSet.AdmissibleSparseGridNodeSet.addChildren(), python.uq.refinement.AdmissibleSet.AdmissibleSetGenerator.insertPoint(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive(), and python.uq.refinement.AdmissibleSet.RefinableNodesSet.update().
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.maxNewGridPoints |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.numDims |
python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.verbose |
Referenced by python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.addFullGridPoints(), python.uq.refinement.RefinementManager.RefinementManager.candidates(), python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates.findIntersections(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.makePositive(), and python.uq.refinement.RefinementManager.RefinementManager.refineGrid().