If I change the activation function of VGG16, will the accuracy increase?

1 Ansicht (letzte 30 Tage)
ys
ys am 3 Jul. 2022
Beantwortet: Sanyam am 3 Jul. 2022
If I change the activation function of VGG16 to switch, ReLU6, LeakyReLU, Mesh, etc., will the accuracy improve? Or does it go down?
  2 Kommentare
Walter Roberson
Walter Roberson am 3 Jul. 2022
I think you would need to be clear about what kind of data you would be using this for. A change that improves one kind of input might do worse on a different kind of input m

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sanyam
Sanyam am 3 Jul. 2022
This cannot be directly said, as kind of activation function to use is also a hyperparameter. What you can do is to check the performance of your model with different activation functions using cross-validation or using a seperate validation dataset. Then pick up the activation function which gives the best performance
Hope that helps. Thanks!!

Kategorien

Mehr zu Get Started with Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by