File:Binary_entropy_plot.svg
From Wikipedia, the free encyclopedia
![File:Binary entropy plot.svg](http://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Binary_entropy_plot.svg/300px-Binary_entropy_plot.svg.png)
呢個「SVG」檔案嘅呢個「PNG」預覽嘅大細:300 × 300 像素。 第啲解像度:240 × 240 像素|480 × 480 像素|768 × 768 像素|1,024 × 1,024 像素|2,048 × 2,048 像素。
原本檔案 (SVG檔案,表面大細: 300 × 300 像素,檔案大細:1 KB)
摘要
描述Binary entropy plot.svg |
en:Information entropy of a en:Bernoulli trial X. If X can assume values 0 and 1, entropy of X is defined as H(X) = -Pr(X=0) log2 Pr(X=0) - Pr(X=1) log2 Pr(X=1). It has value if Pr(X=0)=1 or Pr(X=1)=1. The entropy reaches maximum when Pr(X=0)=Pr(X=1)=1/2 (the value of entropy is then 1). The image was created in the following steps. First I have created a DVI version starting from a LaTeX/Pstricks source. Here is the code: %Plot of information entropy of Bernoulli variable
%
%latex binary_entropy_plot; dvips binary_entropy_plot
%open .ps file in gimp, choose strong antialias in both text and graphics,
%resulution 500, color mode, crop, scale to 45%, save as .png
\documentclass[12pt]{article}
\usepackage{pst-plot}
\begin{document}
\psset{unit=4cm}
\begin{pspicture}(0,0)(1.01,1)
\psgrid[gridlabels=0pt,gridcolor=lightgray,subgriddiv=10,subgridcolor=lightgray](0,0)(0,0)(1,1)
\newrgbcolor{myblue}{0 0 0.7}
\psaxes[arrows=->,arrowsize=2pt 4,Dx=0.5,Dy=0.5](0,0)(0,0)(1.1,1.1)
\psplot[plotstyle=curve,plotpoints=100,linewidth=1.8pt,linecolor=myblue]{0.0001}{0.9999}{-1 x x log 2 log div mul 1 x sub 1 x sub log 2 log div mul add mul}
\rput(0.5,-0.22){$\Pr(X=1)$}
\rput{90}(-0.28,0.5){$H(X)$}
\end{pspicture}
\end{document}
|
日期 | |
來源 | Own work based on: Binary entropy plot.png by Brona |
作者 |
Vector: Newer version by Rubber Duck |
SVG genesis InfoField | ![]() This diagram was created with a text editor. ![]() ![]() Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor ![]() ![]() This diagram uses embedded text that can be easily translated using a text editor. |
協議
我,呢份作品嘅作者,決定用以下許可發佈呢件作品:
![]() |
根據自由軟體基金會發佈嘅無固定段落、封面文字同封底文字GNU自由文件授權條款第1.2或打後嘅版本,你獲授權可以重製、散佈同埋修改爾份文件。授權條款嘅副本喺章節GNU自由文件授權條款。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
![]() ![]() ![]() |
呢個檔案用共享創意 姓名標示-非商業性-相同方式分享3.0 未本地化版本條款授權。 | |
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
圖中顯示嘅係
4月 2007
image/svg+xml
1,258 字節
300 像素
300 像素
檔案歷史
撳個日期/時間去睇響嗰個時間出現過嘅檔案。
日期/時間 | 縮圖 | 尺寸 | 用戶 | 註解 | |
---|---|---|---|---|---|
現時 | 2015年2月9號 (一) 16:07 | ![]() | 300 × 300(1 KB) | Krishnavedala | simplified drawing |
2007年4月22號 (日) 15:19 | ![]() | 169 × 163(40 KB) | Alejo2083 | {{Information |Description=Information entropy of a Bernoulli trial ''X''. If ''X'' can assume values 0 and 1, entropy of ''X'' is defined as ''H''(''X'') = -Pr(''X''=0) log<sub>2</sub> Pr(''X''=0) - Pr(''X''=1) log<sub>2</sub> Pr(''X''=1). It has |
檔案用途
全域檔案使用情況
下面嘅維基都用緊呢個檔案:
- ar.wikipedia.org嘅使用情況
- ca.wikipedia.org嘅使用情況
- cs.wikipedia.org嘅使用情況
- da.wikipedia.org嘅使用情況
- el.wikipedia.org嘅使用情況
- en.wikipedia.org嘅使用情況
- es.wikipedia.org嘅使用情況
- eu.wikipedia.org嘅使用情況
- fa.wikipedia.org嘅使用情況
- fr.wikipedia.org嘅使用情況
- gl.wikipedia.org嘅使用情況
- id.wikipedia.org嘅使用情況
- id.wiktionary.org嘅使用情況
- it.wikipedia.org嘅使用情況
- it.wikiversity.org嘅使用情況
- ko.wikipedia.org嘅使用情況
- pl.wikipedia.org嘅使用情況
- pnb.wikipedia.org嘅使用情況
- sq.wikipedia.org嘅使用情況
- su.wikipedia.org嘅使用情況
- tl.wikipedia.org嘅使用情況
- uk.wikipedia.org嘅使用情況
- ur.wikipedia.org嘅使用情況
- vi.wikipedia.org嘅使用情況
- zh.wikipedia.org嘅使用情況
- zh.wiktionary.org嘅使用情況
Metadata
呢個檔案有額外嘅資料。佢應該係數碼相機或者掃描器整出來嘅。如果佢整咗之後畀人改過,裏面嘅資料未必同改過之後相符。
短標題 | Binary entropy plot |
---|---|
闊 | 300px |
高 | 300px |