Blogs / Personal blogs

Rich Pang

rkp.science

I am a computational neuroscientist interested in brain dynamics, information processing and learning. I am currently chief scientist at Neurotaxis , a company I founded after my postdoc to provide educational resources and neural data science consulting services to labs around world.

Popular posts
1
Total points
126
HN comments
11
Rank
#18,168 personal

Visit rkp.science → On Hacker News Nov 2024 – Nov 2024

Math & Algorithms 1

1

An alternative construction of Shannon entropy

The underpinning of information theory is Shannon’s formula for the entropy H of a discrete probability distribution P. Derived in 1948 in the paper “A mathematical theory of communication”, this is given by \[ H[P] = -\sum_{i=1}^N p_i \log p_i \] where \( p_i = p(x_i) \) is the probability of sampling \( x_i \) from…