Bayesian Prediction Model Based on Attribute Weighting and Kernel Density Estimations