neataptic icon indicating copy to clipboard operation
neataptic copied to clipboard

Save and reload the genomes

Open hankphung opened this issue 7 years ago • 2 comments

I've looked the documentation and can't find a place where I can save the current stage of the network and load it back later. I'm using a simple framework to build feedforward network and it allows me to save and load the genomes so I can just save the current network into a file and resume it anytime. So can we do it on Neataptic? Or is it possible to add that feature to the framework? Thanks.

hankphung avatar Dec 06 '17 11:12 hankphung

This would be an awesome feature!! +1

talvasconcelos avatar Dec 06 '17 17:12 talvasconcelos

This feature exists already. It can be found on the documentation here (see toJSON and fromJSON). Basic usage:

var exported = myNetwork.toJSON();
var imported = Network.fromJSON(exported);

wagenaartje avatar Dec 07 '17 09:12 wagenaartje