how can change the output of neural network?

I want to add a number to output of NN ,or use 'round' or 'abs' for output to reduse the error of network how can I do that?

 채택된 답변

Greg Heath
Greg Heath 2013년 8월 3일
편집: Greg Heath 2013년 8월 4일

0 개 추천

The network only calculates mse during training
Therefore, just replace the target matrix with
1. target + constant
2. round(target)
3. abs(target)
However, if you just want to modify a trained net,
1.net.b{2} = net.b{2}+ constant
2. Not possible. 'round' is not an acceptable transfer function.
3 Similarly for 'abs'
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (1개)

Greg Heath
Greg Heath 2013년 7월 31일

0 개 추천

output1 = net(input);
output2 = output1 + addednumber
rndoutput1 = round(output1)
absoutput1 = abs(output1)
Or am Imissing something?

댓글 수: 1

mehdi
mehdi 2013년 8월 2일
thanks a lot i want to make some change in NN like the things that you said,but I want to this changes would be happend inside the NN. I want that network uses this output for calculating 'mse'

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2013년 7월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by