How to convert the output of an artificial neural network into probabilities?

前端 未结 7 1872
既然无缘
既然无缘 2020-12-04 10:58

I\'ve read about neural network a little while ago and I understand how an ANN (especially a multilayer perceptron that learns via backpropagation) can learn to classify an

相关标签:
7条回答
  • 2020-12-04 11:30

    What you can do is to use a sigmoid transfer function on the output layer nodes (that accepts data ranges (-inf,inf) and outputs a value in [-1,1]).
    Then by using the 1-of-n output encoding (one node for each class), you can map the range [-1,1] to [0,1] and use it as probability for each class value (note that this works naturally for more than just two classes).

    0 讨论(0)
提交回复
热议问题