Comparison of BNN, GAM, random forest, and BART in variable selection and class prediction for the simulated classification example: “MPM” denotes the median probability model, i.e., selecting the variables with the marginal inclusion probability greater than 0.5; “Fitting” denotes the error rate of fitted class for the training data; “Prediction” denotes the error rate of predicted class for the test data; denotes the average number of variables selected for the 10 datasets; the numbers in parentheses denote the standard deviations of the corresponding values; and p-value is calculated using a paired-t test for BNN versus every other method.