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

gonum / gonum / 2904
77%

Build:
DEFAULT BRANCH: master
Ran 23 Dec 2018 01:32PM UTC
Jobs 16
Files 390
Run time 55min
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

23 Dec 2018 01:17PM UTC coverage: 76.854% (+0.02%) from 76.837%
2904

push

travis-ci

web-flow
optimize: Refactor gradient convergence and remove DefaultSettings (#772)

* optimize: Refactor gradient convergence and remove DefaultSettings

The current API design makes it easy to make a mistake in not using the DefaultSettings. This change makes the zero value of Settings do the 'right thing'. The remaining setting that is used by the DefaultSettings is to change the behavior of the GradientTolerance. This was necessary because gradient-based Local methods (BFGS, LBFGS, CG, etc.) typically _define_ convergence by the value of the gradient, while Global methods (CMAES, GuessAndCheck) are defined by _not_ converging when the gradient is small. The problem is to have two completely different default behaviors without knowing the Method. The solution is to treat a very small value of the gradient as a method-based convergence, in the same way that a small spread of data is a convergence of CMAES. Thus, the default behavior, from the perspective of Settings, is never to converge based on the gradient, but all of the Local methods will converge when a value close to the minimum is found. This default value is set to a very small value, such that users should not want a smaller value. A user can thus still set a (more reasonable) convergence value through settings.

Fixes 677.

45490 of 59190 relevant lines covered (76.85%)

14.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2904.1 (TAGS="") 23 Dec 2018 01:33PM UTC 0
76.59
Travis Job 2904.1
2 2904.2 (TAGS="-tags bounds") 23 Dec 2018 01:35PM UTC 0
76.61
Travis Job 2904.2
3 2904.3 (TAGS="-tags noasm") 23 Dec 2018 01:37PM UTC 0
76.78
Travis Job 2904.3
4 2904.4 (TAGS="-tags appengine") 23 Dec 2018 01:37PM UTC 0
76.77
Travis Job 2904.4
5 2904.5 (TAGS="") 23 Dec 2018 01:32PM UTC 0
76.59
Travis Job 2904.5
6 2904.6 (TAGS="-tags bounds") 23 Dec 2018 01:49PM UTC 0
76.61
Travis Job 2904.6
7 2904.7 (TAGS="-tags noasm") 23 Dec 2018 01:50PM UTC 0
76.77
Travis Job 2904.7
8 2904.8 (TAGS="-tags appengine") 23 Dec 2018 01:52PM UTC 0
76.76
Travis Job 2904.8
9 2904.9 (TAGS="") 23 Dec 2018 01:52PM UTC 0
76.59
Travis Job 2904.9
10 2904.10 (TAGS="-tags bounds") 23 Dec 2018 01:54PM UTC 0
76.6
Travis Job 2904.10
11 2904.11 (TAGS="-tags noasm") 23 Dec 2018 02:07PM UTC 0
76.76
Travis Job 2904.11
12 2904.12 (TAGS="-tags appengine") 23 Dec 2018 02:08PM UTC 0
76.76
Travis Job 2904.12
13 2904.13 (TAGS="") 23 Dec 2018 02:10PM UTC 0
76.58
Travis Job 2904.13
14 2904.14 (TAGS="-tags bounds") 23 Dec 2018 02:12PM UTC 0
76.6
Travis Job 2904.14
15 2904.15 (TAGS="-tags noasm") 23 Dec 2018 02:13PM UTC 0
76.76
Travis Job 2904.15
16 2904.16 (TAGS="-tags appengine") 23 Dec 2018 02:27PM UTC 0
76.76
Travis Job 2904.16
Source Files on build 2904
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2904
  • b545e3e7 on github
  • Prev Build on master (#2903)
  • Next Build on master (#2905)
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