Round up/down a neural network output
1 次查看(过去 30 天)
显示 更早的评论
I'm currently predicting match outcomes using neural network backpropagation, the target value should be either a 1 (win) or 0 (loss). My neural network output almost always has a value in between those two values, so is it possible to convert values that are below 0.5 into 0s and values that are above into 1s so it's easier to distinguish if it's a win or a loss?
Also, how to code the percentage accuracy of the network?
Thanks in advance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!