1 #ifndef GRAIL_DECISION_NODE_H
2 #define GRAIL_DECISION_NODE_H
4 #include "DecisionNodeType.h"
7 #include <unordered_map>
14 const int decisionTreeMaxDepth = 99999;
19 template <
class TDecisionType>
27 const virtual TDecisionType* Predict(std::vector<float>& data)
const = 0;
28 virtual void Print(std::unordered_map<int, std::string>& columnNames,
const std::string& indent =
"")
const = 0;
29 virtual DecisionNodeType GetNodeType()
const = 0;
Class for internal usage. Decision tree node base type.
Definition: DecisionNode.h:21
A base class for an object that is passed to Serialize() and Deserialize() methods of DecisionTree....
Definition: IDecisionTreeSerializer.hh:21