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

无人久伴 提交于 2019-12-01 06:49:11

问题


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 learnings of Accord .net. Do I need to save all training data and retrain every time the application is restarted?


回答1:


Ususally there are Load and Save methods for persistance and re-creation of state.
At which specific model are you looking at?




回答2:


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).



来源:https://stackoverflow.com/questions/36889043/how-do-i-save-the-learned-state-in-accord-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!