Learning on Inhomogeneous Hypergraphs