ensure_predictions_proba#

ensure_predictions_proba(pred_proba: ndarray, data: Sequence) ndarray[source]#

Ensure the predictions are in the right shape and if so return them. else raise error.