25 #ifndef __DECISION_FOREST_CLASSIFICATION_PREDICT_TYPES_H__
26 #define __DECISION_FOREST_CLASSIFICATION_PREDICT_TYPES_H__
28 #include "algorithms/algorithm.h"
29 #include "algorithms/decision_forest/decision_forest_classification_model.h"
30 #include "algorithms/classifier/classifier_predict_types.h"
36 namespace decision_forest
38 namespace classification
59 lastResultId = unweighted
71 class DAAL_EXPORT Input :
public classifier::prediction::Input
73 typedef classifier::prediction::Input super;
76 Input(
const Input& other) : super(other){}
87 data_management::NumericTablePtr
get(classifier::prediction::NumericTableInputId id)
const;
94 decision_forest::classification::ModelPtr
get(classifier::prediction::ModelInputId id)
const;
101 void set(classifier::prediction::NumericTableInputId
id,
const data_management::NumericTablePtr &ptr);
108 void set(classifier::prediction::ModelInputId
id,
const decision_forest::classification::ModelPtr &ptr);
116 services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
126 struct DAAL_EXPORT Parameter :
public daal::algorithms::classifier::Parameter
128 Parameter(
size_t nClasses, VotingMethod votingMethod = weighted) :
129 daal::algorithms::classifier::Parameter(nClasses),
130 votingMethod(votingMethod) {}
131 VotingMethod votingMethod;
132 services::Status check()
const DAAL_C11_OVERRIDE;
137 using interface1::Input;
138 using interface1::Parameter;
145 #endif // __DECISION_FOREST_CLASSIFICATION_PREDICT_TYPES_H__
daal::algorithms::decision_forest::classification::prediction::interface1::Input
Input objects in the prediction stage of the DECISION_FOREST_CLASSIFICATION algorithm.
Definition: decision_forest_classification_predict_types.h:71
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::decision_forest::classification::prediction::interface1::Parameter
Class for the parameters of the Decision Forest classification algorithm.
Definition: decision_forest_classification_predict_types.h:126
daal::algorithms::classifier::prediction::NumericTableInputId
NumericTableInputId
Definition: classifier_predict_types.h:55
daal::algorithms::classifier::prediction::ModelInputId
ModelInputId
Definition: classifier_predict_types.h:66
daal::algorithms::decision_forest::classification::prediction::VotingMethod
VotingMethod
Available methods for averaging trees predictions.
Definition: decision_forest_classification_predict_types.h:55