Base class for classifier factory classes. More...
Inherited by PredictorFactoryBaseEx, and SearchPredictorFactory.
Public Member Functions | |
| int | feature_resolution_default () |
| Default value for feature resolution. | |
| cvb.NumberRange | feature_resolution_range () |
| Valid range of feature resolution value. | |
| 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. | |
| float | lambda_default () |
| Default value for lambda. | |
| cvb.NumberRange | lambda_range () |
| Acceptable scale factor range for search classifier training. | |
| int | preprocessing_max_length () |
| Maximum length of a preprocessing code (excluding the terminating zero). | |
| List[str] | preprocessing_valid_characters () |
| Characters that a preprocessing string may contain. | |
Properties | |
| lambda_ = property | |
| float: The regularization value to be used for generating the object. | |
| preprocessing = property | |
| str: Preprocessing code with which the object is to be generated. | |
Base class for classifier factory classes.
| int feature_resolution_default | ( | ) |
Default value for feature resolution.
int Feature resolution default.
| cvb.NumberRange feature_resolution_range | ( | ) |
| 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.
input : str String to be corrected.
str Corrected string.
| float lambda_default | ( | ) |
Default value for lambda.
float Lambda default.
| cvb.NumberRange lambda_range | ( | ) |
| int preprocessing_max_length | ( | ) |
Maximum length of a preprocessing code (excluding the terminating zero).
int Maximum length.
| List[str] preprocessing_valid_characters | ( | ) |
Characters that a preprocessing string may contain.
List[str] Valid characters.
|
static |
float: The regularization value to be used for generating the object.
Possible values range from 0 to 10, good starting values for experiments are usually around 0.01.