compute is deprecated. Please refer to the new function
compute(x, covariate, rep = 1)
an object of class
a dataframe or matrix containing the variables that had been used to train the neural network.
an integer indicating the neural network's repetition which should be used.
compute returns a list containing the following components:
a list of the neurons' output for each layer of the neural network.
a matrix containing the overall result of the neural network.