Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose weights to user #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

baggepinnen
Copy link

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.

@coveralls
Copy link

coveralls commented Feb 6, 2020

Coverage Status

Coverage decreased (-6.0%) to 81.802% when pulling 5d442d8 on baggepinnen:master into 579062f on bensadeghi:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants