35 #ifndef GRT_DECISION_TREE_THRESHOLD_NODE_HEADER
36 #define GRT_DECISION_TREE_THRESHOLD_NODE_HEADER
80 virtual bool print()
const;
89 virtual bool getModel( std::ostream &stream )
const;
129 bool set(
const UINT nodeSize,
const UINT featureIndex,
const Float threshold,
const VectorFloat &classProbabilities);
162 #endif //GRT_DECISION_TREE_THRESHOLD_NODE_HEADER
UINT getFeatureIndex() const
virtual bool print() const
DecisionTreeThresholdNode * deepCopy() const
DecisionTreeThresholdNode()
virtual Node * deepCopyNode() const
virtual bool saveParametersToFile(std::fstream &file) const
virtual bool loadParametersFromFile(std::fstream &file)
This file implements a DecisionTreeNode, which is a specific base node used for a DecisionTree...
virtual bool getModel(std::ostream &stream) const
virtual bool predict(const VectorFloat &x)
Float getThreshold() const
virtual ~DecisionTreeThresholdNode()
bool set(const UINT nodeSize, const UINT featureIndex, const Float threshold, const VectorFloat &classProbabilities)