<!DOCTYPEHTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>AboutHap</title>
</head>
<body style="color: rgb(0, 0, 153); background-color: rgb(204, 255, 255);" link="#000066" vlink="#000066" alink="#000066">
<br>
<table style="text-align: left; margin-left: auto; margin-right: auto; color: rgb(0, 0, 102);"
border="0" cellpadding="20" cellspacing="10">
<tbody>
<tr align="center">
<thstyle="vertical-align: top;">
<tablestyle="width: 100%; text-align: left;" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<tdstyle="vertical-align: top;"><a
href="aboutQuandles.html"><smallstyle="color: rgb(0, 0, 102);">Previous</small></a><br>
</td>
<td style="text-align: center; vertical-align: top; color: rgb(0, 0, 102);"><big><span style="font-weight: bold;">About HAP: Persistent Homology<br>
</span></big></td>
<tdstyle="text-align: right; vertical-align: top;"><a
href="aboutMetrics.html"><smallstyle="color: rgb(0, 0, 102);">next</small></a><br>
</td>
</tr>
</tbody>
</table>
<big><spanstyle="font-weight: bold;"></span></big><br>
</th>
</tr>
<tr align="center">
<td style="vertical-align: top; background-color: rgb(255, 255, 255);"><big><span style="font-weight: bold;">1. Persistent Homology of Cubical and </span></big><big><span style="font-weight: bold;">Simplicial Complexes</span></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255); text-align: left;">An
inclusion
of
pure
cubical
complexes
X<sub>1</sub> --> X<sub>2</sub>
induces a natural homology homomorphism H<sub>n</sub>(X<sub>1</sub>,F)
--> H<sub>n</sub>(X<sub>2</sub>,F) for each positive n and any
coefficient module F. Taking F to be a field, the induced homomorphism
is a homomorphism of vector spaces and is completely determined by its
rank P<sub>1,2</sub>.<br>
<br>
A sequence of inclusions X<sub>1</sub> --> X<sub>2 </sub>--> X<sub>3</sub>
--> ... --> X<sub>k</sub> induces a sequence of homology
homomorphisms which, in each degree n, determine a kxk matrix of ranks P<sub>i,j</sub>
(where
for
i>j
we
define
P<sub>i,j</sub>=0). This matrix is referred
to as the n-th <spanstyle="font-style: italic;">persistence matrix</span>,
over
the
field
F,
for
the
sequence
of
pure
cubical
complexes.<br>
<br>
A possible scenario is that X<sub>1</sub> is a sample from an unknown
manifold M, and that each space X<sub>i+1</sub> is obtained by
thickening X<sub>i</sub> in some fashion. The hope is that the
persistence matrices describe the shape of the manifold M from which X<sub>1</sub>
was sampled. <br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">Persistence
matrices
are
particularly
useful
when
analysing
high-dimensional
data
since
the
shape
of such data is hard to visualize. However, as a toy
example let us consider the
2-dimensional <a href="datacloud.eps">data cloud</a><br>
<br>
<divstyle="text-align: center;"><img alt=""
src="sample_from_circle.gif"style="width: 406px; height: 311px;"><br>
<divstyle="text-align: left;"><br>
which, as we can see, was sampled (possibly with error) from an
annulus.
The following computations agree with this observation. <br>
<br>
The following commands produce a sequence of thickenings for this data
cloud and then compute the degree 1 persistence matrix over the field
of rational numbers.<br>
</div>
</div>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
M:=ReadImageAsPureCubicalComplex("datacloud.eps",300);<br>
Pure cubical complex of dimension 2.<br>
<br>
gap>
T:=ThickeningFiltration(M,10);
<br>
Filtered pure cubical complex of dimension 2.<br>
<br>
gap> P:=PersistentHomologyOfFilteredCubicalComplex(T,1);;<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">The
persistence matrix P can be viewed as a barcode. The following command
displays this barcode. The single horizontal line at the bottom of the
barcode corresponds to a single persistent 1-dimensional homology. This
is consistent with the data having been sampled from an annulus - a
space with a single 1-dimensional hole. The various dots in the barcode
correspond to homologies that arise briefly at various stages in the
thickening process.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
BarCodeDisplay(P);<br>
<br>
<divstyle="text-align: center;"><img style="width: 496px; height: 1086px;" alt="" src="brcd.gif"><br>
</div>
<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">As
a more realistic illustration of this approach to topological data
analysis let us suppose that we have made 400 experimental observations
v<sub>1</sub>, ..., v<sub>400</sub> and that we are able to estimate
some metric distance d(v<sub>i</sub>,v<sub>j</sub>) between each pair
of observations. For instance, the observations might be vectors of a
given length and d(v<sub>i</sub>,v<sub>j</sub>) could be the
Euclidean distance. We could then build a filtered simplicial complex
K={K<sub>1</sub><K<sub>2</sub><...<K<sub>T</sub>} from an
increasing sequence of thresholds d<sub>1</sub><...<d<sub>T</sub>.
Each
term
in
the
filtration
has 400 vertices v<sub>1</sub>, ..., v<sub>400,</sub>
and K<sub>t</sub> is determined by the threshold d<sub>t</sub>: a
simplex belongs to K<sub>t</sub> is and only if each pair of vertices
in the simplex satisfies d(v<sub>i</sub>,v<sub>j</sub>) < d<sub>t </sub>.
The
persistent
homology
of
the
filtered simplicial complex K could
provide information on the space from which our data was selected.<br>
<br>
The following data <br>
<table style="text-align: left; width: 400px; margin-left: auto; margin-right: auto; height: 178px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">v<sub>1</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">v<sub>2</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">
...<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">v<sub>399</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">v<sub>400</sub><br>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top; text-align: center;">v<sub>1</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">0<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">66<br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">191<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">137<br>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top; text-align: center;">v<sub>2</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">66<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">0<br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">125<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">71<br>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top; text-align: center;">...<br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top; text-align: center;">v<sub>399</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">191<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">125<br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">0<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">54<br>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top; text-align: center;">v<sub>400</sub><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">137<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">71<br>
</td>
<tdstyle="vertical-align: top; text-align: center;"><br>
</td>
<tdstyle="vertical-align: top; text-align: center;">54<br>
</td>
<tdstyle="vertical-align: top; text-align: center;">0<br>
</td>
</tr>
</tbody>
</table>
<sub> <br>
</sub>is contained in a symmetric matrix in the file <a
href="symmetricMatrix.txt">symmetricMatrix.txt</a> . The following
commands read this matrix, compute the filtered simplicial complex, and
then compute the barcodes for 0-dimensional and 1-dimensional homology.
These barcodes suggest that the data points were samples from a space
with the homology of a disjoint union of two circles.<br>
<br>
We view the barcodes in compact form, where a line with label n
is used to denote n lines which start at the same point in
the filtration and end at the same point in the filtration. <br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
Read("symmetricMatrix.txt");<br>
gap> S:=SymmetricMat;;<br>
gap> G:=SymmetricMatrixToFilteredGraph(S,10,30);; #Take a filtration
with length T=10, and discard any distances greater than 30.<br>
gap> N:=SimplicialNerveOfFilteredGraph(G,2);;<br>
gap> C:=SparseFilteredChainComplexOfFilteredSimplicialComplex(N);;<br>
gap> P0:=PersistentHomologyOfFilteredSparseChainComplex(C,0);;<br>
gap> P1:=PersistentHomologyOfFilteredSparseChainComplex(C,1);;<br>
<br>
gap> BarCodeCompactDisplay(P0);<br>
<br>
<divstyle="text-align: center;"><img style="width: 549px; height: 201px;" alt="" src="percyl0.gif"><br>
</div>
<br>
gap>BarCodeCompactDisplay(P1);<br>
<br>
<divstyle="text-align: center;"><img style="width: 547px; height: 169px;" alt="" src="percyl1.gif"><br>
</div>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">A
different scenario for the use of persitent homology of pure cubical
complexes is in the analysis of digital images. As a second toy example
consider the digital photo.<br>
<br>
<divstyle="text-align: center;"><img style="width: 499px; height: 376px;" alt="" src="../../../tst/examples/image1.3.2.png"><br>
<divstyle="text-align: left;"><br>
The 20 longish lines in the following barcode for the degree 0
persistent homology correspond to the 20 objects in the photo. The 14
longish lines in the following barcode for the degree 1 persistent
homology correspond to the fact that 14 of the objects have holes in
them. We again view the barcodes in compact form, where a line with label n
is used to denote n lines which start at the same point in
the filtration and end at the same point in the filtration. <br>
</div>
</div>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
F:=ReadImageAsFilteredCubicalComplex("image1.3.2.png",20);<br>
Filtered pure cubical complex of dimension 2.<br>
<br>
gap> P0:=PersistentHomologyOfFilteredCubicalComplex(F,0);;<br>
gap> BarCodeCompactDisplay(P0);<br>
<br>
<divstyle="text-align: center;"><img style="width: 467px; height: 304px;" alt="" src="perhom0.gif"><br>
<divstyle="text-align: left;"><br>
gap> P1:=PersistentHomologyOfFilteredCubicalComplex(F,1);;<br>
gap> BarCodeCompactDisplay(P1);<br>
<br>
<divstyle="text-align: center;"><img style="width: 567px; height: 572px;" alt="" src="perhom1.gif"><br>
</div>
</div>
</div>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top; background-color: rgb(255, 255, 255);"><big><span style="font-weight: bold;"><a name="proteins"></a>2. Persistent
Homology of Proteins</span></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">Given
a
pure
cubical
complex K, let us denote its centre of gravity by c(K).
Given an increasing sequence of positive numbers 0 < t<sub>1 </sub><
t<sub>2</sub> < ... , let us denote by FK<sub>n</sub> the
intersection of K with the Euclidean ball of radius t<sub>n</sub>
centred at c(K). This gives rise to a filtered pure cubical complex FK<sub>1</sub>
< FK<sub>2</sub> < ... which we refer to as the <span style="font-style: italic;">concetric filtration</span> on K.<br>
<br>
For a protein backbone K, the degree 0 persistent homology of FK should
contain useful
information on the geometric shape of K.<br>
<br>
The following commands compute this shape descriptor for the
T.thermophilus 1V2X protein and the H.sapiens <a>1XD3</a> protein
pictured on the <a href="aboutKnots.html#proteins">previous page</a>.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
K:=ReadPDBfileAsPureCubicalComplex("1V2X.pdb");;
<br>
Reading chain containing 243 atoms.<br>
gap> FK:=ConcentricallyFilteredPureCubicalComplex(K,10);;<br>
gap> P:=PersistentHomologyOfFilteredCubicalComplex(FK,0);;<br>
gap> BarCodeCompactDisplay(P);<br>
<br>
<divstyle="text-align: center;"><img style="width: 679px; height: 584px;" alt="" src="bck2.gif"><br>
</div>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top; background-color: rgb(255, 255, 255);"><big><span style="font-weight: bold;">3. Persistent Homology of Groups</span></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">Any
sequence of group homomorphisms G<sub>1</sub> --> G<sub>2</sub>
--> ... --> G<sub>k</sub> induces a sequence of homology
homomorphisms. In particular, the successive quotients of a group G by
the terms of its upper central series give a sequence of group
homomorphisms that induces an interesting sequence of homology
homomorphisms. <br>
<br>
For a finite p-group we take homology coefficients in the field of p
elements. The following commands compute and display the degree 3
homology barcode for the Sylow 2-subgroup of the Mathieu group M<sub>12</sub>.
<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
G:=SylowSubgroup(MathieuGroup(12),2);;<br>
<br>
gap> IdGroup(G);<br>
[ 64, 134 ]<br>
<br>
gap> P:=UniversalBarCode("UpperCentralSeries",64,134,3);;<br>
<br>
gap> BarCodeDisplay(P);<br>
<br>
<divstyle="text-align: center;"><img style="width: 229px; height: 309px;" alt="" src="m12per.gif"><br>
</div>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top; background-color: rgb(255, 255, 255);"><big><span style="font-weight: bold;">4. Persistent Homology of Filtered Chain
Complexes</span></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 255);">The
Lyndon-Hochschild-Serre spectral sequence in group homology describes
the homology of a group G in terms of the homology of a normal subgroup
N and the homology of the quotient G/N. The spectral sequence arises
from a filtered chain complex. Barcodes can be used to represent the
differentials in this spectral sequence.<br>
<br>
For example, the following commands produce the degree 2 mod 2 homology
LHS barcode
for G the diherdal group of order 64 and N its centre. <br>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(255, 255, 204);">gap>
G:=DihedralGroup(64);;<br>
gap> N:=Center(G);;<br>
gap> R:=ResolutionNormalSeries([G,N],3);;<br>
gap> C:=FilteredTensorWithIntegersModP(R,2);;<br>
gap> P:=PersistentHomologyOfFilteredChainComplex(C,2,2);;<br>
gap> BarCodeDisplay(P);<br>
<br>
<divstyle="text-align: center;"><img style="width: 176px; height: 133px;" alt="" src="lhsbc.gif"><br>
</div>
</td>
</tr>
<tr>
<tdstyle="vertical-align: top;">
<table style="margin-left: auto; margin-right: auto; width: 100%; text-align: left;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<tdstyle="vertical-align: top;"><a style="color: rgb(0, 0, 102);" href="aboutQuandles.html">Previous
Page</a><br>
</td>
<tdstyle="text-align: center; vertical-align: top;"><a
href="aboutContents.html"><spanstyle="color: rgb(0, 0, 102);">Contents</span></a><br>
</td>
<tdstyle="text-align: right; vertical-align: top;"><a
href="aboutMetrics.html"><spanstyle="color: rgb(0, 0, 102);">Next
page</span><br>
</a> </td>
</tr>
</tbody>
</table>
<a href="aboutTopology.html"><br>
</a> </td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.