sionTreeClassifier()

model.fit(X, y)
dump(model, '/home/vagrant/models/iris_decision_tree.joblib')</code></pre>

        <p>After running this code you will see an file named <span class="inline-code">iris_decision_tree.joblib</span> in the same folder that you runned the training script. This is the model that we will deploy on PostgreSQL. You can read more about persisting your models on <a href="https://scikit-learn.org/stable/modules/model_persistence.html" target="_blank">Sklearn Documentation</a>.</p