Change the neuron count for the network. If the count is increased then a zero-weighted neuron is added, which will not affect the output of the neural network. If the neuron count is decreased, then the weakest neuron will be removed.
PruneSelective Class | Encog.Neural.Networks.Prune Namespace