s. This function can be used to predict a single instance or multiple instances at same time. The features must be passed as a nested array, like you usually do in sklearn.</p>

        {% highlight sql%}{% raw%}SELECT * FROM pgpyml.predict(
    '/home/vagrant/examples/iris/models/iris_decision_tree.joblib', 
    '{{5.2,3.5,1.5,0.2}}'
); 
-- Output: {Iris-setosa} (or any other class your model predict)

-- Prediction multiple instances at once
SELECT * FROM pgpyml.predict(
    '/home/vagrant/examples/iris/m