Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding prior knowledge for the solution of linear systems #526

Open
JonathanWenger opened this issue Aug 31, 2021 · 1 comment
Open

Encoding prior knowledge for the solution of linear systems #526

JonathanWenger opened this issue Aug 31, 2021 · 1 comment
Labels
feature request Requests for features to be implemented linalg Issues related to linear algebra

Comments

@JonathanWenger
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently it is not always clear how a user can supply prior knowledge to the probabilistic linear solver via a prior belief over the inverse / solution and matrix.

Give an example use case.
Say the user has knowledge about the spectrum, smallest eigenvalue of A or a preconditioner. Currently it is not clear how this should be encoded into a prior belief.

# Known spectrum of A

# Prior belief
belief = LinearSystemBelief.from_spectrum(spectrum)
belief = LinearSystemBelief.from_preconditioner(spectrum)
belief = LinearSystemBelief.from_min_eigenvalue(spectrum)

Describe the solution you'd like.
Provide specific prior belief classes with constructors from_* which cover the most common use cases of encoding prior knowledge.

@JonathanWenger JonathanWenger added feature request Requests for features to be implemented linalg Issues related to linear algebra labels Aug 31, 2021
@mmahsereci
Copy link
Contributor

mmahsereci commented Sep 6, 2021

Thanks, Jonathan, I think this is an important issue. I have two questions:

  • Are there best practices known for certain settings? For example if I have the spectrum, which of the three examples mentioned above is best to choose? Is there an automated way to choose?
  • The change may also involve changing the UI of problinsolve, doesn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for features to be implemented linalg Issues related to linear algebra
Projects
None yet
Development

No branches or pull requests

2 participants