question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discrepancy: paxes vs axes

See original GitHub issue

Hello, I’m trying to learn more about this code and I keep scratching my head over how axes and paxes are used within the bounding algorithms and the sampling algorithms.

For example, in the ellipsoidal code, the axes are labeled as the “transformation axes” of the ellipsoid and are the Cholesky decomposition of the covariance matrix. Also here, paxes are labeled as the principle axes and then describe how they should be used for transforming between the unit hyper-cube and the prior volume.

Given this, I assume that methods like the random-walk (rwalk) implementation would use paxes to generate proposals, yet the code fed into it uses axes (many snippets of “if method in [‘rwalk’,…] return ell.axes”. Upon inspecting the nestle codebase and some of my own code, the appropriate solution is to use paxes as they are described in the bounding constraint constructors.

Is this is a bug or is this a lapse in my understanding?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joshspeaglecommented, Jul 8, 2020

If I’m remembering correctly, there was some point during development where doing the Cholesky decomposition was useful for checking stability. Since you get the matrices for free, I think I just started using them as a result. I’m sure there were other reasons that I could back out looking through old commits, but that’s all I got off the top of my head.

And no problem! Happy to try and help. If you have any other questions, happy to answer them here. Feel free to close this issue whenever you’re satisfied.

0reactions
mileslucascommented, Jul 8, 2020

That seems reasonable (and I could check with monte-carlo easily enough), though it begs the question: if you can slice and sample using paxes why carry around axes at all?

Thanks for having this commentary, too, I really appreciate it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Difference between "axes" and "axis" in matplotlib?
axes is not the plural form of axis, it actually denotes the plotting area, including all axis. Share.
Read more >
Axe Definition - Investopedia
An axe (or "axe to grind") is the interest that a trader shows in buying or selling a security that is typically already...
Read more >
Tools - Misleading axes on graphs - Calling Bullshit.
In this discussion, we'll look at some of the subtleties surrounding the seemingly straightforward issue of how to choose the range and scale...
Read more >
Create polar axes - MATLAB polaraxes - MathWorks
Use pax to query and set properties of the PolarAxes object after it is created. ... If the difference between the values is...
Read more >
Understanding the Marriage Penalty and Marriage Bonus
Each chart's X-axis is a measure of income from $10,000 to $1 million and Y-axis is the equality of a couple's income from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found