Learn R Programming

darch (version 0.10.0)

resetDArch: Resets the weights and biases of the DArch object

Description

This function resets the weights and biases of the DArch object and all RBM objects if the parameter resetRBMs is TRUE.

Usage

resetDArch(darch,resetRBMs=TRUE)

# S4 method for DArch resetDArch(darch, resetRBMs = TRUE)

Arguments

darch

A instance of the class DArch.

resetRBMs

If true the RBMs are also reseted.

Details

When the parameter resetRBMs is FALSE then the trained weights and biases are copied from the RBM objects to the layers.

See Also

DArch