|
MLPACK
1.0.4
|
Empty statistic if you are not interested in storing statistics in your tree. More...
Public Member Functions | |
| EmptyStatistic () | |
| template<typename MatType > | |
| EmptyStatistic (const MatType &, const size_t, const size_t) | |
| This constructor is called when a leaf is created. | |
| template<typename MatType > | |
| EmptyStatistic (const MatType &, const size_t, const size_t, const EmptyStatistic &, const EmptyStatistic &) | |
| This constructor is called when a non-leaf node is created. | |
| ~EmptyStatistic () | |
Empty statistic if you are not interested in storing statistics in your tree.
Use this as a template for your own.
Definition at line 34 of file statistic.hpp.
| mlpack::tree::EmptyStatistic::EmptyStatistic | ( | ) | [inline] |
Definition at line 37 of file statistic.hpp.
| mlpack::tree::EmptyStatistic::~EmptyStatistic | ( | ) | [inline] |
Definition at line 38 of file statistic.hpp.
| mlpack::tree::EmptyStatistic::EmptyStatistic | ( | const MatType & | , |
| const size_t | , | ||
| const size_t | |||
| ) | [inline] |
This constructor is called when a leaf is created.
| dataset | Matrix that the tree is being built on. |
| begin | Starting index corresponding to this leaf. |
| count | Number of points held in this leaf. |
Definition at line 48 of file statistic.hpp.
| mlpack::tree::EmptyStatistic::EmptyStatistic | ( | const MatType & | , |
| const size_t | , | ||
| const size_t | , | ||
| const EmptyStatistic & | , | ||
| const EmptyStatistic & | |||
| ) | [inline] |
This constructor is called when a non-leaf node is created.
This lets you build fast bottom-up statistics when building trees.
| dataset | Matrix that the tree is being built on. |
| begin | Starting index corresponding to this leaf. |
| count | Number of points held in this leaf. |
| leftStat | EmptyStatistic object of the left child node. |
| rightStat | EmptyStatistic object of the right child node. |
Definition at line 64 of file statistic.hpp.
1.7.6.1