使用 Python 进行神经网络编程?
我是一名大学生(经济学),我想使用神经网络对一些货币模型进行编程。我希望这些模型能够使用经济数据预测某些变量的未来值,但我真的不知道如何对程序本身进行“建模”。有没有什么好的Python模块可以做到这一点?我的意思是,一个神经网络模块和一个经济分析模块?
PS:我使用的是Python 3.x,但如果需要我可以切换到2.7.x......
I'm a College student (Economics) and I want to program some monetary models using Neural Networks. I want those models to be able to predict future values of some variables using economic data, but I really don't know how to "model" the program itself. Is there any good Python module for that? I mean, a module for NN and a module for economic analysis?
P.S.: I'm using Python 3.x, but I can switch to 2.7.x if needed...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
还有 PyBrain。我还没有使用过任何库,但有一些时间来研究文档。与可用的功能集相比,PyBrains 看起来拥有最简单的界面。
编辑
我现在(2010 年 12 月)已经有了一些 PyBrain 的实践经验,并且非常喜欢它。
There is also PyBrain. I didn't work with any library yet, but had some time to investigate the documentation. It looks like PyBrains has the simplest interface, compared to the available feature set.
EDIT
I have now (Dec 2010) some practical experience with PyBrain and like it very much.
我玩过一点 ffnet。 PS-安装起来很痛苦。
“Python 的前馈神经网络”
http://pypi.python.org/pypi/ffnet/0.6
I've played with ffnet a little. PS - It was a pain to install.
"Feed-forward neural network for python"
http://pypi.python.org/pypi/ffnet/0.6
对于大型神经网络,您可能需要考虑 GPU 加速库。
我们自己的库 CUV 浮现在脑海中,以及例如theano。 CUV 有 python 绑定,theano 实际上生成 C++/CUDA 代码。
For large neural networks, you might want to consider GPU-accelerated libraries.
Our own library CUV comes to mind, as well as for example theano. CUV has python bindings, theano actually generates C++/CUDA code.
Google 产生至少四种不同的 Python神经网络实现;特别是,
bpnn.py
因其简单性而看起来不错。或者您正在寻找神经网络的解释?
Google yields at least four different Python neural network implementations; in particular,
bpnn.py
looks good just for its simplicity.Or were you looking for an explanation of neural networks?
pyfann 速度快且文档齐全: http://leenissen.dk/fann/wp/
pyfann, is fast and well documented: http://leenissen.dk/fann/wp/