Provides methods to access prediction results obtained with the compute() method of the classifier prediction algorithm in the batch processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory for storing prediction results of the classification algorithm
- Parameters
-
| fptype | Data type for storing prediction results |
| input | Pointer to the input objects of the classification algorithm |
| parameter | Pointer to the parameters of the classification algorithm |
| method | Computation method |
- Full Names
allocate_Float64 is for float64
allocate_Float32 is for float32
| def check |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the correctness of the Result object
- Parameters
-
| input | Pointer to the the input object |
| parameter | Pointer to the algorithm parameters |
| method | Computation method |
Returns the prediction result of the classification algorithm
- Parameters
-
| id | Identifier of the prediction result, ResultId |
- Returns
- Prediction result that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the prediction result of the classification algorithm
- Parameters
-
| id | Identifier of the prediction result, ResultId |
| value | Pointer to the prediction result |
The documentation for this class was generated from the following file: