Esempio n. 1
0
def ratio_pf_1sube(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_ratio,
                          oneShot=False,
                          foresting=True,
                          pruning_factor=1 - 0.36787944117)
Esempio n. 2
0
def inner_count_foresting_one_shot_no_inner_pruning(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_inner,
                          oneShot=True,
                          foresting=True,
                          pruning_inner_factor=1)
Esempio n. 3
0
def ratio_pf_8_one_shot(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_ratio,
                          oneShot=True,
                          foresting=True,
                          pruning_factor=0.8)
Esempio n. 4
0
def ratio_pf_99(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_ratio,
                          oneShot=False,
                          foresting=True,
                          pruning_factor=0.99)
Esempio n. 5
0
def leaf_pf_10(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=False,
                          foresting=True,
                          pruning_factor=1)
Esempio n. 6
0
def leaf_pf_2e(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=False,
                          foresting=True,
                          pruning_factor=2 * 0.36787944117)
Esempio n. 7
0
def leaf_count_no_inner_pruning(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=True,
                          foresting=False,
                          pruning_inner_factor=1)
Esempio n. 8
0
def ratio_no_inner_pruning(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_ratio,
                          oneShot=True,
                          foresting=False,
                          pruning_inner_factor=1)
Esempio n. 9
0
def leaf_count_pruning_5_foresting(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=False,
                          foresting=True,
                          pruning_factor=0.5)
Esempio n. 10
0
def ratio_foresting(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_ratio,
                          oneShot=False,
                          foresting=True)
Esempio n. 11
0
def inner_count(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_inner,
                          oneShot=True,
                          foresting=False)
Esempio n. 12
0
def leaf_count_foresting(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=True,
                          foresting=True)
Esempio n. 13
0
def simple_leaf_count(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_leaf,
                          oneShot=True,
                          foresting=False)
Esempio n. 14
0
def diff_foresting(tree, numRoles):
    return h.hierarchical(tree,
                          numRoles,
                          score=h.score_diff,
                          oneShot=False,
                          foresting=True)