<div dir="auto">Using correlation as a similarity measure leads to some problems with k-means (mainly because the arithmetic mean is not at all an estimator that can be used with correlation).<div dir="auto"><br></div><div dir="auto">If you properly normalized the correlation DBSCAN might be an alternative. The minpts parameter will still have the same meaning, the eps will state the maximal allowed difference in correlation (somewhat dubious meaning...) that points may have when calculating the neighborhoods of points. </div><div dir="auto"><br></div><div dir="auto">But be aware that points belonging to the same cluster (in DBSCAN) might be completely uncorrelated in the end. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Safi Ullah Marwat <<a href="mailto:safiullahmarwat@gmail.com" target="_blank" rel="noreferrer">safiullahmarwat@gmail.com</a>> schrieb am Mi., 4. Sep. 2019, 06:42:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you Mr.Mueller<div>Can you share any example sentence? I searched but found this link <a href="https://stackoverflow.com/questions/24560799/how-to-use-a-precomputed-distance-matrix-in-scikit-kmeans" rel="noreferrer noreferrer" target="_blank">https://stackoverflow.com/questions/24560799/how-to-use-a-precomputed-distance-matrix-in-scikit-kmeans</a> which says one cannot supply precomputed distance matric. the one kmean calculate precomputed matric that's for speed purpose, but that's too based on euclidean distance. </div><div>thanks in advance</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 4, 2019 at 2:41 AM Andreas Mueller <<a href="mailto:t3kcit@gmail.com" rel="noreferrer noreferrer" target="_blank">t3kcit@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
There are many that allow "metric='precomputed'".<br>
<br>
<br>
<div class="m_6640738641592742711m_-5556760337094141951gmail-m_-4609810663377079136moz-cite-prefix">On 9/2/19 10:06 AM, Safi Ullah Marwat
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Dear List,
<div>Is there any clustering algorithm, which is based on
correlation coefficient instead of Euclidean/Manhattan
distance? </div>
<div><br>
</div>
<div>Regards</div>
</div>
<br>
<fieldset class="m_6640738641592742711m_-5556760337094141951gmail-m_-4609810663377079136mimeAttachmentHeader"></fieldset>
<pre class="m_6640738641592742711m_-5556760337094141951gmail-m_-4609810663377079136moz-quote-pre">_______________________________________________
scikit-learn mailing list
<a class="m_6640738641592742711m_-5556760337094141951gmail-m_-4609810663377079136moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" rel="noreferrer noreferrer" target="_blank">scikit-learn@python.org</a>
<a class="m_6640738641592742711m_-5556760337094141951gmail-m_-4609810663377079136moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" rel="noreferrer noreferrer" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" rel="noreferrer noreferrer" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>