How can I disable the text or graphic outputs displayed by TRAIN in Neural Network Toolbox 6.0 (R2008a)?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Commenté : guygyuggfff
le 17 Juin 2021
I would like to turn off the text or graphics outputs displayed when I use the TRAIN command on the Neural Network Toolbox.
Réponse acceptée
MathWorks Support Team
le 27 Juin 2009
There are two network training parameters that where introduced in the Neural Network Toolbox 6.0 (R2008a). They allow individual control of the command line output and the graphics output of TRAIN. In order to turn off the graphics output of TRAIN, use the following command before you train your network:
net.trainParam.showWindow = false;
if you want to disable the command line output of TRAIN, use the following code:
net.trainParam.showCommandLine = false;
Where 'net' is your neural network object.
In previous releases of MATLAB these two options are not available. However there is a workaround. You can use the 'net.trainParam.show' property to indicate how many training iterations to wait between plot and command window updates. Setting this parameter to 'NaN' will disable both types of output. This is shown in the following code:
net.trainParam.show = NaN;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!