Provides methods to access final results obtained with the compute() method of the decision stump training algorithm in the batch processing mode.
More...
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store final results of the decision stump training algorithm
- Parameters
-
fptype | Data type to store prediction results |
input | Input objects for the decision stump training algorithm |
parameter | Parameters of the decision stump training algorithm |
method | Decision stump training method |
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
def check |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Check the correctness of the Result object
- Parameters
-
input | Pointer to the input object |
parameter | Pointer to the parameters structure |
method | Algorithm computation method |
Returns the model trained with the Stump algorithm
- Parameters
-
id | Identifier of the result, classifier.training.ResultId |
- Returns
- Model trained with the Stump algorithm
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
def set |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the result of the training stage of the stump algorithm
- Parameters
-
id | Identifier of the result, classifier.training.ResultId |
value | Pointer to the training result |
The documentation for this class was generated from the following file: