-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Prevent training without setting up caches. #4066
Conversation
* Add warning for internal functions. * Check number of features.
Calling @RAMitchell , @hcho3 Could you take a look see if there is better decision? |
Codecov Report
@@ Coverage Diff @@
## master #4066 +/- ##
==========================================
- Coverage 60.56% 60.55% -0.02%
==========================================
Files 130 130
Lines 11756 11758 +2
==========================================
Hits 7120 7120
- Misses 4636 4638 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we really say don't use something that is documented as a part of the public api? Maybe it is better to say 'power users only' or something.
Actually I don't like my solution. Let's see if I can make new datasets part of the caches safely. |
@RAMitchell Turns out I can't make the incoming dataset for training to become part of the caches for the following reason: In And no, it's not "power user only". I'm a power user ( I think :) ), I don't know how to make it work other than making a copy of the abstracted APIs. |
I will go ahead and merge this if no objections. @RAMitchell @hcho3 |
Go ahead. |
@thvasilo Thanks for the pointer. |
close [Blocking] python kernel failed when call Booster().predict #4056 .