Documentation For Encog 2.x

FindCPN.Winner Method

Calculate the winning neuron from the data, this is the neuron that has the highest output.

public int Winner(
   INeuralData data
);

Parameters

data
The data to use to determine the winning neuron.

Return Value

The winning neuron index, or -1 if no winner.

See Also

FindCPN Class | Encog.Neural.Networks.Training.CPN Namespace