Search code examples
neural-networkpybrain

_convertToOneOfMany in PyBrain


I follow the PyBrain tutorial Classification with Feed-Forward Neural Networks and want to build my own classifier.

I do not understand how _convertToOneOfMany modifies outputs.

Why would initial operation alldata.addSample(input, [klass]) create more than one output neuron per class?


Solution

  • nevermind, here is doc explaining this stuff http://pybrain.org/docs/tutorial/datasets.html