Base class for classifier factory classes.
More...
#include <cvb/polimago/predictor_factory_base.hpp>
Inherits PredictorFactoryBase.
Inherited by ClassificationPredictorFactory, and RegressionPredictorFactory.
|
InterpolationType | Interpolation () const noexcept |
| Gets the interpolation setting to be used for generating this object. More...
|
|
void | SetInterpolation (InterpolationType interpolation) noexcept |
| Sets the interpolation setting to be used for generating this object. Using interpolation will generate less artifacts, but requires more processor time. More...
|
|
int | FeatureResolution () const noexcept |
| Gets the feature resolution (determines the size of the classification retina). More...
|
|
void | SetFeatureResolution (int featureResolution) |
| Sets the feature resolution (determines the size of the classification retina). More...
|
|
double | Lambda () const noexcept |
| Gets the regularization value to be used for generating the object. More...
|
|
void | SetLambda (double lambda) |
| Sets 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. More...
|
|
String | Preprocessing () const |
| Get preprocessing code with which the object is to be generated. More...
|
|
void | SetPreprocessing (const String &code) |
| Set preprocessing code with which the object is to be generated. More...
|
|
Base class for classifier factory classes.
◆ FeatureResolution()
int FeatureResolution |
( |
| ) |
const |
|
inlinenoexcept |
Gets the feature resolution (determines the size of the classification retina).
- Returns
- The feature resolution value.
- Exceptions
-
Does | not throw any exception. |
◆ Interpolation()
Gets the interpolation setting to be used for generating this object.
- Returns
- The interpolation value.
- Exceptions
-
Does | not throw any exception. |
◆ SetFeatureResolution()
void SetFeatureResolution |
( |
int |
featureResolution | ) |
|
|
inline |
Sets the feature resolution (determines the size of the classification retina).
- Parameters
-
[in] | featureResolution | The feature resolution value. |
- Exceptions
-
◆ SetInterpolation()
Sets the interpolation setting to be used for generating this object. Using interpolation will generate less artifacts, but requires more processor time.
- Parameters
-
[in] | interpolation | The interpolation value. |
- Exceptions
-
Does | not throw any exception. |