Factory object for holdout tests.
More...
#include <cvb/polimago/holdout_test_result_factory.hpp>
Inherits TestResultFactory.
|
| | HoldoutTestResultFactory () |
| | Constructor.
|
| |
| InterpolationType | Interpolation () const noexcept |
| | Gets the interpolation setting to be used for generating this object.
|
| |
| 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.
|
| |
| double | Lambda () const noexcept |
| | Gets the regularization value to be used for generating the object.
|
| |
| 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.
|
| |
| String | Preprocessing () const |
| | Get preprocessing code with which the object is to be generated.
|
| |
| void | SetPreprocessing (const String &code) |
| | Set preprocessing code with which the object is to be generated.
|
| |
| int | FeatureResolution () const noexcept |
| | Gets the feature resolution (determines the size of the classification retina.
|
| |
| void | SetFeatureResolution (int featureResolution) |
| | Sets the feature resolution (determines the size of the classification retina).
|
| |
Factory object for holdout tests.
◆ HoldoutTestResultFactory()
◆ 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. |
◆ Lambda()
Gets the regularization value to be used for generating the object.
- Returns
- The lambda value.
- Exceptions
-
| Does | not throw any exception. |
◆ Preprocessing()
| String Preprocessing |
( |
| ) |
const |
|
inline |
Get preprocessing code with which the object is to be generated.
- Returns
- The preprocessing code.
- Exceptions
-
◆ 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. |
◆ SetLambda()
| void SetLambda |
( |
double | lambda | ) |
|
|
inline |
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.
- Parameters
-
| [in] | lambda | The lambda value. |
- Exceptions
-
◆ SetPreprocessing()
| void SetPreprocessing |
( |
const String & | code | ) |
|
|
inline |
Set preprocessing code with which the object is to be generated.
- Parameters
-
| [in] | code | The preprocessing code. |
- Exceptions
-