Understanding machine learning models of the epigenome with statistics and statistical mechanics