Neural Networks Gradient - what is a good value?

조회 수: 10 (최근 30일)
Tiago Dias
Tiago Dias 2019년 12월 5일
답변: Mahesh Taparia 2019년 12월 10일
Hello,
When building neural networks with the toolbox, in the display I have a performance parameter, lower the better since it is the Mean Squared Error (MSE).
My problem is with the gradient parameter, i think it is associate to the MSE and what is a good value for it? if I got a gradient of 0.03, should I increase the number of epochs in order to make it lower?
I would appreciate some suggestion on this part. Should I be happy with my model only looking to the MSE/R2 ou should the decision also include the gradient paramter?
Best regards,
Tiago

채택된 답변

Mahesh Taparia
Mahesh Taparia 2019년 12월 10일
Hi Tiago,
Gradient is associated with the rate of change of MSE with respect to the weights. You can’t justify the model performance based on gradient value. The optimization algorithm should be able to locate the global minima of the loss function. At global/ local minima the gradient is very small and tends to zero.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by