![]() |
SG++-Doxygen-Documentation
|
Collection of parameters, which specify the learning process. More...
Public Member Functions | |
fromJson (cls, jsonObject) | |
Restores the TrainingSpecification object from the json object with attributes. | |
getAdaptPoints (self) | |
Getter for Number of points to refine. | |
getAdaptRate (self) | |
Getter for Rate of points to refine. | |
getAdaptThreshold (self) | |
Getter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g. | |
getBOperator (self, name="train") | |
Getter for B operator. | |
getCOperator (self) | |
Getter for C operator. | |
getCOperatorType (self) | |
Returns the type of the C operator. | |
getL (self) | |
Getter for Regularization parameter. | |
getNumOfPointsToRefine (self, refinablePoints) | |
Calculates the number of points which should be refined. | |
setAdaptPoints (self, value) | |
Setter for Number of points to refine. | |
setAdaptRate (self, value) | |
Setter for Rate of points to refine. | |
setAdaptThreshold (self, value) | |
Setter for refinement threshold only the points with greater to equal absolute values of the refinement criterion (e.g. | |
setBOperator (self, value, name="train") | |
Setter for B operator. | |
setCOperator (self, value) | |
Setter for C operator. | |
setCOperatorType (self, value) | |
Sets the type of the C operator. | |
setL (self, value) | |
Setter for Regularization parameter. | |
toString (self) | |
Returns a string that represents the object. | |
Collection of parameters, which specify the learning process.
An object of the class is aggregated by the Learner object.
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.learner.Learner.Learner.setMemento(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.setMemento(), python.uq.learner.Learner.Learner.setMemento(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().
python.learner.TrainingSpecification.TrainingSpecification.getAdaptPoints | ( | self | ) |
Getter for Number of points to refine.
References python.learner.TrainingSpecification.TrainingSpecification.__adaptPoints.
python.learner.TrainingSpecification.TrainingSpecification.getAdaptRate | ( | self | ) |
Getter for Rate of points to refine.
References python.learner.TrainingSpecification.TrainingSpecification.__adaptRate.
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().
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().
python.learner.TrainingSpecification.TrainingSpecification.getCOperator | ( | self | ) |
Getter for C operator.
References python.learner.TrainingSpecification.TrainingSpecification.__cOperator.
python.learner.TrainingSpecification.TrainingSpecification.getCOperatorType | ( | self | ) |
Returns the type of the C operator.
References python.learner.TrainingSpecification.TrainingSpecification.__cOperatorType.
python.learner.TrainingSpecification.TrainingSpecification.getL | ( | self | ) |
Getter for Regularization parameter.
References python.learner.TrainingSpecification.TrainingSpecification.__l, and python.uq.dists.Beta.Beta.__l.
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().
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.
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.
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.
python.learner.TrainingSpecification.TrainingSpecification.setBOperator | ( | self, | |
value, | |||
name = "train" |
|||
) |
Setter for B operator.
value | OperationB |
name | operator identifier |
References python.learner.TrainingSpecification.TrainingSpecification.__bOperator.
python.learner.TrainingSpecification.TrainingSpecification.setCOperator | ( | self, | |
value | |||
) |
Setter for C operator.
value | OperationMatrix |
References python.learner.TrainingSpecification.TrainingSpecification.__cOperator.
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.
python.learner.TrainingSpecification.TrainingSpecification.setL | ( | self, | |
value | |||
) |
Setter for Regularization parameter.
value | double Regularization parameter |
References python.learner.TrainingSpecification.TrainingSpecification.__l, and python.uq.dists.Beta.Beta.__l.
python.learner.TrainingSpecification.TrainingSpecification.toString | ( | self | ) |
Returns a string that represents the object.
Referenced by python.controller.LearnerEventController.LearnerEventController.__repr__(), python.controller.SolverEventController.SolverEventController.__repr__(), python.learner.Learner.Learner.createMemento(), python.uq.learner.Learner.Learner.createMemento(), and python.learner.formatter.GridFormatter.GridFormatter.serialize().