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

Public Member Functions

def __getattr__ (self, attr)
 
def __init__ (self)
 
def doLearningIteration (self, set)
 
def evalError (self, data, alpha)
 
def getL2NormError (self)
 
def getMaxError (self)
 
def getMinError (self)
 
def learnData (self)
 
def learnDataWithFolding (self)
 
def learnDataWithTest (self, dataset=None)
 
def refineGrid (self)
 
def updateResults (self, alpha, trainSubset, testSubset=None)
 

Public Attributes

 alpha
 
 error
 
 errors
 
 linearSystem
 

Detailed Description

Subclass of Learner, responsible for regression.
The methods specific for regression are implemented here.

Constructor & Destructor Documentation

def python.uq.learner.Regressor.Regressor.__init__ (   self)
Constructor

Member Function Documentation

def python.uq.learner.Regressor.Regressor.__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.Regressor.Regressor.doLearningIteration (   self,
  set 
)
def python.uq.learner.Regressor.Regressor.evalError (   self,
  data,
  alpha 
)
def python.uq.learner.Regressor.Regressor.getL2NormError (   self)
calculate L2-norm of error
@return: last L2-norm of error
def python.uq.learner.Regressor.Regressor.getMaxError (   self)
calculate max error
@return: max error
def python.uq.learner.Regressor.Regressor.getMinError (   self)
calculate min error
@return: min error
def python.uq.learner.Regressor.Regressor.learnData (   self)

References python.learner.solver.CGSolver.CGSolver.alpha, sgpp::base::SurplusRefinementFunctor.alpha, sgpp::base::SurplusCoarseningFunctor.alpha, sgpp::base::SurplusVolumeRefinementFunctor.alpha, sgpp::base::SurplusVolumeCoarseningFunctor.alpha, python.uq.learner.Regressor.Regressor.alpha, python.uq.learner.Learner.Learner.alpha, python.learner.Learner.Learner.alpha, python.uq.learner.Interpolant.Interpolant.alpha, sgpp::op_factory.createOperationMultipleEval(), python.uq.manager.ASGCUQManager.ASGCUQManager.dataContainer, python.uq.learner.SimulationLearner.SimulationLearner.dataContainer, python.uq.learner.Learner.Learner.dataContainer, python.learner.Learner.Learner.dataContainer, python.uq.learner.Interpolant.Interpolant.doLearningIteration(), python.uq.learner.Regressor.Regressor.doLearningIteration(), python.uq.learner.Learner.Learner.doLearningIteration(), python.learner.Learner.Learner.doLearningIteration(), sgpp::solver::FistaBase.getL(), sgpp::datadriven::RegressionLearner::Solver.getL(), python.learner.TrainingSpecification.TrainingSpecification.getL(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.grid, sgpp::datadriven::OperationDensitySampling1DLinear.grid, python.uq.operations.forcePositivity.localHierarchicalIntersectionSearch.LocalHierarchicalIntersectionCandidates.grid, sgpp::datadriven::OperationRosenblattTransformation1DLinear.grid, sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear.grid, python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive.grid, sgpp::datadriven::LogDensitySystemMatrix.grid, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::base::OperationMultipleEval.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::OperationDensityMarginalizeLinear.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensityConditionalLinear.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, python.uq.learner.Learner.Learner.grid, sgpp::datadriven::OperationDensityMargTo1DLinear.grid, python.learner.Learner.Learner.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::base::DehierarchisationModFundamentalSpline.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, python.tools.Matrix.grid, 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, python.learner.solver.LinearSolver.LinearSolver.notifyEventControllers(), python.uq.learner.Learner.Learner.notifyEventControllers(), python.learner.Learner.Learner.notifyEventControllers(), python.learner.Classifier.Classifier.refineGrid(), python.learner.Regressor.Regressor.refineGrid(), python.uq.learner.Learner.Learner.refineGrid(), python.learner.Learner.Learner.refineGrid(), python.uq.learner.Regressor.Regressor.refineGrid(), python.learner.Classifier.Classifier.updateResults(), python.learner.Regressor.Regressor.updateResults(), python.uq.learner.Interpolant.Interpolant.updateResults(), python.uq.learner.Learner.Learner.updateResults(), python.uq.learner.Regressor.Regressor.updateResults(), and python.learner.Learner.Learner.updateResults().

Referenced by python.uq.manager.ASGCUQManager.ASGCUQManager.runNextSamples().

def python.uq.learner.Regressor.Regressor.learnDataWithFolding (   self)

References sgpp::op_factory.createOperationMultipleEval(), python.uq.learner.Learner.Learner.foldingPolicy, python.learner.Learner.Learner.foldingPolicy, 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, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::base::OperationMultipleEval.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::OperationDensityMarginalizeLinear.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensityConditionalLinear.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, python.uq.learner.Learner.Learner.grid, sgpp::datadriven::OperationDensityMargTo1DLinear.grid, python.learner.Learner.Learner.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationModBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBspline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationLinear.grid, sgpp::optimization::OperationMultipleHierarchisationLinearBoundary.grid, sgpp::optimization::OperationMultipleHierarchisationWavelet.grid, sgpp::optimization::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::base::DehierarchisationModFundamentalSpline.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::ModelFittingBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::optimization::HierarchisationSLE.grid, sgpp::datadriven::DBMatOffline.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::LearnerSGDE.grid, python.tools.Matrix.grid, python.uq.learner.Regressor.Regressor.learnDataWithTest(), python.uq.learner.Interpolant.Interpolant.learnDataWithTest(), python.learner.Learner.Learner.learnDataWithTest(), python.uq.learner.Learner.Learner.learnDataWithTest(), python.learner.solver.LinearSolver.LinearSolver.notifyEventControllers(), python.uq.learner.Learner.Learner.notifyEventControllers(), python.learner.Learner.Learner.notifyEventControllers(), and python.uq.learner.Learner.Learner.updateFoldingPolicy().

def python.uq.learner.Regressor.Regressor.learnDataWithTest (   self,
  dataset = None 
)

References sgpp::op_factory.createOperationMultipleEval(), python.uq.manager.ASGCUQManager.ASGCUQManager.dataContainer, python.uq.learner.SimulationLearner.SimulationLearner.dataContainer, python.uq.learner.Learner.Learner.dataContainer, python.learner.Learner.Learner.dataContainer, 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, python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast.grid, sgpp::base::OperationMultipleEval.grid, sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix.grid, sgpp::datadriven::LearnerSVM.grid, sgpp::datadriven::DMSystemMatrix.grid, sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier.grid, sgpp::datadriven::LearnerBase.grid, sgpp::datadriven::OperationDensityMarginalizeLinear.grid, sgpp::datadriven::OperationDensityRejectionSamplingLinear.grid, sgpp::datadriven::OperationDensityConditionalLinear.grid, sgpp::base::OperationHierarchisationFundamentalSpline.grid, sgpp::base::OperationHierarchisationModFundamentalSpline.grid, sgpp::datadriven::OperationDensitySamplingLinear.grid, sgpp::datadriven::SystemMatrixLeastSquaresIdentity.grid, sgpp::datadriven::OperationInverseRosenblattTransformationLinear.grid, sgpp::datadriven::OperationRosenblattTransformationLinear.grid, python.uq.learner.Learner.Learner.grid, sgpp::datadriven::OperationDensityMargTo1DLinear.grid, python.learner.Learner.Learner.grid, sgpp::optimization::IterativeGridGenerator.grid, sgpp::datadriven::AlgorithmAdaBoostBase.grid, sgpp::optimization::OperationMultipleHierarchisationModLinear.grid, sgpp::optimization::OperationMultipleHierarchisationModWavelet.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::OperationMultipleHierarchisationFundamentalSpline.grid, sgpp::base::DehierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationFundamentalSpline.grid, sgpp::base::HierarchisationModFundamentalSpline.grid, sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis.grid, sgpp::optimization::OperationMultipleHierarchisationModFundamentalSpline.grid, sgpp::base::DehierarchisationModFundamentalSpline.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::ImpurityRefinementIndicator.grid, sgpp::base::ForwardSelectorRefinementIndicator.grid, sgpp::datadriven::ModelFittingBase.grid, sgpp::datadriven::LearnerSGD.grid, sgpp::optimization::HierarchisationSLE.grid, sgpp::datadriven::DBMatOffline.grid, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGridCandidates.grid, sgpp::datadriven::RegressionLearner.grid, sgpp::datadriven::LearnerSGDE.grid, python.tools.Matrix.grid, python.learner.solver.LinearSolver.LinearSolver.notifyEventControllers(), python.uq.learner.Learner.Learner.notifyEventControllers(), and python.learner.Learner.Learner.notifyEventControllers().

Referenced by python.uq.manager.ASGCUQManager.ASGCUQManager.learnData(), and python.uq.learner.Regressor.Regressor.learnDataWithFolding().

Member Data Documentation

python.uq.learner.Regressor.Regressor.alpha
python.uq.learner.Regressor.Regressor.error
python.uq.learner.Regressor.Regressor.errors
python.uq.learner.Regressor.Regressor.linearSystem

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