Berkas:Binary entropy plot.svg
Dari testwiki
Loncat ke navigasi
Loncat ke pencarian
Ukuran pratayang PNG ini dari berkas SVG ini: 300 × 300 piksel Resolusi lainnya: 240 × 240 piksel | 480 × 480 piksel | 768 × 768 piksel | 1.024 × 1.024 piksel | 2.048 × 2.048 piksel.
Ukuran asli (Berkas SVG, secara nominal 300 × 300 piksel, besar berkas: 1 KB)
Berkas ini berasal dari Wikimedia Commons dan mungkin digunakan oleh proyek-proyek lain. Deskripsi dari halaman deskripsinya ditunjukkan di bawah ini.
Ringkasan
| DeskripsiBinary 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}
|
| Tanggal | |
| Sumber | Karya sendiri berdasarkan: Binary entropy plot.png by Brona |
| Pembuat |
Vektor: Newer version by Rubber Duck |
| SVG genesis InfoField |
Lisensi
Saya, pemilik hak cipta dari karya ini, dengan ini menerbitkan berkas ini di bawah ketentuan berikut:
| Diizinkan untuk menyalin, mendistribusikan dan/atau memodifikasi dokumen ini di bawah syarat-syarat Lisensi Dokumentasi Bebas GNU, Versi 1.2 atau lebih baru yang diterbitkan oleh Free Software Foundation; tanpa Bagian Invarian, tanpa Teks Sampul Depan, dan tanpa Teks Sampul Belakang. Salinan lisensi dimasukkan ke bagian yang berjudul Lisensi Dokumentasi Bebas GNU.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
| Berkas ini dilisensikan dengan lisensi Creative Commons Atribusi-BerbagiSerupa 3.0 Tanpa Adaptasi | ||
| ||
| Label lisensi ini ditambahkan pada berkas sebagai bagian dari pemutakhiran lisensi GFDL.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
menggambarkan
April 2007
image/svg+xml
checksum Inggris
a9cd604177c23863a984861678b72545aed6298f
1.258 Bita
300 piksel
300 piksel
Riwayat berkas
Klik pada tanggal/waktu untuk melihat berkas ini pada saat tersebut.
| Tanggal/Waktu | Miniatur | Dimensi | Pengguna | Komentar | |
|---|---|---|---|---|---|
| terkini | 9 Februari 2015 17.07 | 300 × 300 (1 KB) | wikimediacommons>Krishnavedala | simplified drawing |
Penggunaan berkas
Halaman berikut menggunakan berkas ini:
