Text this: Statistical mechanics and machine learning of the α-Rényi ensemble