d2l-ai / d2l-en

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
https://D2L.ai
Other
22.62k stars 4.2k forks source link

Update information-theory.md / fixing p_xy distribution in python example for conditional entropy #2533

Open doschkinow opened 12 months ago

doschkinow commented 12 months ago

the point probabilities should sum up to 1. in the current version: 0.1 +0.5 + 0.2 + 0.3 = 1.1 so to fix this, we could replace 0.3 with 0.2: 0.1 +0.5 + 0.2 + 0.2 = 1.

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

github-actions[bot] commented 12 months ago

Job PR-2533-87f6cda is done. Check the results at http://preview.d2l.ai/d2l-en/PR-2533/87f6cda