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

<div>
<div class="section" id="texthero-representation-dbscan">
<h1>texthero.representation.dbscan<a class="headerlink" href="#texthero-representation-dbscan" title="Permalink to this headline">¶</a></h1>
<dl class="py function">
<dt id="texthero.representation.dbscan">
<code class="sig-name descname">dbscan</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">s</span></em>, <em class="sig-param"><span class="n">eps</span><span class="o">=</span><span class="default_value">0.5</span></em>, <em class="sig-param"><span class="n">min_samples</span><span class="o">=</span><span class="default_value">5</span></em>, <em class="sig-param"><span class="n">metric</span><span class="o">=</span><span class="default_value">'euclidean'</span></em>, <em class="sig-param"><span class="n">metric_params</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">algorithm</span><span class="o">=</span><span class="default_value">'auto'</span></em>, <em class="sig-param"><span class="n">leaf_size</span><span class="o">=</span><span class="default_value">30</span></em>, <em class="sig-param"><span class="n">p</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">n_jobs</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#texthero.representation.dbscan" title="Permalink to this definition">¶</a></dt>
<dd><p>Perform DBSCAN clustering.</p>
</dd></dl>
</div>
</div>