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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Muhammad Mahmoud
il 27 Apr 2023
Commentato: Muhammad Mahmoud
il 14 Mag 2023
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 Commenti
Risposta accettata
Ranjeet
il 12 Mag 2023
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 -
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!