Read and Write options missing #1758
-
When following the read and write examples in this notebook: https://github.com/pgmpy/pgmpy_notebook/blob/master/notebooks/9.%20Reading%20and%20Writing%20from%20pgmpy%20file%20formats.ipynb I noticed that ProbModelXMLReader is no longer available from pgmpy.readwrite and XMLBeliefNetwork does have issues with methods 'set_variables':
and 'set_distributions':
also XMLBeliefNetwork does not seem to have any method to write to file such as 'write_file'. Currently, it seems that the only working read and write format is BIF. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@borjasor ProbModelXML was removed a while back, so the notebook does need to be updated. I have fixed the error you were getting with XMLBeliefNetwork, so that should work now. In general, the BIF is the most widely used file format and is also the file format implementation that has been tested most thoroughly in pgmpy. |
Beta Was this translation helpful? Give feedback.
@borjasor ProbModelXML was removed a while back, so the notebook does need to be updated. I have fixed the error you were getting with XMLBeliefNetwork, so that should work now. In general, the BIF is the most widely used file format and is also the file format implementation that has been tested most thoroughly in pgmpy.