Skip to content

Commit

Permalink
Fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskeck committed Jun 5, 2017
2 parents 70fd718 + 41f8023 commit 5cafdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyFastBDT/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def flatness(probability, feature, target, weights=None, classes=[0, 1]):
hist_inc = hist_inc.cumsum(axis=0)
diff = (hist_n.T - hist_inc)**2
flatness_score += diff.sum() / (100*99)
return flatness_score
return np.sqrt(flatness_score)



Expand Down

0 comments on commit 5cafdef

Please sign in to comment.