Replies: 3 comments 3 replies
-
Your |
Beta Was this translation helpful? Give feedback.
0 replies
-
Many thanks for your suggestion. However, I had tried that already and it did, not significantly change the outcome... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Your solution function
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Dr. @lululxvi and deepxde community,
I tried to solve a finance PDE with DeepXDE. Unfortunately, I seem to have run into some problems, as I cannot get the model to produce the expected output. The PDE to be solved is
with
where the first two are the BCs and the last one is the IC (although in finance its actually the terminal condition).
The expected solution should look sth like this:
My code and the respective output can be found in the attached notebook. I tried to encode the BC and IC both as soft and hard constraints and also tried different network architectures, parametrisations etc. However, non of it worked and the model does not converge to the expected solution shown above. What's quite surprising to me (as someone who's just getting started with ML) is that i) not even the hard-coded IC is met and ii) more sophisticated networks (i.e. more nodes and/or more layers) as well as more iterations do rather lead to worse results.
I am sure the problem is sitting in front of my computer, however, I could not find the errors yet. Would be awesome and of great help to get some feedback from the community!
Many thanks in advance :)
DeepXDE_PINN_OP_v0.2.zip
Beta Was this translation helpful? Give feedback.
All reactions