Factory class for regression predictors. More...
Inherits PredictorFactoryBaseEx.
Public Member Functions | |
None | use_settings_from_predictor (self, cvb.polimago.RegressionPredictor clf) |
Copy the predictor generation settings from a predictor. More... | |
None | use_settings_from_test_result (self, cvb.polimago.RegressionTestResult res) |
Copy the predictor generation settings from a test result. More... | |
Public Member Functions inherited from PredictorFactoryBaseEx | |
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... | |
Additional Inherited Members | |
Properties inherited from PredictorFactoryBaseEx | |
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. | |
Factory class for regression predictors.
Instantiates a RegressionPredictorFactory object.
None use_settings_from_predictor | ( | self, | |
cvb.polimago.RegressionPredictor | clf | ||
) |
Copy the predictor generation settings from a predictor.
clf : cvb.polimago.RegressionPredictor Predictor to take the settings from.
None use_settings_from_test_result | ( | self, | |
cvb.polimago.RegressionTestResult | res | ||
) |
Copy the predictor generation settings from a test result.
res : cvb.polimago.RegressionTestResult Test result object from which to adopt the training settings.