Bayesian Nonparametrics: An Alternative to Deep Learning