Saving networks and weights fro EncogModel

二次信任 提交于 2019-12-13 05:43:24

问题


I was able to create a network, train it and evaluate it using EncogModel. However, i would like to be able to save the network, training and weights, so that every time i run it, i dont have to train it. I found encog persistence, but I'm having a hard time putting encogmodel and percistence together. is there any sample codes available? If not, how could this be done?


回答1:


Used:

SerializeObject.Save(string path, network);

and

EncogUtility.SaveEGB( FileInfo path , data);

EncogDirectoryPersistance.SaveObject(FileInfo f,network) seemed to not support NEAT, it kept returning an error.



来源:https://stackoverflow.com/questions/27699567/saving-networks-and-weights-fro-encogmodel

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