Arguments
net
an object of mlp_net
class
input
numeric matrix, each row corresponds to one input vector,
the number of columns must be equal to the number of neurons
in the network input layer
output
numeric matrix with rows corresponding to expected outputs,
the number of columns must be equal to the number of neurons
in the network output layer, the number of rows must be equal to the number
of input rows
tol_level
numeric value, error (MSE) tolerance level
max_reteach_epochs
integer value, maximal number of epochs (iterations) allowed
when reteaching network
report
logical value, if TRUE, information about the pruning process
will be printed on the console (FALSE by default)
plots
logical value, if TRUE, the initial network is plotted and then
replotted every time neuron is removed and at the end of pruning (FALSE by default)