| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>GaussianMixture & TableOfReal: To Correlation (columns)</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
GaussianMixture & TableOfReal: To Correlation (columns) |
| 13 |
</b></font></table></table> |
| 14 |
<p>Create a <a href="Correlation.html">Correlation</a> matrix from the selected <a href="TableOfReal.html">TableOfReal</a> and the <a href="GaussianMixture.html">GaussianMixture</a>.</p> |
| 15 |
<p>We start by calculating the ClassificationTable <a href="GaussianMixture___TableOfReal__To_ClassificationTable.html">from the data and the GaussianMixture</a>.</p> |
| 16 |
<p>Nex we calculate correlations between the <i>columns</i> of the ClassificationTable: cell [<i>i</i>,<i>j</i>] of the correlation matrix will then contain the value:</p> |
| 17 |
<table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>p</i>[<i>i</i>] · <i>p</i>[<i>j</i>] / (||<i>p</i>[<i>i</i>]||· ||<i>p</i>[<i>j</i>]||), </table> |
| 18 |
<p>where <i>p</i>[<i>i</i>] is the data in the <i>i</i>-th column of the classification table and ||<i>p</i>[<i>i</i>]|| is its Euclidean norm. The index <i>i</i> runs from 1 to the number of components in the mixture.</p> |
| 19 |
<p>Because all the elements in a column are positive numbers, i.e. probabilities, all correlations will be positive numbers too.</p> |
| 20 |
<hr> |
| 21 |
<address> |
| 22 |
<p>© djmw 20101111</p> |
| 23 |
</address> |
| 24 |
</body> |
| 25 |
</html> |