3 #ifndef GRAIL_DECISION_NODE_H
4 #define GRAIL_DECISION_NODE_H
8 #include <unordered_map>
10 #include "DecisionNodeType.h"
18 const int decisionTreeMaxDepth = 99999;
23 template <
class TDecisionType>
30 const virtual TDecisionType* Predict(std::vector<float>& data)
const = 0;
31 virtual void Print(std::unordered_map<int, std::string>& columnNames,
32 const std::string& indent =
"")
const = 0;
33 virtual DecisionNodeType GetNodeType()
const = 0;
41 #endif //GRAIL_DECISION_NODE_H