-
Notifications
You must be signed in to change notification settings - Fork 189
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
Polynomial Chaos Kriging #170
Comments
Hey @jonathf!
Some questions from my side:
So far from my side! |
Yeah, a work-together on this was what I had in mind. So it has been a few years since I did Spacial statistics and Kriging, so I appolgies for being a bit rusty on the termonology. I take my definition of Universal Kriging from Wikipedia. It defines it as having the intial mean field (or trend) in terms of a weighted sum of polynomials. The idea of polynomial chaos kriging (PCK) is that these weights and polynomials are provided from a specific polynomial chaos expansion (PCE) scheme. Doing de-trending was my initial thought of a way forward as well (though I used the term "modelling the discrepency between the PCE and the data" in the issue thread.) But I imagine that UK and detrended OK yields different results. The PCK paper assumes UK, so they did not go for the de-trending route. I'll take a look at the resources you have provided and see if I can become wiser. |
If you want to fit the coefficients of the polynomials during kriging, Universal-Kriging is the right choice. ASFAIU you come up with a set of polynomials with the so-called "LARS" method, right?
|
So in principle LARS does two things at the same time:
It is a search question where (1) and (2) are coupled. In practice one usually see these two steps defined together, not as separate steps. From what you are telling me now, and reading the UQLab docs once more (I don't have access to the paper yet), I am realizing that I was wrong to assume that (1) and (2) are provided to kriging. Instead (1) and (2) is both done (as it is required), but only (1) is provided as input. In other words, UK and drift-functions sounds exactly like what we are looking for. |
I replicated the 1-D intro example from UQlabs webpage. Here is a demo I plan to publish: I've also gotten hold of the PCK paper UQLabs made. @MuellerSeb, I have a question. The paper defines the kriging term of the equation as |
I've updated the link to be address a 2D problem: There are a few caveats worth noting. |
I am a bit puzzled by this formula. I think it should be Regarding your "Singular Matrix" problem: I fixed this by using the pseudo-inverse in the kriging system: GeoStat-Framework/GSTools#97. This is already present in the develop branch of GSTools and will be part of the next release: GeoStat-Framework/GSTools#110. Hopefully, we will release it in december. You could also move this discussion to an issue in GSTools, since you apparently went with GSTools' kriging routines (which is also more future prove, since PyKrige will be refactored in order to use these under the hood in the future). |
Yeah the Good to know about the Singular Matrix issue. I will explore. At this point, the way forward is to implement the "custom" LOO method. If/When I have some spare time, I might give it a try. I'll see where we get. Next time I have something to report, I'll start a new thread in the gstools repo. |
Hello,
I am the maintainer of an uncertainty quantification library chaospy.
A user of my software has asked a question about using chaospy to do so kalled Polynomial Chaos Kriging. See jonathf/chaospy#300 for the details.
Following the idea of trying to implement this, would it be possible to provide Universal Kriging in PyKrige with linear trend polynomial? It would be really cool if it were posible to make PCK using PyKrige and chaospy together.
The text was updated successfully, but these errors were encountered: