MarkovRandomField.updateMetaData

MarkovRandomField.updateMetaData()

Update the model’s built-in metadata (version, creation date, last modification date).

This method is called automatically by writers before saving the model to a file.

Return type:

None

Example

import pyagrum as gum

mrf = gum.fastMRF("A--B;B--C")
mrf.updateMetaData()
sorted(mrf.properties())
# ['creation', 'lastModification', 'name', 'software']

Class

MarkovRandomField