What is the criteria behind choosing number of neurons and layers in this MATLAB example? "Solve Partial Differential Equation with LBFGS Method and Deep Learning"
조회 수: 4 (최근 30일)
이전 댓글 표시
The number of layers and neurons in this example, "Solve Partial Differential Equation with LBFGS Method and Deep Learning," are set to 9 and 20, respectively.
Which criteria would be used to select these numbers? then why?
Thanks in advance.
댓글 수: 0
채택된 답변
Ranjeet
2023년 5월 12일
The example given refers to the work Physics Informed Deep Learning (Part I): Data-driven Solutions of Nonlinear Partial Differential Equations.
The work starts by taking 9 hidden layers and 20 neurons in each. This should be the motivation behind taking the same network architecture and experiment.
However, Table 2 on page 9 in the above article shows experimentation with different number of layers and neurons as well. It is clear from the table that taking a greater number of layers and neurons have decreased the error metric. Taking 9 hidden layers and 20 neurons is a good trade-off between accuracy and network size.
Following is the part 2 of the work, it can be referred for more in-depth analysis -
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!