Probabilistic Generative Models for Learning with Hypergraphs