L-BFGS algorithm for Physics-informed neural networks

조회 수: 13 (최근 30일)
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
Conor Daly
Conor Daly 2022년 3월 24일
Hi there!
Thanks for your question. Have you had a look at this example? It walks through how to fit a neural network for the Burgers equation using the LBFGS optimizer:
Dr. Veerababu Dharanalakota
Dr. Veerababu Dharanalakota 2022년 3월 27일
Hi Daly,
Thanks for your comment. The example showed the right path.

댓글을 달려면 로그인하십시오.

채택된 답변

David Willingham
David Willingham 2022년 3월 24일
편집: David Willingham 2022년 3월 24일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by