CVBpy 14.1
RegressionTestResult Class Reference

Regression test result object. More...

Inherits TestResultBase.

Properties

 predicted_values = property
 List[List[float]]: Prediction results for example.
 
 regression_dimension = property
 int: Dimension of the regression results.
 
 target_values = property
 List[List[float]]: Target values for each example.
 
- Properties inherited from TestResultBase
 example_mean_square_error = property
 List[float]: Mean square error for each individual example (the index runs over all the examples that contributed to this test result).
 
 feature_resolution = property
 int: Feature resolution value with which the classifier was trained.
 
 num_examples = property
 int: Number of examples that contributed to this test result.
 
 total_mean_square_error = property
 float: Total mean square error of the predictor over all examples and all coordinates.
 
- Properties inherited from PolimagoFactoryCreatedObject
 correction = property
 cvb.Point2D: Correction factors in X and Y direction required to rescale the input images for projection onto the retina.
 
 feature_window_extent = property
 cvb.Rect: The feature window extent that has been used during classifier training.
 
 file_name = property
 str: Name of the file the object has been loaded from (or empty string if the object was not loaded).
 
 image_planes = property
 int: Intercept weight that has been used for generating this object.
 
 interpolation = property
 int: Interpolation setting used for generating this object (see cvb.polimago.InterpolationType).
 
 lambda_ = property
 float: Regularization value that has been used for generating this object.
 
 offset = property
 float: Intercept weight that has been used for generating this object.
 
 preprocessing = property
 str: Preprocessing code with which this object was generated.
 
 retina_size = property
 cvb.Size2D: Size of the 'Retina' in pixels. More...
 

Additional Inherited Members

- Public Member Functions inherited from PolimagoFactoryCreatedObject
None save (self, str file_name)
 Save this object into a file. More...
 

Detailed Description

Regression test result object.

Load a saved regression test result from a file.

Parameters

file_name : str Name of the file to be loaded.