as_prediction_classif function

Convert to a Classification Prediction