How do I save «the learned state» in accord.net?

后端 未结 2 891
暗喜
暗喜 2021-01-14 18:03

I am a beginner at machine learning and Accord.net. I see how I can train it and then use it, but in an enterprise setting, running this on a server, how do I persist the le

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-14 18:31

    Import the Accord.IO namespace in your code, by adding

    using Accord.IO;
    

    at the top of your source file. This way, you will be able to use the Serializer's Save methods in any framework object. To load an object back from its serialized form, you can use Serializer.Load(string path).

提交回复
热议问题