Python Neurolab for neural network

Today, I tried to use Neurolab to build a NN. Many things to learn and consider. Here are some points.


1. The newff output is fixed to range [-1, 1]. If our output is over the range, we should use Norm and Renorm tool.


2. using np to reshape the array


3. predicting: out = net.sim(test_input)


4.There are different training method for "newff".


5. For targets, bad format: targets = [1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0]. 

                       good one: targets = [[1], [1], [1], [0] ... [0]]



Last, documentation is here: http://pythonhosted.org/neurolab/index.html

google code: https://code.google.com/archive/p/neurolab/



你可能感兴趣的:(Neural,networks,deep,learning)