compute: Deprecated function

Description Usage Arguments Value

Description

The function compute is deprecated. Please refer to the new function predict.nn.

Usage

1
compute(x, covariate, rep = 1)

Arguments

x

an object of class nn.

covariate

a dataframe or matrix containing the variables that had been used to train the neural network.

rep

an integer indicating the neural network's repetition which should be used.

Value

compute returns a list containing the following components:

neurons

a list of the neurons' output for each layer of the neural network.

net.result

a matrix containing the overall result of the neural network.


neuralnet documentation built on May 2, 2019, 9:17 a.m.