SG++-Doxygen-Documentation
|
Folding Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning the usage for N-fold cross-validation. 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, type) |
Constructor. More... | |
def | withLevel (self, level) |
Defines the folding level. More... | |
def | withSeed (self, seed) |
Defines the seed for random folding policy. More... | |
Static Public Attributes | |
int | FILES = 400 |
int | RANDOM = 200 |
int | SEQUENTIAL = 100 |
int | STRATIFIED = 300 |
Folding Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning the usage for N-fold cross-validation.
def python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__init__ | ( | self, | |
builder, | |||
type | |||
) |
Constructor.
builder | LearnerBuilder which creates this Descriptor |
type | Type of folding policy that should be build |
References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__builder, and python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__type.
def python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__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.SpecificationDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__level, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__level, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__policy, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__policy, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__seed, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__type, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.FILES, python.learner.LearnerBuilder.LearnerBuilder.getLearner(), python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.RANDOM, python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.SEQUENTIAL, and python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.STRATIFIED.
def python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.withLevel | ( | self, | |
level | |||
) |
Defines the folding level.
level | integer folding level |
References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__level, and python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__level.
def python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.withSeed | ( | self, | |
seed | |||
) |
Defines the seed for random folding policy.
seed | integer seed |
References python.learner.LearnerBuilder.LearnerBuilder.FoldingDescriptor.__seed.
|
static |
|
static |
|
static |
|
static |