![]() |
SG++-Doxygen-Documentation
|
Class keeps all information, which was learned during the learning process. More...
Public Member Functions | |
__init__ (self) | |
Constructor. | |
createMemento (self) | |
Creates a new memento to hold the current state. | |
getAlphas (self) | |
Returns current alpha vector. | |
setMemento (self, memento) | |
Restores the state which is saved in the given memento. | |
update (self, alpha) | |
Alters the current alpha vector. | |
Class keeps all information, which was learned during the learning process.
Currently, only the alpha vector is stored, by in the future more information may come.
python.learner.LearnedKnowledge.LearnedKnowledge.__init__ | ( | self | ) |
Constructor.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas, and python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__alphas.
python.learner.LearnedKnowledge.LearnedKnowledge.createMemento | ( | self | ) |
Creates a new memento to hold the current state.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas, and python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__alphas.
Referenced by python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.writeToFile(), and python.uq.uq_setting.UQSetting.UQSetting.writeToFile().
python.learner.LearnedKnowledge.LearnedKnowledge.getAlphas | ( | self | ) |
Returns current alpha vector.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas, and python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__alphas.
python.learner.LearnedKnowledge.LearnedKnowledge.setMemento | ( | self, | |
memento | |||
) |
Restores the state which is saved in the given memento.
memento | the memento object |
References sgpp::datadriven::ModelFittingDensityDifferenceEstimationCG.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationCG.update(), sgpp::datadriven::ModelFittingDensityEstimationCombi.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOffParallel.update(), sgpp::datadriven::ModelFittingDensityEstimation.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationCG.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationCG.update(), sgpp::datadriven::ModelFittingDensityEstimationCombi.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOffParallel.update(), sgpp::datadriven::ModelFittingDensityEstimation.update(), sgpp::datadriven::ModelFittingDensityRatioEstimation.update(), sgpp::datadriven::ModelFittingLeastSquares.update(), sgpp::datadriven::ModelFittingClassification.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationCG.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationCG.update(), sgpp::datadriven::ModelFittingDensityEstimationCombi.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOffParallel.update(), sgpp::datadriven::ModelFittingLeastSquares.update(), sgpp::datadriven::ModelFittingDensityEstimation.update(), sgpp::datadriven::ModelFittingBase.update(), sgpp::datadriven::ModelFittingClassification.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationCG.update(), sgpp::datadriven::ModelFittingDensityDifferenceEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationCG.update(), sgpp::datadriven::ModelFittingDensityEstimationCombi.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOff.update(), sgpp::datadriven::ModelFittingDensityEstimationOnOffParallel.update(), sgpp::datadriven::ModelFittingDensityRatioEstimation.update(), sgpp::datadriven::ModelFittingDensityEstimation.update(), sgpp::datadriven::ModelFittingBase.update(), sgpp::base::LinearLoadBalancer.update(), sgpp::base::ForwardSelectorRefinementIndicator.update(), sgpp::base::ImpurityRefinementIndicator.update(), sgpp::base::HashGridStorage.update(), python.learner.LearnedKnowledge.LearnedKnowledge.update(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.update(), python.uq.refinement.RefinementStrategy.WeightedSurplusBFRanking.update(), python.uq.refinement.AdmissibleSet.RefinableNodesSet.update(), python.uq.refinement.AdmissibleSet.AdmissibleSparseGridNodeSet.update(), python.uq.refinement.AdmissibleSet.AdmissibleSetGenerator.update(), python.uq.refinement.RefinementStrategy.VarianceBFRanking.update(), python.uq.refinement.RefinementStrategy.SurplusRanking.update(), python.uq.refinement.RefinementStrategy.SquaredSurplusRanking.update(), python.uq.refinement.RefinementStrategy.Ranking.update(), python.uq.refinement.RefinementStrategy.WeightedSurplusRanking.update(), python.uq.refinement.RefinementStrategy.AnchoredWeightedL2OptRanking.update(), python.uq.refinement.RefinementStrategy.WeightedL2OptRanking.update(), python.uq.refinement.RefinementStrategy.AnchoredExpectationValueOptRanking.update(), python.uq.refinement.RefinementStrategy.ExpectationValueOptRanking.update(), python.uq.refinement.RefinementStrategy.VarianceOptRanking.update(), python.uq.refinement.RefinementStrategy.AnchoredVarianceOptRanking.update(), python.uq.refinement.RefinementStrategy.MeanSquaredOptRanking.update(), python.uq.refinement.RefinementStrategy.AnchoredMeanSquaredOptRanking.update(), python.uq.refinement.RefinementStrategy.WeightedL2BFRanking.update(), sgpp::base::ScreenOutput.update(), and sgpp::base::LinearLoadBalancerMultiPlatform.update().
python.learner.LearnedKnowledge.LearnedKnowledge.update | ( | self, | |
alpha | |||
) |
Alters the current alpha vector.
alpha | new alpha vector |
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas, and python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.__alphas.
Referenced by python.uq.refinement.RefinementStrategy.Ranking.rank(), and python.learner.LearnedKnowledge.LearnedKnowledge.setMemento().