/nndl

Another Chinese Translation of Neural Networks and Deep Learning

Primary LanguageTeXOtherNOASSERTION

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

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
├── NotoSerifCJKsc-Black.otf
├── NotoSerifCJKsc-Bold.otf
├── NotoSerifCJKsc-DemiLight.otf
├── NotoSerifCJKsc-Light.otf
├── NotoSerifCJKsc-Medium.otf
├── NotoSerifCJKsc-Regular.otf
├── NotoSerifCJKsc-Thin.otf
├── 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.