23 if (alpha < 0 || alpha > 1)
24 SG_ERROR(
"expect 0 <= alpha <= 1, but got %g\n", alpha)
44 int32_t CBalancedConditionalProbabilityTree::tree_depth(
node_t *
node)
void left(CTreeMachineNode *l)
virtual bool which_subtree(node_t *node, SGVector< float32_t > ex)
CBalancedConditionalProbabilityTree()
void set_alpha(float64_t alpha)
void right(CTreeMachineNode *r)
float64_t predict_node(SGVector< float32_t > ex, node_t *node)
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
static int32_t pow(bool x, int32_t n)