The calculation of surprise was quite slow because it was the only part that didn't use sparsity. I sped it up by a factor of 100. It could probably be sped up more.
The calculation of surprise was quite slow because it was the only part that didn't use sparsity. I sped it up by a factor of 100. It could probably be sped up more.

gregversteeg/corex_topic