Jump to content

File:Hmm temporal bayesian net.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 833 × 214 pixels, file size: 32 KB)

Summary

Description
English: Hidden Markov model represented as a Bayesian net with time slices.
Date
Source Own work by uploader, layout copied from bitmap Hmm temporal bayesian net.png
Author Qef
Other versions Equivalent bitmap image: Hmm temporal bayesian net.png
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Source code
InfoField

PostScript code

prologues := 3;
input boxes

beginfig(1);
arrowlenx=16mm; arrowleny=10mm;
dasheslen = 6mm; dashesgap = 3mm;
textscale=1.5;
pickup pencircle scaled 1pt;
circleit.xa(btex $x(t-1)$ etex scaled textscale);
circleit.xb(btex $x(t)$ etex scaled textscale);
circleit.xc(btex $x(t+1)$ etex scaled textscale);
circleit.ya(btex $y(t-1)$ etex scaled textscale);
circleit.yb(btex $y(t)$ etex scaled textscale);
circleit.yc(btex $y(t+1)$ etex scaled textscale);
xa.dx = xb.dx = xc.dx = ya.dx = yb.dx = yc.dx = defaultdx*4;
xa.dy = xb.dy = xc.dy = ya.dy = yb.dy = yc.dy = defaultdy*4;
xpart xa.w = dasheslen + arrowlenx;
ypart ya.s = ypart yb.s = ypart yc.s = 0;
xb.w = xa.e + (arrowlenx,0);
xc.w = xb.e + (arrowlenx,0);
xa.s = ya.n + (0,arrowleny);
xpart xb.s = xpart yb.n;
xpart xc.s = xpart yc.n;
drawboxed(xa, xb, xc, ya, yb, yc);
z1 = xa.w - (arrowlenx,0);
drawarrow xa.e--xb.w;
drawarrow xb.e--xc.w;
z2 = xc.e + (arrowlenx,0);
drawarrow xa.s--ya.n;
drawarrow xb.s--yb.n;
drawarrow xc.s--yc.n;
linecap := butt;
drawarrow (z1 + (dashesgap,0))--xa.w;
drawarrow xc.e--(z2 - (dashesgap,0));
draw (z1 - (dasheslen,0))--z1 dashed evenly;
draw z2--(z2 + (dasheslen,0)) dashed evenly;
endfig;
end

Data

The following commands were used to compile this into an SVG file:

mpost fig.mp
ps2pdf -dEPSCrop fig.1 fig.pdf
pstoedit -page 1 -dt -xscale 2 -yscale 2 -f sk fig.pdf fig.sk
inkscape -z --vacuum-defs -f fig.sk -l fig.svg

Licensing

Public domain This work has been released into the public domain by its author, Qef. This applies worldwide.

In some countries this may not be legally possible; if so:
Qef grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

10 July 2007

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:38, 10 July 2008Thumbnail for version as of 00:38, 10 July 2008833 × 214 (32 KB)Qef{{Information |Description={{en|1=Hidden Markov model represented as a Bayesian net with time slices.}} |Source=Own work by uploader, layout copied from bitmap Image:Hmm_temporal_bayesian_net.png |Author=Qef |Date=2007-07-10 |Permission=

Global file usage

The following other wikis use this file: