 :param n_dim:                   Number of dimensions to reduce to</span>
<span class="sd">    :type  n_dim:                   int</span>

<span class="sd">    :param verbose:                 Whether to display the explained variance</span>
<span class="sd">    :type  verbose:                 bool</span>

<span class="sd">    :return:                        The reduced dataset</span>
<span class="sd">    :rtype:                         np.array</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span