Saves the DArch object to the filename given through the parameter name
plus the ending ".net".
saveDArch(darch,name="darch",saveRBM=TRUE)# S4 method for DArch
saveDArch(darch, name = "darch", saveRBM = TRUE)
A instance of the class DArch
.
The name for the file. Default value is "darch".
Boolean value to indicate if the RBM is saved.
If the field ff
of the DArch object is TRUE
then
the weights are saved in separate ff-files named by the parameter name
plus the string "-W" and the number of the layer.
In the same way the weights from the RBMs of the DArch are saved, but only
if the parameter saveRBM
is TRUE
. For more information about
the how the weights and biases from the RBMs are saved see
saveRBMFFWeights
.
If the parameter saveRBM
is FALSE
the field rbmList
of
the DArch object is overwritten by an empty list.