SG++-Doxygen-Documentation
|
TrainingStopPolicy Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning creation of the training stop policy. More...
Public Member Functions | |
def | __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 LearnerBuilder so it tries to call the method from our builder. More... | |
def | __init__ (self, builder) |
Constructor. More... | |
def | withAccuracyLimit (self, limit) |
Defines the accuracy for test data, which have to be arrived. More... | |
def | withAdaptiveIterationLimit (self, limit) |
Defines the maximal number of refinement steps limit. More... | |
def | withEpochsLimit (self, limit) |
Defines the maximal number of epochs MSE of test data can constantly increase. More... | |
def | withGridSizeLimit (self, limit) |
Defines the maximal number of points on grid. More... | |
def | withMSELimit (self, limit) |
Defines the MSE for test data, which have to be arrived. More... | |
TrainingStopPolicy Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning creation of the training stop policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__init__ | ( | self, | |
builder | |||
) |
Constructor.
builder | LearnerBuilder which creates this Descriptor |
References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__builder, and python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__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 LearnerBuilder so it tries to call the method from our builder.
attr | String for method name |
References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy, and python.learner.LearnerBuilder.LearnerBuilder.getLearner().
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.withAccuracyLimit | ( | self, | |
limit | |||
) |
Defines the accuracy for test data, which have to be arrived.
limit | float for accuracy |
References python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.withAdaptiveIterationLimit | ( | self, | |
limit | |||
) |
Defines the maximal number of refinement steps limit.
limit | integer for maximal number of refinement steps |
References python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.withEpochsLimit | ( | self, | |
limit | |||
) |
Defines the maximal number of epochs MSE of test data can constantly increase.
limit | integer for maximal number of epochs |
References python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.withGridSizeLimit | ( | self, | |
limit | |||
) |
Defines the maximal number of points on grid.
limit | integer for maximal number of points on grid |
References python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.
def python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.withMSELimit | ( | self, | |
limit | |||
) |
Defines the MSE for test data, which have to be arrived.
limit | float for MSE |
References python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy.