• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine / 2318 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2018 09:12AM UTC
Files 67
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Dec 2018 08:14AM UTC coverage: 93.803% (-0.05%) from 93.852%
GROUP=tests

push

travis-ci

ben-manes
Gradient descent optimizers for adaptive tuning

In our paper on adaptive cache policies, we showed how to correct W-TinyLFU
from under performing in recency-biased traces. At its default configuration,
1% window size, it is biased towards frequency. Since the optimal setting is
not known beforehand, we sample the hit rate and dynamically tune to better
values using niave hill climbinb.

The ML community has advanced hill climbing, also known as gradient descent,
for tuning CNN weights. They incorporate momentum, adaptive step sizes, and
bias correction. This discovers the optimal setting faster, better handles
noise and local optimas, and converges.

This change includes SGD with momentum, Adam, Nadam, and AMSGrad; all
popular choices that attempt to improve upon their predecessor. Initial
analysis is extremely promising, e.g. in a recency-biased trace the
default setting has a hit rate of 0.6% and these climbers are optimal
(LRU). In frequency biased, the hit rate did not degrade.

Further analysis is required before incorporating the improvement into
Caffeine.

Upgraded Gradle, dependencies, and replaced the deprecated OSGi plugin.

5767 of 6148 relevant lines covered (93.8%)

0.94 hits per line

Source Files on job 2318.2 (GROUP=tests)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2290
  • Travis Job 2318.2
  • 2aa8ae97 on github
  • Prev Job for GROUP=tests on master (#2317.2)
  • Next Job for GROUP=tests on master (#2319.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc