Data-driven Riemannian geometry for generative and regression models on manifolds | Synapse