Total Pageviews

Saturday 27 August 2016

Neural Networks and Deep Learning

Another Chinese Translation of Neural Networks and Deep Learning.
This is another (work in progress) Chinese translation of Michael Nielsen's Neural Networks and Deep Learning, originally my learning notes of this free online book. It's written in LaTeX for better look and cross-referencing of math equations and plots. And I borrowed some finished work from https://github.com/tigerneil/neural-networks-and-deep-learning-zh-cn.

Compile the LaTeX Source Code

To compile the source code to a PDF file, please make sure you have a latest TeX system installed. You can download and install a TeX distribution for your platform from http://tug.org.
It's recommended to install
  • Tex Live 2015 or later for Linux
  • MacTex 2015 or later for Mac OS X

Check out source code

Use git to clone this repository and the code samples as a sub module:
$ git clone --recursive https://github.com/zhanggyb/nndl.git
or
$ git clone https://github.com/zhanggyb/nndl.git
$ cd nndl
$ git submodule update --init --recursive

Prepare Fonts

Run the bootstrap.sh in the working copy to download CJK fonts required:
$ ./bootstrap.sh
This is a simple shell script to download the following free fonts into fonts/ folder:
You can also manually download and unarchive to fonts/, and make sure it contains:
fonts/
├── NotoSansCJKsc-Black.otf
├── NotoSansCJKsc-Bold.otf
├── NotoSansCJKsc-DemiLight.otf
├── NotoSansCJKsc-Light.otf
├── NotoSansCJKsc-Medium.otf
├── NotoSansCJKsc-Regular.otf
├── NotoSansCJKsc-Thin.otf
├── NotoSansMonoCJKsc-Bold.otf
├── NotoSansMonoCJKsc-Regular.otf
├── Roboto-Black.ttf
├── Roboto-BlackItalic.ttf
├── Roboto-Bold.ttf
├── Roboto-BoldItalic.ttf
├── Roboto-Italic.ttf
├── Roboto-Light.ttf
├── Roboto-LightItalic.ttf
├── Roboto-Medium.ttf
├── Roboto-MediumItalic.ttf
├── Roboto-Regular.ttf
├── Roboto-Thin.ttf
├── Roboto-ThinItalic.ttf
├── RobotoCondensed-Bold.ttf
├── RobotoCondensed-BoldItalic.ttf
├── RobotoCondensed-Italic.ttf
├── RobotoCondensed-Light.ttf
├── RobotoCondensed-LightItalic.ttf
├── RobotoCondensed-Regular.ttf
├── SourceCodePro-Black.otf
├── SourceCodePro-BlackIt.otf
├── SourceCodePro-Bold.otf
├── SourceCodePro-BoldIt.otf
├── SourceCodePro-ExtraLight.otf
├── SourceCodePro-ExtraLightIt.otf
├── SourceCodePro-It.otf
├── SourceCodePro-Light.otf
├── SourceCodePro-LightIt.otf
├── SourceCodePro-Medium.otf
├── SourceCodePro-MediumIt.otf
├── SourceCodePro-Regular.otf
├── SourceCodePro-Semibold.otf
├── SourceCodePro-SemiboldIt.otf
├── SourceSerifPro-Black.otf
├── SourceSerifPro-Bold.otf
├── SourceSerifPro-ExtraLight.otf
├── SourceSerifPro-Light.otf
├── SourceSerifPro-Regular.otf
└── SourceSerifPro-Semibold.otf

0 directories, 47 files

Generate PDF

Run
$ make
to typeset and generate the PDF document. Or use your favorite GUI TeX application, but choose XeLaTeX as the typeset engine to support the chinese fonts.

from https://github.com/zhanggyb/nndl