Geometric and Topological Inference