Combining Geometric And Topological Ideas With Machine Learning For Analyzing Complex Data