How to save Infer.NET Bayesian network model and reload it for querying?

Jingwen Pan 1 Reputation point


As titled, I wonder is there a function or a way that we can save the Bayesian network in c# instead of writing the model's parameters to a file? I would like to load the trained model for query purposes, and I think re-learning the parameters is not a good idea. Can anyone help me with this question? There could be a method for saving that I just didn't know. Thank you so much!


An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,174 questions
{count} votes