CVBpy 14.0
All Classes Namespaces Functions Variables Properties Pages
PredictorFactoryBaseEx Class Reference

Base class for classifier factory classes. More...

Inherits PredictorFactoryBase.

Inherited by ClassificationPredictorFactory, and RegressionPredictorFactory.

Public Member Functions

int interpolation_default ()
 Default value for interpolation. More...
 
- Public Member Functions inherited from PredictorFactoryBase
int feature_resolution_default ()
 Default value for feature resolution. More...
 
cvb.NumberRange feature_resolution_range ()
 Valid range of feature resolution value. More...
 
str format_preprocessing_code (str input)
 Correct a preprocessing code to make sure that no invalid characters are in the code and the code does not exceed the maximum length. More...
 
float lambda_default ()
 Default value for lambda. More...
 
cvb.NumberRange lambda_range ()
 Acceptable scale factor range for search classifier training. More...
 
int preprocessing_max_length ()
 Maximum length of a preprocessing code (excluding the terminating zero). More...
 
List[str] preprocessing_valid_characters ()
 Characters that a preprocessing string may contain. More...
 

Properties

 feature_resolution = property
 int: The feature resolution (determines the size of the classification retina).
 
 interpolation = property
 int: The interpolation setting to be used for generating this object (see cvb.polimago.InterpolationType). More...
 
- Properties inherited from PredictorFactoryBase
 lambda_ = property
 float: The regularization value to be used for generating the object. More...
 
 preprocessing = property
 str: Preprocessing code with which the object is to be generated.
 

Detailed Description

Base class for classifier factory classes.

Member Function Documentation

◆ interpolation_default()

int interpolation_default ( )

Default value for interpolation.

Returns

int Interpolation default (see cvb.polimago.InterpolationType).

Property Documentation

◆ interpolation

interpolation = property
static

int: The interpolation setting to be used for generating this object (see cvb.polimago.InterpolationType).

Using interpolation will generate less artifacts, but requires more processor time.