Sum-product Algorithm Decoder for Hamming (7,4) A decoder of Hamming (7,4) via AWGN based on sum-product/max-product algorithm. python3 main.py -h to get the usage instruction.