forum.hugin.com

User Forums => Patterns & Predictions => FAQ => Topic started by: Anders L Madsen on August 22, 2007, 08:47:48

Title: How do I extract a HUGIN case file for a particular case from a HUGIN data file?
Post by: Anders L Madsen on August 22, 2007, 08:47:48
If you would like to construct a HUGIN case file for a particular case in a HUGIN data file, then you can use the <dat2hcs> command. Assume you have a HUGIN data file named datafile.csv with 10000 cases and would like to construct a HUGIN case file named case_10.hcs for the case with index 10 in datafile.csv.

The <dat2hcs> takes as argument a model that is constructed from datafile.csv. The command is

dat2hcs model.net datafile.csv 10

where model.net contains the model.