get_prediction_weights function

Generic function for returning the prediction weights in a trained learner