SG++-Doxygen-Documentation
|
Class keeps all information, which was learned during the learning process. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | createMemento (self) |
Creates a new memento to hold the current state. More... | |
def | getAlphas (self) |
Returns current alpha vector. More... | |
def | setMemento (self, memento) |
Restores the state which is saved in the given memento. More... | |
def | update (self, alpha) |
Alters the current alpha vector. More... | |
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.
def python.learner.LearnedKnowledge.LearnedKnowledge.__init__ | ( | self | ) |
Constructor.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas.
def python.learner.LearnedKnowledge.LearnedKnowledge.createMemento | ( | self | ) |
Creates a new memento to hold the current state.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas.
Referenced by python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.writeToFile(), and python.uq.uq_setting.UQSetting.UQSetting.writeToFile().
def python.learner.LearnedKnowledge.LearnedKnowledge.getAlphas | ( | self | ) |
Returns current alpha vector.
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas.
def python.learner.LearnedKnowledge.LearnedKnowledge.setMemento | ( | self, | |
memento | |||
) |
Restores the state which is saved in the given memento.
memento | the memento object |
References sgpp::base::ScreenOutput.update(), python.learner.LearnedKnowledge.LearnedKnowledge.update(), sgpp::base::LinearLoadBalancer.update(), sgpp::base::ForwardSelectorRefinementIndicator.update(), sgpp::base::LinearLoadBalancerMultiPlatform.update(), sgpp::base::ImpurityRefinementIndicator.update(), sgpp::combigrid::BinaryHeap< T, Comparator >.update(), and sgpp::base::HashGridStorage.update().
def python.learner.LearnedKnowledge.LearnedKnowledge.update | ( | self, | |
alpha | |||
) |
Alters the current alpha vector.
alpha | new alpha vector |
References python.learner.LearnedKnowledge.LearnedKnowledge.__alphas.
Referenced by python.uq.refinement.RefinementStrategy.Ranking.rank(), and python.learner.LearnedKnowledge.LearnedKnowledge.setMemento().