IDSIA / crema

Crema: Credal Models Algorithms
https://crema-toolbox.readthedocs.io/
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Parser for BIF format #50

Open cbonesana opened 3 years ago

cbonesana commented 3 years ago

The Interchange Format for Bayesian Networks (BIF) is commonly used as an interchange format, like the UAI.

We need an implementation of at least a parser for this format.

rcabanasdepaz commented 3 years ago

There is already some code for xmlbif, though it is a bit different to the rest of parsers:

  XMLBIFParser parser = new XMLBIFParser();
  FileInputStream fio = new FileInputStream(bnetFile);
  SparseModel net = parser.parse(fio);
cbonesana commented 3 years ago

From what I understood, this is XMLBIF format. I'm talking about non-XML BIF format.