commit | 16c3dfe1d0fba0f1cefbe31a48273d06bafa3217 | [log] [tgz] |
---|---|---|
author | liberato@chromium.org <liberato@chromium.org> | Thu Jan 17 22:59:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 22:59:26 2019 |
tree | 67893e3de3c9814f18c3928e975fba3ebb25a884 | |
parent | 6479d508e866a695957537771cb743754e04fbc2 [diff] |
Trim training set size in LearningTaskControllerImpl. This CL enforces a max training set size in LearningTaskControllerImpl. After reaching that size, it replaces existing examples at random. It also changes how often new models are trained as examples are added. By training when there is some minimum fraction of new examples in the training set, it trains more often when there is little training data. This helps get the model trained sooner, and start making prediction sooner. Since the training set is smaller, these additional models shouldn't be too expensive to create, either. The LearningTask has both of these constants. Change-Id: Iaeb851fe925597e37d114102758ddc5651ebb2dc Reviewed-on: https://chromium-review.googlesource.com/c/1414230 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by: Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#623888}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .