-
Notifications
You must be signed in to change notification settings - Fork 0
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
sparseSpACE for interpolation #19
Comments
Hi Anton,
I switched the boolean flag for the boundary in the grid to off. Therefore no boundary points are included in the grid. Instead currently 0 is assumed at the boundary and the interpolation is done accordingly. It is not yet fully implemented to use the interpolation for the modified basis. If you need this extrapolation towards the boundary, I could look into this. Best, |
Hi, thank you Michael for the quick response. I do indeed need a modified extrapolating basis as my function does not vanish at the boundary. The linear extrapolation in https://doi.org/10.1016/j.jco.2010.04.001 has been working well for my spatially adaptive SG. If you already use the rescaled hat functions as basis functions, this extension is pretty straightforward. My function does however vanish at the boundaries of two of the variables, so I will give the current version a try for a 2D slice in these parameters. Thanks and best, |
Hi Anton, I have implemented the modified extrapolation basis. I needed to restructure the code a bit and find a workaround for some issues. It should work now as expected. You can find the code in the branch modified_basis_interpolation. It is currently only possible to use the modified basis in every dimension or to use 0 boundaries in all dimensions (no mix between both). Best, |
Hi,
I want to use sparseSpACE to benchmark how the SG combination technique performs for interpolation of my 5D function that I cannot evaluate at the boundaries. I have already had positive results with spatially adaptive SGs with hierarchical construction, and I want to see how this method compares.
I tried using the Regression module but I found it difficult to understand how many points were used, and if all of them were used for the grid and not validation etc.
Is there a way to construct an interpolation without using points at the boundaries (with some extrapolation approach instead)? I want to evaluate the interpolant at some data points of my choosing and construct my own error norms, and avoid using any built in error estimators.
Thanks!
/Anton
The text was updated successfully, but these errors were encountered: