nd install the <span class="emph">numpy</span>, <span class="emph">sklearn</span> and <span class="emph">pandas</span> libraries. The <span class="emph">pgpyml</span> extension expects that you use <span class="emph">sklearn</span> to build your models.</p>
            
            <p>You will need to install the Python extension for PostgreSQL. You can do this with the command:</p>
            <pre><code class="language-shell"># Replace the &lt;version&gt; with your PostgreSQL version
apt -y install postgr