n class="o">.</span><span class="n">_set</span><span class="p">(</span><span class="n">numPartitions</span><span class="o">=</span><span class="n">numPartitions</span><span class="p">)</span></div>

<div class="viewcode-block" id="Word2VecApproach.setMaxIter"><a class="viewcode-back" href="../../../../reference/autosummary/sparknlp/annotator/embeddings/word2vec/index.html#sparknlp.annotator.embeddings.word2vec.Word2VecApproach.setMaxIter">[docs]</a>    <span class="k">def</span><span class="w"> </span><span