Input and Output File Format

The hmm_batch_variable plugin file format is identical to the hmm_batch format, excluding only, obviously, the batch size specification:

Example:

2
3

1.0
0.0

0.3 0.7
0.5 0.5

# r[i][j]   ## p[i][0][k]  ## p[i][1][k]  ## p[i][2][k]
0.1 0.1 0.8    0.2 0.2 0.6    0.9 0.1 0.0    0.0 0.0 0.0
0.5 0.0 0.5    0.8 0.1 0.1    0.3 0.3 0.4    0.0 0.0 0.0

Note: The load and save methods can, as previously described, load/save specific attribute descriptions. In this case, the file which is read/written by these methods should have the same format described above, but include only the specific attribute which is being loaded/saved, i.e, the other attributes should be omitted from the file.



Guilherme Dutra Gonzaga Jaime 2010-10-27