How to compute Pearson Correlation between 2 given vectors?
<p>I have to code this in C#</p>

<p>Can you explain step by step in the below given example?</p>

<pre><code>vector 1 : [0.3, 0, 1.7, 2.2]
vector 2 : [0, 3.3, 1.2, 0]
</code></pre>

<p>Ty very much</p>

<p>This will be used in document clustering</p>