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"
5 次查看(过去 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!