Learn R Programming

darch (version 0.12.0)

runDArch: Forward-propagates data through the network

Description

Runs the DArch in a feed-forward manner and returns the output.

Usage

runDArch(darch, data, inputLayer = 1, outputLayer = length(darch@layers),
  matMult = getParameter(".matMult"))

Arguments

darch

A instance of the class '>DArch.

data

The input data to execute the darch on.

inputLayer

Into which layer the given data is to be fed. Absolute number starting at 1 for the input layer.

outputLayer

The output of which layer is to be returned, absolute number starting a 0 for the input layer (i.e. pre-processed data is returned).

matMult

Function to use for matrix multiplication.

Value

The network output

Details

Input and output layer can be chosen via the parameters inputLayer and outputLayer.

See Also

darch

Other darch execute functions: runDArchDropout