Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce time-based batch metrics logging and change XGBoost to use …
…it (#3619) * xgboost log on every iteration with timing Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * get avg time Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * fix Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * batch send all at the end of training Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * stash Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * rename promise to future Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * remove batch_log_interval Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * make should_purge have no side effects Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * do not assume step anymore Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * add test case Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * stash Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * autofmt Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * linting Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * some cleanup and gather batch log time on initial iteration Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * more cleanup Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * reimport time Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * revert changes to xgboost example Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * add chunking test and clean up tests Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * refactor chunking test Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * revert adding __eq__ method to metric entity Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * remove commented-out code Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * fix xgboost autolog tests Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * remove unused import Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * remove unused import Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * code review Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * fix line lenght Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * change to total log batch time instead of average Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * make test go through two cycles of batch logging Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * code review Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * some code review Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * code review Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * remove extra param from xgboost example Signed-off-by: Andrew Nitu <andrewnitu@gmail.com> * nit fix Signed-off-by: Andrew Nitu <andrewnitu@gmail.com>
- Loading branch information
1 parent
21fdf64
commit 8eed7c4
Showing
3 changed files
with
246 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters