Robust And Scalable Algorithms For Bayesian Nonparametric Machine Learning