Added requirements.txt and instructions for running to README

This commit is contained in:
2022-11-04 21:30:02 +01:00
parent 6444914296
commit bf469afbd1
4 changed files with 29 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ class ProximalDecoder:
"""Class implementing the Proximal Decoding algorithm. See "Proximal Decoding for LDPC Codes" by Tadashi
Wadayama, and Satoshi Takabe.
"""
def __init__(self, H: np.array, K: int = 10, step_size: float = 0.1, gamma: float = 0.05):
def __init__(self, H: np.array, K: int = 10, step_size: float = 0.01, gamma: float = 0.05):
"""Construct a new ProximalDecoder Object.
:param H: Parity Check Matrix