-
Notifications
You must be signed in to change notification settings - Fork 86
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
Uploading my samples to ChaosPy #155
Comments
Depends a bit on what you want to do, but most likely sure. E.g. you can use I'll note though, a lot of what makes chaospy do what it does is that it leverages analytical properties of probability distributions and smoothness of a solution to get exponentially better results than going in blind. You remove that component, you rely solely on the accuracy of the data, reducing it to at best the level of Monte Carlo sampling. |
Dear @jonathf , So if I upload my own samples, I can be forced to loose the convergence that a PCE emulator has? |
I doubt you will loose convergence all together, just the fast speed of the convergence PCE usually offers. But I will note that I am not an expert on data driven PCE, so I might not be the best reference on this topic. @flo2k, this is your topic more than mine. Do you have an overview of what to expect when using SampleDist compare to the traditional distributions? |
Thanks @jonathf I will then look references to study data drive PCE. |
Hi @jonathf , Right now, I don't have a detailed numerical analysis. I planned this a little bit for my thesis. But it should be in the range of Monte Carlo. Best, Florian |
Dear @jonathf ,
I have one question. Is it possible to upload "manually" samples to ChaosPy.
Usually the general code starts like this:
x = cp.Uniform(a,b)
y = cp.Normal(a,b)
dist = cp.J(x,y)
samples = dist.sample(size=Ns)
and the variable
samples
its an array of samples for each variablex,y
.What I am trying to do is the following "Start my study, with samples that I have from a file" ....
Is it possible to do this?
Its difficult to characterize the distribution that the data has. Therein I thought that if can upload the samples itself, I will bypass this problem.
Thanks you.
The text was updated successfully, but these errors were encountered: