#include "algo_helper.h"
#include "flatnode.h"
#include <string>
#include <vector>
Go to the source code of this file.
|
void | ML::DT::set_tree_params (DecisionTreeParams ¶ms, int cfg_max_depth=-1, int cfg_max_leaves=-1, float cfg_max_features=1.0f, int cfg_max_n_bins=128, int cfg_min_samples_leaf=1, int cfg_min_samples_split=2, float cfg_min_impurity_decrease=0.0f, CRITERION cfg_split_criterion=CRITERION_END, int cfg_max_batch_size=4096) |
| Set all DecisionTreeParams members. More...
|
|
template<class T , class L > |
std::string | ML::DT::get_tree_summary_text (const TreeMetaDataNode< T, L > *tree) |
| Obtain high-level tree information. More...
|
|
template<class T , class L > |
std::string | ML::DT::get_tree_text (const TreeMetaDataNode< T, L > *tree) |
| Obtain detailed tree information. More...
|
|
template<class T , class L > |
std::string | ML::DT::get_tree_json (const TreeMetaDataNode< T, L > *tree) |
| Export tree as a JSON string. More...
|
|