forward.prop: Performs forward propagation through the neural network Most...

View source: R/forward.prop.R View source: R/.ipynb_checkpoints/forward.prop-checkpoint.R

forward.propR Documentation

Performs forward propagation through the neural network Most users should use predict.mlp() as a wrapper

Description

Performs forward propagation through the neural network Most users should use predict.mlp() as a wrapper

Usage

forward.prop(network, X = NULL, return.cache = FALSE)

Arguments

network

An object of class 'mlp' containing the neural network.

X

The design matrix (if set to NULL), or a pre-processed matrix of input data.

return.cache

if TRUE, instead of the final activation, the network returns all intermediate activations. Used for backwards propagation.

Value

The activations of the final layer of the network. If return.cache is TRUE, then all intermediate layer activations are instead returned in a list.


Greg-Hallenbeck/easy.mlp documentation built on March 10, 2023, 6:31 a.m.