Provides an interface for input objects for making Decision tree model-based prediction.
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
def check |
( |
|
self, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the correctness of the input object
- Parameters
-
parameter | Pointer to the structure of the algorithm parameters |
method | Computation method |
def getModel |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the input Model object in the prediction stage of the Decision tree algorithm
- Parameters
-
id | Identifier of the input Model object |
- Returns
- Input object that corresponds to the given identifier
def getTable |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns an input object for making Decision tree model-based prediction
- Parameters
-
id | Identifier of the input object |
- Returns
- Input object that corresponds to the given identifier
def setModel |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets the input Model object in the prediction stage of the Decision tree algorithm
- Parameters
-
id | Identifier of the input object |
value | Input Model object |
def setTable |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the input NumericTable object in the prediction stage of the regression algorithm
- Parameters
-
id | Identifier of the input object |
ptr | Pointer to the input object |
The documentation for this class was generated from the following file:
- decision_tree/regression/prediction.py