Learn R Programming

darch (version 0.9.1)

saveDArch: Saves a DArch network

Description

Saves the DArch object to the filename given through the parameter name plus the ending ".net".

Usage

saveDArch(darch,name="darch",saveRBM=TRUE)

## S3 method for class 'DArch': saveDArch(darch, name = "darch", saveRBM = TRUE)

Arguments

darch
A instance of the class DArch.
name
The name for the file. Default value is "darch".
saveRBM
Boolean value to indicate if the RBM's are saved.

Details

If the field ff of the DArch object is TRUE then the weights are saved in seperate 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 RBM's 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 RBM's are saved see saveRBMFFWeights. If the parameter saveRBM is FALSE the field rbmList of the DArch object ist overwritten by an empty list.

See Also

loadDArch, saveRBMFFWeights