The CPC paper shows that the loss bounds the mutual information between context and future from below. The bound equals log N minus the loss, so a better classifier gives a tighter bound on the information it captures.
Implement mi_lower_bound(n_candidates, loss), returning log(N) - loss.
Compute the natural log of the candidate count and subtract the loss.
No results yet
Run your code to check it against the examples, or submit to run every test.