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

[MRG] Make GradientBoostingClassifier error message more informative (fixes 6433) #6435

Closed
wants to merge 1 commit into from

Conversation

yenchenlin
Copy link
Contributor

I've modified the error message to make it become more useful.
Can @ogrisel please have a look?
(Oh and it seems CI has some issue)

Fixes #6433

@yenchenlin yenchenlin changed the title [MRG] Make GradientBoostingClassifier error message more informative (fixes 6433) [WIP] Make GradientBoostingClassifier error message more informative (fixes 6433) Feb 23, 2016
@yenchenlin yenchenlin force-pushed the fix-6433 branch 3 times, most recently from b884606 to 3f78f9e Compare February 24, 2016 02:09
@yenchenlin yenchenlin changed the title [WIP] Make GradientBoostingClassifier error message more informative (fixes 6433) [MRG] Make GradientBoostingClassifier error message more informative (fixes 6433) Feb 24, 2016
@MechCoder
Copy link
Member

I'm sure you will be able to think of a better way to check this (at this stage).

@amueller
Copy link
Member

amueller commented Oct 8, 2016

@yenchenlin are you still working on this?

@yenchenlin
Copy link
Contributor Author

yenchenlin commented Oct 11, 2016

@amueller sorry for the late reply, yes!

@MechCoder I think the error message is too verbose, but I still consider it as the fittest place to check this error.
Any good solution?

Also, maybe variables pos and neg can be renamed as n_pos and n_neg since it represents the number of positive and negative sample?

@amueller
Copy link
Member

This should probably go in the gradient boosting estimator base class..

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.

None yet

3 participants