L-BFGS algorithm for Physics-informed neural networks
36 views (last 30 days)
Show older comments
Hi,
I am trying to solving ODEs using neural networks. I am using adamupdate function to train the network. I would like to try L-BFGS alogorithm. However, trainbfg function availble with Statistics and Machine Learning Tool box is taking only network, input data and target data as input parameters. I couldn't find a way to plug-in the loss function associated with the ODE and boundary conditions into the training algorithm.
I would be grateful if someone can help me with this.
Thanks in advance.
2 Comments
Answers (1)
David Willingham
on 24 Mar 2022
Edited: David Willingham
on 24 Mar 2022
Hi,
Have you seen this example?
David
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!