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. | |
| None | use_settings_from_test_result (self, cvb.polimago.RegressionTestResult res) |
| Copy the predictor generation settings from a test result. | |
Public Member Functions inherited from PredictorFactoryBaseEx | |
| int | interpolation_default () |
| Default value for interpolation. | |
Public Member Functions inherited from PredictorFactoryBase | |
| 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. | |
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). | |
Properties inherited from PredictorFactoryBase | |
| 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. | |
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.