Skip to content
/ xchg Public

Conversion between the PGMX and XMLBIF formats of bayesian network tools.

License

Notifications You must be signed in to change notification settings

fmgc/xchg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#xchg

  • goal: Convertion OpenMarkov's ProbModelX (pgmx) ↔ XMLBIF (xml)
  • tech: Two XSLT stylesheets are provided to convert in each way:
    • bif2pgmx.xslt: XMLBIF → ProbModelX
    • pgmx2bif.xslt: ProbModelX → XMLBIF
  • requirements: A XSLT processor (e.g. xsltproc available in OSX and most Linux distros)
  • usage:
    • xsltproc bif2pgmx.xslt a_network.xml > a_network.pgmx
    • xsltproc pgmx2bif.xslt a_network.pgmx > a_network.xml
  • warnings:
    • My first experiment with XSL*. Bugs are certain;
    • Experimental stuff. Use at your own risk;
  • acknowledgements:

About

Conversion between the PGMX and XMLBIF formats of bayesian network tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published