pyann is a simple but stronger artificial neural network library for python. I refer to KISS(Keep it simple,stupid) Philosophy as the core principle of it, so you can read or modify source code easily. For user,it's easy to build many different neural networks by a little code:
#create a perceptron model and train it through train data
import network.perceptron as ptron
trainData = [[..,..,label],[..,..,label]]
net = ptron.perceptron()
net.init()
net.train(trainData)
net.expected([..,..]) #will print predicted classNow this project is still updating, also I hope you can help me complete this library and make it perfect!
For Chinese,see READMECN.md.
- perceptron model
(core code:network/perceptron.pydemo:/tests/perceptronDemo.py)
- bpnn model
waiting for completing
- python2.7
- numpy https://github.com/numpy/numpy [optional for demo]
- matplotlib http://matplotlib.org/ [optional for demo]
pyann is under The MIT License (MIT),you can see MIT License file for details,
