SG++-Doxygen-Documentation
|
Collection of parameters, which specify the learning process. More...
Public Member Functions | |
def | fromJson (cls, jsonObject) |
Restores the TrainingSpecification object from the json object with attributes. More... | |
def | getAdaptPoints (self) |
Getter for Number of points to refine. More... | |
def | getAdaptRate (self) |
Getter for Rate of points to refine. More... | |
def | getAdaptThreshold (self) |
Getter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g. More... | |
def | getBOperator (self, name="train") |
Getter for B operator. More... | |
def | getCOperator (self) |
Getter for C operator. More... | |
def | getCOperatorType (self) |
Returns the type of the C operator. More... | |
def | getL (self) |
Getter for Regularization parameter. More... | |
def | getNumOfPointsToRefine (self, refinablePoints) |
Calculates the number of points which should be refined. More... | |
def | setAdaptPoints (self, value) |
Setter for Number of points to refine. More... | |
def | setAdaptRate (self, value) |
Setter for Rate of points to refine. More... | |
def | setAdaptThreshold (self, value) |
Setter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g. More... | |
def | setBOperator (self, value, name="train") |
Setter for B operator. More... | |
def | setCOperator (self, value) |
Setter for C operator. More... | |
def | setCOperatorType (self, value) |
Sets the type of the C operator. More... | |
def | setL (self, value) |
Setter for Regularization parameter. More... | |
def | toString (self) |
Returns a string that represents the object. More... | |
Collection of parameters, which specify the learning process.
An object of the class is aggregated by the Learner object.
def python.learner.TrainingSpecification.TrainingSpecification.fromJson | ( | cls, | |
jsonObject | |||
) |
Restores the TrainingSpecification object from the json object with attributes.
cls | python keyword (do not specify) |
jsonObject | A json object. |
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.setMemento(), python.uq.learner.Learner.Learner.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().
def python.learner.TrainingSpecification.TrainingSpecification.getAdaptPoints | ( | self | ) |
Getter for Number of points to refine.
References python.learner.TrainingSpecification.TrainingSpecification.__adaptPoints.
def python.learner.TrainingSpecification.TrainingSpecification.getAdaptRate | ( | self | ) |
Getter for Rate of points to refine.
References python.learner.TrainingSpecification.TrainingSpecification.__adaptRate.
def python.learner.TrainingSpecification.TrainingSpecification.getAdaptThreshold | ( | self | ) |
Getter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g.
alpha or error) will be refined
References python.learner.TrainingSpecification.TrainingSpecification.__adaptThreshold.
Referenced by python.uq.learner.Regressor.Regressor.refineGrid().
def python.learner.TrainingSpecification.TrainingSpecification.getBOperator | ( | self, | |
name = "train" |
|||
) |
Getter for B operator.
name | operator identifier |
References python.learner.TrainingSpecification.TrainingSpecification.__bOperator.
Referenced by python.uq.learner.Regressor.Regressor.evalError().
def python.learner.TrainingSpecification.TrainingSpecification.getCOperator | ( | self | ) |
Getter for C operator.
References python.learner.TrainingSpecification.TrainingSpecification.__cOperator.
def python.learner.TrainingSpecification.TrainingSpecification.getCOperatorType | ( | self | ) |
Returns the type of the C operator.
References python.learner.TrainingSpecification.TrainingSpecification.__cOperatorType.
def python.learner.TrainingSpecification.TrainingSpecification.getL | ( | self | ) |
Getter for Regularization parameter.
References python.learner.TrainingSpecification.TrainingSpecification.__l.
Referenced by python.uq.learner.Regressor.Regressor.learnData().
def python.learner.TrainingSpecification.TrainingSpecification.getNumOfPointsToRefine | ( | self, | |
refinablePoints | |||
) |
Calculates the number of points which should be refined.
refinablePoints | integer number of points which can be refined |
References python.learner.TrainingSpecification.TrainingSpecification.__adaptPoints, and python.learner.TrainingSpecification.TrainingSpecification.__adaptRate.
Referenced by python.uq.refinement.RefinementManager.RefinementManager.candidates(), and python.uq.learner.Regressor.Regressor.refineGrid().
def python.learner.TrainingSpecification.TrainingSpecification.setAdaptPoints | ( | self, | |
value | |||
) |
Setter for Number of points to refine.
value | integer Number of points to refine |
References python.learner.TrainingSpecification.TrainingSpecification.__adaptPoints.
def python.learner.TrainingSpecification.TrainingSpecification.setAdaptRate | ( | self, | |
value | |||
) |
Setter for Rate of points to refine.
value | double in [0,1] Rate of points to refine |
References python.learner.TrainingSpecification.TrainingSpecification.__adaptRate.
def python.learner.TrainingSpecification.TrainingSpecification.setAdaptThreshold | ( | self, | |
value | |||
) |
Setter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g.
alpha or error) will be refined
value | float threshold |
References python.learner.TrainingSpecification.TrainingSpecification.__adaptThreshold.
def python.learner.TrainingSpecification.TrainingSpecification.setBOperator | ( | self, | |
value, | |||
name = "train" |
|||
) |
Setter for B operator.
value | OperationB |
name | operator identifier |
References python.learner.TrainingSpecification.TrainingSpecification.__bOperator.
def python.learner.TrainingSpecification.TrainingSpecification.setCOperator | ( | self, | |
value | |||
) |
Setter for C operator.
value | OperationMatrix |
References python.learner.TrainingSpecification.TrainingSpecification.__cOperator.
def python.learner.TrainingSpecification.TrainingSpecification.setCOperatorType | ( | self, | |
value | |||
) |
Sets the type of the C operator.
value | string type of the C operator |
References python.learner.TrainingSpecification.TrainingSpecification.__cOperatorType.
def python.learner.TrainingSpecification.TrainingSpecification.setL | ( | self, | |
value | |||
) |
Setter for Regularization parameter.
value | double Regularization parameter |
References python.learner.TrainingSpecification.TrainingSpecification.__l.
def python.learner.TrainingSpecification.TrainingSpecification.toString | ( | self | ) |
Returns a string that represents the object.
References create_dataset.type.
Referenced by python.uq.learner.Learner.Learner.createMemento().