Skip to content

Fix bookkeeping of error to make min_impurity_decrease work correctly. #28

Open
esunshine-q wants to merge 1 commit into
llnl:mainfrom
esunshine-q:fix-hyperplane-impurity-bookkeeping
Open

Fix bookkeeping of error to make min_impurity_decrease work correctly. #28
esunshine-q wants to merge 1 commit into
llnl:mainfrom
esunshine-q:fix-hyperplane-impurity-bookkeeping

Conversation

@esunshine-q
Copy link
Copy Markdown

I have, for a long time, always felt that the hyperparameter min_impurity_decrease was behaving incorrectly. It turns out that the parameter/comparison itself was not a problem, but the way we were storing and computing "impurity" was incorrect. This PR corrects the computation of impurity and makes the hyperparameter behave properly.

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.

1 participant