Graph Algorithms for Data Science
graphs4sci.substack.com
graphs4sci.substack.com
Turns out there are tons of graph ECC out there. Viterbi algorithm is one, and LDPC is another. I don't understand them, but clearly graphs can be used in many obscure situations.
http://ipsit.bu.edu/phdthesis_html/node8.html
The above PHd thesis explicitly talks about the Trellis graph constructed for the Vertibi algorithm based Error Correction.
It's complicated, there are matrix representations of these graphs too. It seems like information theorists have many mental models of what is going on, and they just fluidly switch between their mental models without sweating. It makes for a frustrating read, to say the least.
------
Application wise: Vertibi ECC is used for earlier Wifi 802.11... while LDPC is newer like 802.11n or so. Really low level stuff, I'm curious about it but don't really have an application in mind. Just found it curious that it's technically a graph algorithm
I'm seriously considering buying some textbooks on coding theory, but since this is just idle curiosity... I'm not sure if its worth the effort, lol.
* codeword = data * generator_matrix
* codeword * check_matrix = 0_vector
* senseword = codeword + error_vector
* senseword * check_matrix = syndrome_vector
(Yeah, this field likes "horizontal" data vectors. Its weird but you get used to it...)
------
The job of error correction is usually to convert sensewords back into data. Sensewords represent "what the receiver sensed". If no errors occurred, its usually very easy to convert sensewords back into data... but if an error occurred, then you must calculate the syndromes and then figure out a methodology to correct the errors.
Coding schemes set up the matrix in different ways. It seems like Vertibi Algorithm has a graphical representation of the matrix, or something... I still don't understand it but hopefully this post of mine can give you a leg up in understanding what's going on.
If you want to check out something a bit more substantive, how about this: https://github.com/DataForScience/Causality
In the GitHub repo above you have links to other blogposts by yours truly