Is there any downside of pruning your neural network?

1 回表示 (過去 30 日間)
Ghazi Binarandi
Ghazi Binarandi 2016 年 2 月 26 日
回答済み: Greg Heath 2016 年 2 月 27 日
Hi all,
As far as I know, pruning (syntax: prune) removes any of your inputs, layers, and outputs with sizes of zero. On the other words, pruning makes your network more efficient. However, is there any downside of pruning your neural network?
Thanks,
Ghazi

採用された回答

Greg Heath
Greg Heath 2016 年 2 月 27 日
Nets with one hidden layer can be universal approximators.
From 1979 to 2003 I used FORTRAN to design 2 class classifiers. They had a single RBF hidden layer with nodes connected to one (not both) of two outputs.
The number of hidden nodes was dependent on how many types of radar missile target data was available.
Over the past 12 years of retirement, 99.9% of my designs (regression, classification and time-series) are fully connected MATLAB functions with a single hidden layer.
Typically, my designs automatically search for the minimum number of hidden nodes that will yield the desired error rate.
I have posted zillions of examples in both the NEWSGROUP and ANSWERS. Just search including the phrase
NEURAL GREG
As far as choosing inputs, if there aren't too many, I can tolerate a few ineffective ones. Otherwise, I just use STEPWISEFIT on a Linear Model for input variable selection.
I have used other more sophisticated NN techniques like PCA, PLS, forward-search and backward-search. In general, however, the Linear Model feature selection has been fast and satisfactory.
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by