plotd function

Plot the distribution of predictions for each class