atasets/plot_iris_dataset.html" target="_blank">Iris Dataset</a> as an example, we will build a model to predict the class of new instances and use it on PostgresSQL.</p> 
        <p>Let's create a file named <span class="inline-code">train.py</span> with the code:</p>

        <pre class="language-python"><code># Script: train.py
from sklearn.tree import DecisionTreeClassifier
from sklearn import datasets
from joblib import dump, load

iris = datasets.load_iris()
X = iris.data
y = iris.target

model = Deci