def information_gain_test():
    branch = data.sample_branch_data()
    score = Utils.Information_Gain(0, branch)
    print('Your information gain: ', score)
    print('My information gain: ', -0.91829583405448956)
Esempio n. 2
0
def information_gain_test():
    branch = data.sample_branch_data()
    score = Utils.informationGain(0, branch)
    print('Your information gain: ', score)