SG++-Doxygen-Documentation
python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor Class Reference

TrainingSpecification Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning creation of the training specification. More...

Inheritance diagram for python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor:

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 withAdaptPoints (self, value)
 Specifies number of points, which have to be refined in refinement step. More...
 
def withAdaptRate (self, value)
 Specifies rate from total number of points on grid, which should be refined. More...
 
def withAdaptThreshold (self, value)
 Specifies refinement threshold. More...
 
def withIdentityOperator (self)
 Specifies to use identity operator. More...
 
def withLambda (self, value)
 Specifies regression parameter of the learner. More...
 
def withLaplaceOperator (self)
 Specifies to use laplace operator. More...
 
def withVectorizationType (self, vecType)
 

Detailed Description

TrainingSpecification Descriptor helps to implement fluid interface patter on python it encapsulates functionality concerning creation of the training specification.

Constructor & Destructor Documentation

◆ __init__()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__init__ (   self,
  builder 
)

Constructor.

Parameters
builderLearnerBuilder which creates this Descriptor

References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__builder, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

Member Function Documentation

◆ __getattr__()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__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.

Parameters
attrString for method name
Returns
: Method calling in LearnerBuilder

References python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.StopPolicyDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__builder, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.getLearner().

◆ withAdaptPoints()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withAdaptPoints (   self,
  value 
)

Specifies number of points, which have to be refined in refinement step.

Parameters
valueinteger for number of points to refine
Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withAdaptRate()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withAdaptRate (   self,
  value 
)

Specifies rate from total number of points on grid, which should be refined.

Parameters
valuefloat for rate
Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withAdaptThreshold()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withAdaptThreshold (   self,
  value 
)

Specifies refinement threshold.

Parameters
valuefloat for refinement threshold
Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withIdentityOperator()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withIdentityOperator (   self)

Specifies to use identity operator.

Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withLambda()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withLambda (   self,
  value 
)

Specifies regression parameter of the learner.

Parameters
valuefloat for regression parameter
Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withLaplaceOperator()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withLaplaceOperator (   self)

Specifies to use laplace operator.

Returns
: SpecificationDescriptor itself

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.

◆ withVectorizationType()

def python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.withVectorizationType (   self,
  vecType 
)

References python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.


The documentation for this class was generated from the following file: