Talaksan:Binary entropy plot.svg

Mula testwiki
Pumunta sa nabigasyon Pumunta sa paghahanap
Orihinal na file (SVG na file, nominal na 300 × 300 (na) pixel, laki: 1 KB)

Mula sa Wikimedia Commons ang talaksang ito at posibleng magamit sa ibang proyekto. Makikita sa baba ang paglalarawan sa pahina ng paglalarawan nito roon.

Buod

Paglalarawan

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}
compile it with latex to get the DVI. Then it was converted to PS with dvips. Finally it was converted to SVG using ps2svg.sh; it needed some post-processing with Inkscape
Petsa
Pinagmulan Own work based on: Binary entropy plot.png by Brona
May-akda
Bektor:

Newer version by Rubber Duck
SVG genesis
InfoField
 The SVG code is valid.
 This diagram was created with a text editor.
Previous version had been created with Inkscape (40763 bytes)  d  now 3.09% of previous size
 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.

Lisensiya

Ako, na may karapatang-ari ng akdang ito, ang naglalathala nito alinsunod sa ilalim ng sumusunod na mga lisensya:
GNU head Pinapayagan ang pagkopya, pamamahagi, at/o pagbabago sa dokumentong ito sa ilalim ng mga nakasaad sa GNU Free Documentation License, Bersyon 1.2 o kahit anong mas bagong bersyong nilathala ng Free Software Foundation; nang walang pabago-bagong bahagi, walang teksto sa front-cover, at walang teksto sa back-cover. May nakalagay na kopya ng lisensiya sa bahaging pinamagatang GNU Free Documentation License.
w:tl:Creative Commons
atribusyon share alike
Lisensyado ang file na ito sa ilalim ng lisensiyang Creative Commons Attribution-Share Alike 3.0 Unported.
Malaya kang:
  • para ibahagi – para kopyahin, ipamahagi, at i-transmit ang akda
  • para i-remix – para i-adapt ang akda
Sa ilalim ng mga kondisyong ito:
  • atribusyon – Dapat magbigay ka ng isang maayos na pag-credit, ibigay ang link sa lisensiya, at tukuyin kung may mga pagbabagong ginawa. Magagawa mo ito sa isang risonableng paraan, pero hindi sa paraan na para bang ineendorso ka ng naglilisensiya sa'yo o sa paggamit mo nito.
  • share alike – Kung mag-remix ka, magbabago, o bumuo sa materyal, dapat mong ipamahagi ang iyong mga kontribusyon sa ilalim ng pareho o katugmang lisensya bilang orihinal.
Ang tatak ng paglilisensiya ay idinagdag sa talaksang ito bilang bahagi ng pagsasapanahon ng paglilinsensiya ng GFDL .

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts English

copyrighted English

media type English

image/svg+xml

checksum English

a9cd604177c23863a984861678b72545aed6298f

data size English

1,258 byte

height English

300 pixel

width English

300 pixel

Nakaraan ng file

Pindutin ang isang petsa/oras para makita ang file noong puntong yon.

Petsa/OrasThumbnailSukatTagagamitKomento
ngayon17:07, 9 Pebrero 2015Thumbnail para sa bersiyon noong 17:07, 9 Pebrero 2015300 × 300 (1 KB)wikimediacommons>Krishnavedalasimplified drawing

Ginagamit ng sumusunod na pahina ang file na ito: