DecisionTree.jl
DecisionTree.jl copied to clipboard
expose weights to user
This PR allows the user to specify a weight vector when fitting trees and forests. There is one oddity, I would every now and then get an out-of-bounds error in the entropy
function if weights were larger than 1. I made an ugly hack and thresholded the access to the entropy vector, but before merging this PR that issue should be worked out properly.