Graph Analytics And Subset Selection Problems In Machine Learning