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

JohannesBuchner / UltraNest / 007f4c6a-f33c-473c-9a08-1941bcb03fde
74%

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2024 09:20AM UTC
Jobs 1
Files 15
Run time 1min
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

21 Mar 2024 08:45AM UTC coverage: 74.106%. Remained the same
007f4c6a-f33c-473c-9a08-1941bcb03fde

push

circleci

JohannesBuchner
switch default to new local covariance, LocalAffineLayer

LocalAffineLayer uses the MLFriends distance to identify neighbours,
and subtracts the neighbour mean from each point before computing
a covariance. In a L-shape for example, the neighbour covariance
computed in the I part and the _ part can come out different,
and would be averaged. This is different to AffineLayer,
which takes the "diagonal", which is not optimal.
L-shape likelihood contours occur with additive multi-component fitting,
where the normalisations have log-uniform priors.

Based on this, LocalAffineLayer should lead to a covariance that
better captures local covariance in a way that is useful to MLFriends.

Indeed, in the rosenbrock example, a slightly better sampling
efficiency can be observed with the LocalAffineLayer than AffineLayer.

However, for a Gaussian likelihood, LocalAffineLayer is
sampling slightly less efficiently than AffineLayer.
This can be understood because AffineLayer uses all points to build
the covariance, and thereby probably gets a estimate of the covariance
that converges better to the truth.
The sampling efficiency however is already high for ellipsoidal contours
such as from Gaussians, partially supported by the encircling ellipsoid
in the MLFriends class.

This commit therefore probably helps over a wider class of problems,
while compromising with slightly poorer performance for ellipsoidal
contours.

1281 of 1975 branches covered (64.86%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

3942 of 5073 relevant lines covered (77.71%)

0.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.76
-0.25% ultranest/stepsampler.py
Jobs
ID Job ID Ran Files Coverage
1 007f4c6a-f33c-473c-9a08-1941bcb03fde.1 21 Mar 2024 09:20AM UTC 15
74.11
CircleCI Job
Source Files on build 007f4c6a-f33c-473c-9a08-1941bcb03fde
  • Tree
  • List 15
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #007F4C6A...
  • cd5b02ee on github
  • Prev Build on master (#12D13D3A...)
  • Next Build on master (#FED58D14...)
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