---
id: texthero.representation.meanshift
title: representation.meanshift
hide_title: true
---

<div>
<div class="section" id="texthero-representation-meanshift">
<h1>texthero.representation.meanshift<a class="headerlink" href="#texthero-representation-meanshift" title="Permalink to this headline">¶</a></h1>
<dl class="py function">
<dt id="texthero.representation.meanshift">
<code class="sig-name descname">meanshift</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">s</span></em>, <em class="sig-param"><span class="n">bandwidth</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">seeds</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">bin_seeding</span><span class="o">=</span><span class="default_value">False</span></em>, <em class="sig-param"><span class="n">min_bin_freq</span><span class="o">=</span><span class="default_value">1</span></em>, <em class="sig-param"><span class="n">cluster_all</span><span class="o">=</span><span class="default_value">True</span></em>, <em class="sig-param"><span class="n">n_jobs</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">max_iter</span><span class="o">=</span><span class="default_value">300</span></em><span class="sig-paren">)</span><a class="headerlink" href="#texthero.representation.meanshift" title="Permalink to this definition">¶</a></dt>
<dd><p>Perform mean shift clustering.</p>
</dd></dl>
</div>
</div>