Code
Here are some code snippets. They have no guarantee, but I will appreciate an email pointing out bugs...
MATLAB implementation of PAC Bayes bounds with data dependent priors
This archive contains MATLAB code that computes the bound in the paper Tighter PAC Bayes Bounds, by Ambroladze et al.