What is the purpose of bit fail in FANN?

寵の児 提交于 2019-12-10 12:38:41

问题


im having a response like below from fann

    Epochs            1. Current error: 0.2500066161. Bit fail 4.
    Epochs           58. Current error: 0.0000930788. Bit fail 0.

what does Bit fail mean here?


回答1:


The bit fail limit is the maximum difference between the expected and actual output neuron value that is allowed.The default bit fail limit is 0.35. If the difference between the expected and actual output neuron value is more that the bit fail limit, this counts as 1 bit fail. In the sample output you gave, at 58 epochs all the output neurons gave actual outputs close enough to the expected outputs and hence the bit fail was 0 and training stopped. In other words all the training examples gave outputs that were close enough to the expected outputs. During the first epoch, 4 of the training samples gave outputs resulting in bit fails.




回答2:


from documentation of FANN

The number of fail bits; means the number of output neurons which differ more than the bit fail limit http://leenissen.dk/fann/html/files/fann_train-h.html#fann_get_bit_fail




回答3:


Yea I have found this confusing as well and thought that it may have been a bug in 'ruby-fann'.

The FANN manual states that it is the number of output neurons failing but doesn't say that it is the total sum of the number of output neurons for the provided sample set. Therefore the worst case 'Bit fail' is ALL of the output neurons failing (beyond the specified bit fail limit) for ALL of the samples.



来源:https://stackoverflow.com/questions/12921798/what-is-the-purpose-of-bit-fail-in-fann

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!