|  | Grail (C++)
    1.1.1
    A multi-platform, modular, universal engine for embedding advanced AI in games. | 
 
 
 
    1 #ifndef GRAIL_C45_ALGORITHM_H 
    2 #define GRAIL_C45_ALGORITHM_H 
    5 #include <unordered_set> 
    6 #include "C45IterationParameters.h" 
    7 #include "C45ValueDecisionCounter.h" 
    9 #include "../DecisionTree/DecisionNode.h" 
   15         class ISimulatedGameAction;
 
   30             std::unique_ptr<DecisionNode<ISimulatedGameAction>> 
ConstructTree(
 
   32                 int maxDepth = decisionTreeMaxDepth);
 
   43             std::unique_ptr<DecisionNode<ISimulatedGameAction>> PerformSplit(
 
   48             std::unordered_set<int> usedColumns;
 
   55 #endif //GRAIL_C45_ALGORITHM_H 
 
 
const std::unordered_set< int > & GetUsedColumns() const
Gets indices of columns in the dataset used for learning with the C4.5 Algorithm that were actually u...
Definition: C45Algorithm.cpp:156
Base class for all actions in SimulatedGame. Derive from it for your actions.
Definition: ISimulatedGameAction.hh:39
The whole class should be INTERNAL; part of the private interface.
Definition: C45IterationParameters.h:12
Definition: Dataset.hh:19
std::unique_ptr< DecisionNode< ISimulatedGameAction > > ConstructTree(Dataset &dataset, int maxDepth=decisionTreeMaxDepth)
Constructs a new decision tree based on the provided dataset. The decision type is given by generic a...
Definition: C45Algorithm.cpp:55
This class encapsulates the C4.5 Algorithm used to generate a decision tree (see Grail....
Definition: C45Algorithm.h:21