Classes

  • namespace DecisionTree
  • namespace std
  • struct Bool Wrapper class for bool.
  • class DataFrame The DataFrame is a matrix where each row corresponds to a data entry and each column of that row representing a characteristic of that data entry.
  • struct DecisionNode DecisionNodes can either be branches or leafs. Branch nodes store data used to instruct the traversal of the decision tree. The data used for traversal are a column index of a DataFrame and a row value. Both of these are used for comparison with new data to go left (true) or right (false). Leaf nodes contain data used for prediction.
  • class DecisionTreeBase DecisionTreeBase is a semi-virtual parent class that contains methods used in both DecisionTreeClassifier and DecisionTreeRegressor.
  • class DecisionTreeClassifier
  • struct Double Wrapper class for double.
  • struct Generic Generic is used to capture type string and the following primitives: double, integer, bool. Once captured, it has methods to convert to the appropriate type. Currently only getDouble() and getString() are implemented. Generic is not instantiable and is used for polymorphic behaviors. Only sub-classes can be constructed.
  • struct Integer Wrapper class for integer.
  • struct String Wrapper class for string.