From c16dc01b3e3c731bcfcfd106e5ab320337ea5954 Mon Sep 17 00:00:00 2001 From: Mark Bonicillo Date: Fri, 8 Dec 2023 12:58:09 -0800 Subject: [PATCH] HYP-364 Fix doctrings --- hypernetx/algorithms/homology_mod2.py | 6 +++--- hypernetx/algorithms/laplacians_clustering.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hypernetx/algorithms/homology_mod2.py b/hypernetx/algorithms/homology_mod2.py index a987d922..06cc1966 100644 --- a/hypernetx/algorithms/homology_mod2.py +++ b/hypernetx/algorithms/homology_mod2.py @@ -1,4 +1,4 @@ -""" +r""" Homology and Smith Normal Form ============================== The purpose of computing the Homology groups for data generated @@ -541,7 +541,7 @@ def reduced_row_echelon_form_mod2(M): def boundary_group(image_basis): - """ + r""" Returns a csr_matrix with rows corresponding to the elements of the group generated by image basis over $\mathbb{Z}_2$ @@ -734,7 +734,7 @@ def betti_numbers(h, k=None): def homology_basis(bd, k=None, boundary=False, **kwargs): - """ + r""" Compute a basis for the kth-simplicial homology group, $H_k$, defined by a chain complex $C$ with boundary maps given by bd $= \{k:\partial_k \}$ diff --git a/hypernetx/algorithms/laplacians_clustering.py b/hypernetx/algorithms/laplacians_clustering.py index 8ff66b49..a411ca33 100644 --- a/hypernetx/algorithms/laplacians_clustering.py +++ b/hypernetx/algorithms/laplacians_clustering.py @@ -39,7 +39,7 @@ def prob_trans(H, weights=False, index=True, check_connected=True): - """ + r""" The probability transition matrix of a random walk on the vertices of a hypergraph. At each step in the walk, the next vertex is chosen by: