Nonparametric Application of Bayesian Inference