29 #ifndef GRT_DECISION_TREE_TRIPLE_FEATURE_NODE_HEADER
30 #define GRT_DECISION_TREE_TRIPLE_FEATURE_NODE_HEADER
33 #include "../../ClusteringModules/KMeans/KMeans.h"
74 virtual bool print()
const;
83 virtual bool getModel( std::ostream &stream )
const;
106 UINT getFeatureIndexA()
const;
113 UINT getFeatureIndexB()
const;
120 UINT getFeatureIndexC()
const;
132 bool set(
const UINT nodeSize,
const UINT featureIndexA,
const UINT featureIndexB,
const UINT featureIndexC,
const VectorFloat &classProbabilities);
167 #endif //GRT_DECISION_TREE_TRIPLE_FEATURE_NODE_HEADER
virtual bool computeBestSpilt(const UINT &trainingMode, const UINT &numSplittingSteps, const ClassificationData &trainingData, const Vector< UINT > &features, const Vector< UINT > &classLabels, UINT &featureIndex, Float &minError)
virtual bool print() const
This file implements a DecisionTreeNode, which is a specific base node used for a DecisionTree...
virtual bool saveParametersToFile(std::fstream &file) const
virtual bool predict(const VectorFloat &x, VectorFloat &classLikelihoods)
DecisionTreeNode * deepCopy() const
virtual Node * deepCopyNode() const
virtual bool loadParametersFromFile(std::fstream &file)
virtual bool getModel(std::ostream &stream) const