23 if (alpha < 0 || alpha > 1)
24 SG_ERROR(
"expect 0 <= alpha <= 1, but got %g\n", alpha)
44 int32_t CBalancedConditionalProbabilityTree::tree_depth(
bnode_t *
node)
The node of the tree structure forming a TreeMachine The node contains pointer to its parent and poin...
virtual bool which_subtree(bnode_t *node, SGVector< float32_t > ex)
CBalancedConditionalProbabilityTree()
float64_t predict_node(SGVector< float32_t > ex, bnode_t *node)
void right(CBinaryTreeMachineNode *r)
void set_alpha(float64_t alpha)
all of classes and functions are contained in the shogun namespace
static float64_t log2(float64_t v)
log10(x), x being a complex128_t
void left(CBinaryTreeMachineNode *l)
static int32_t pow(bool x, int32_t n)