# The Case and Data File Formats

The HUGIN Graphical User Interface supports case and data files to save and load cases and data. A case file consists of a single case, i.e., a set of evidence on a subset of the nodes in a network, whereas a data file consists of a set of cases. The format of a case file is different from the format of a data file.

## The Case File Format

The HUGIN Graphical User Interface supports saving and loading of case files. A case file contains a description of a single evidence scenario such as this

Figure 1: A sample case file.

Case files are useful for storing a set of evidence to be propagated in the network.

A more elaborate description case files can be found here.

## The Data File Formats

The HUGIN Graphical User Interface supports saving and loading of data files. A data file contains a set of cases as this

Figure 2: A sample data file.

Data files are useful for storing a set of cases to be propagated in the network or more commonly to be used for learning.

A more elaborate description data files can be found here.