forum.alglib.net
http://forum.alglib.net/

save neural network state
http://forum.alglib.net/viewtopic.php?f=2&t=2277
Page 1 of 1

Author:  laurent [ Thu Mar 26, 2015 7:58 pm ]
Post subject:  save neural network state

hello,

would someone know how to save the state of a neural network that was trained
so that I can load it at a later time for making predictions ?

thanks for any help,

regards,
Laurent

Author:  florinx [ Thu Aug 18, 2016 12:59 pm ]
Post subject:  Re: save neural network state

Hi Laurent,
I know it might be too late but here it is: you need to serialize (save) and unserialize (load).

From http://www.alglib.net/dataanalysis/neuralnetworks.php#header8 :

serialization functions - mlpserialize and mlpunserialize, which allow to convert network to/from string.

mlpserialize : ww.alglib.net/include/scripts/man_entry.php?sub_mlpserialize
mlpunserialize : http://www.alglib.net/include/scripts/man_entry.php?sub_mlpunserialize

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/