create table iris_predictions as ( select s.id, t.prediction, t.probability from v_iris_test s, table(prediction_set(ml_model_iris using *)) t );