#include <c45.hh>
Inheritance diagram for Algo::C45:

Public Member Functions | |
| C45 (std::vector< Data::Column * > &cols, std::vector< unsigned int > &learning, std::string &classification_col) | |
| void | construct_tree () |
| public method to construct the tree | |
Protected Member Functions | |
| void | _construct_tree (Tree::DecisionTree &tree) |
| private methode to start construction | |
| float | _gain (Tree::DecisionTree &tree, unsigned int column) |
| compute id3 gain function | |
| template<typename Type> float | C45::_gain (Tree::DecisionTree &tree, Data::ColumnTyped< Type > *col, unsigned int col_nb) |
| specialized version of gain function | |
| template<typename Type> unsigned int | _get_classe (Tree::DecisionTree &inf_tree, Data::ColumnTyped< Type > *col) |
| , return the destination class | |
| template<typename Type> float | _c45_construct_tree (Tree::DecisionTree &tree, Data::ColumnTyped< Type > *col, unsigned int col_nb) |
| , construct the tree when column is selected | |
| void | _cut_tree (Tree::DecisionTree &tree) |
Static Protected Attributes | |
| const unsigned | _delta = 10 |
Definition at line 32 of file c45.hh.
1.3.2