neural-networks-and-deep-learning README

The project's README from github.com/mnielsen/neural-networks-and-deep-learning. As one markdown file: README.md.

Code samples for "Neural Networks and Deep Learning"

This repository contains code samples for my book on "Neural Networks and Deep Learning".

The code is written for Python 2.6 or 2.7. There is a version for Python 3.8-3.10 here. I will not be updating the current repository for Python 3 compatibility.

The program src/network3.py uses version 0.6 or 0.7 of the Theano library. It needs modification for compatibility with later versions of the library. I will not be making such modifications.

As the code is written to accompany the book, I don't intend to add new features. However, bug reports are welcome, and you should feel free to fork and modify the code.

License

MIT License

Copyright (c) 2012-2022 Michael Nielsen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

neural-networks-and-deep-learning (mnielsen/neural-networks-and-deep-learning)

Searching Database…

这是什么?Michael Nielsen 所著《Neural Networks and Deep Learning》一书的代码示例——一套 Python 程序,供你在阅读这本书的过程中边读边运行。
这是书本身,还是配套的代码?只是代码。书的正文在别处,这个仓库里放的是配套的可运行示例程序,你可以一边读书一边运行这些示例。
怎么运行这些示例?克隆仓库后直接运行 Python 脚本即可——不需要构建或安装步骤。只需注意代码针对的是 Python 2.6 或 2.7。
我需要安装什么?Python 2.6 或 2.7。network3.py 另外还需要 Theano 0.6 或 0.7——更新版本的 Theano 需要改代码才能用,而作者不会做这些修改。
在现代的 Python 环境下能跑吗?用这个仓库跑不了——它是刻意冻结的:没有计划做 Python 3 兼容更新,也不会新增功能,所以请做好使用 2012 年前后旧工具的心理准备。
我能在自己的项目里复用这些代码吗?可以——代码采用 MIT 许可证,你可以使用、复制、修改和再分发,甚至用于商业用途,只要保留版权声明即可。
这个项目还在维护吗?没有积极维护——作者认为这些代码作为书的配套已经完成,不会再有新功能。不过仍然欢迎提交 bug 报告,也鼓励你自己 fork 并扩展代码。
哪里能找到能在 Python 3 上运行的版本?README 里链接了一个单独移植的版本,已更新到支持 Python 3.8-3.10。本仓库本身停留在 Python 2.6/2.7,不会再更新。
Creator
mnielsen
Size
20.4 MB
Stars
18K
Updated
CommitJun 02
Age
13y
Commits · 90 Days