harvardnlp / TextFlow

MIT License
116 stars 15 forks source link

Some questions about bpc #8

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I wonder how to compute bpc in your code. Thanks!

zackziegler95 commented 3 years ago

Everything’s in nats by default, so you’ll have to convert from base e to base 2 to get bits.