tensorflow_mnist_ram icon indicating copy to clipboard operation
tensorflow_mnist_ram copied to clipboard

why does the cost < 0?

Open wqingzex opened this issue 8 years ago • 1 comments

wqingzex avatar May 24 '16 14:05 wqingzex

Sorry about the late response. The cost is basically a negative log sum of rewarded glimpse locations and classic classification likelihoods. So the model not only learns to make better classification predictions, but also learns to make glimpse sequences that leads to better rewards. Usually, that means looking at relevant locations. For MNIST, that usually means looking at the white number instead of focusing on the black background. Cost is not to be confused with accuracy, which would always be >= 0.

seann999 avatar Jun 14 '16 06:06 seann999