Skip to content

Commit

Permalink
Chapter 1,4,7,10,14
Browse files Browse the repository at this point in the history
Former-commit-id: 7d563fb
  • Loading branch information
SwordYork committed Dec 7, 2016
0 parents commit 66198cc
Show file tree
Hide file tree
Showing 17 changed files with 11,088 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.*
*.aux
*.gz
*.aux
*.backup
*.log
*.kilepr
*.toc
*.out
agreement.jpg
dlbook_cn.acn
dlbook_cn.acr
dlbook_cn.alg
dlbook_cn.brf
dlbook_cn.xdy
dlbook_cn.bbl
dlbook_cn.blg
dlbook_cn.idx
dlbook_cn.ind
558 changes: 558 additions & 0 deletions Chapter1/introduction.tex

Large diffs are not rendered by default.

1,201 changes: 1,201 additions & 0 deletions Chapter10/sequence_modeling_rnn.tex

Large diffs are not rendered by default.

660 changes: 660 additions & 0 deletions Chapter14/autoencoders.tex

Large diffs are not rendered by default.

530 changes: 530 additions & 0 deletions Chapter4/numerical_computation.tex

Large diffs are not rendered by default.

1,270 changes: 1,270 additions & 0 deletions Chapter7/regularization.tex

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
all:
xelatex dlbook_cn.tex && bibtex dlbook_cn.aux && texindy dlbook_cn.idx && makeglossaries dlbook_cn && xelatex dlbook_cn.tex

clean:
find . -type f -iregex '.*\.\(aux\|log\|toc\|backup\|acr\|brf\|gz\|acn\|xdy\|alg\)$$' -delete
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Deep Learning 中文翻译

就经过3多个月,我们终于完成了翻译草稿。当然这是草稿中的草稿,我们会不断改进,就像梯度下降一样,要迭代好几轮才能找的一个不错的解。

目前的版本是直译版,尽可能地保留原书中的每一个字。

> Inventors have long dreamed of creating machines that think. This desire dates back to at least the time of ancient Greece.
> 自古以来,创造者就梦想着创造能思考的机器。这个愿望至少可以追溯到古希腊的时期。
之后我们可能会翻译成
> 远在古希腊的时期,创造者就梦想着创造能思考的机器。
语句流畅度的提高必然伴随精度下降(我们水平有限)。因此我们需要ensemble,需要大家的建议。

面向的读者
--------------------
这一版读起来肯定费劲,我们建议英文好的或者研究者直接读原版。
这一版面向的读者是英语不好,急于想入门深度学习的同学。或者希望帮忙校对的各路大哥也可以读读,只要不嫌弃。


注意
-----------
各种问题或者建议可以提issue,建议使用中文。
由于版权问题,我们不能将图片和bib上传,请见谅。
可用于学习研究目的,不得用于任何商业行为。谢谢!


TODO
---------

1. 翻译图片描述
2. 链接补全
3. 语句通顺
4. 第20章正在校对,这章比较难估计还需2周

Updating.....
2 changes: 2 additions & 0 deletions acknowledgments.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
%TODO
TODO
17 changes: 17 additions & 0 deletions breakcites.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
% breakcites
% Style file to allow citations to be broken across lines.
% - Don Hosek 3/14/89 (LaTeX209-Version)
% - Leo Broska 02/20/97 (LaTeX-2e-Version)
%
\def\@citex[#1]#2{%
\let\@citea\@empty
\@cite{\@for\@citeb:=#2\do
{\@citea\def\@citea{,\penalty\@m\ }%
\edef\@citeb{\expandafter\@firstofone\@citeb}%
\if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
\@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
\G@refundefinedtrue
\@latex@warning
{Citation `\@citeb' on page \thepage \space undefined}}%
{\csname b@\@citeb\endcsname}}}{#1}}

1 change: 1 addition & 0 deletions dlbook_cn.pdf.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2b9d13054e778360737a54e93f7274348078af9e
147 changes: 147 additions & 0 deletions dlbook_cn.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
\documentclass[11pt,a4paper,oneside]{book}
\usepackage{natbib}

% CJK related
\usepackage[slantfont,boldfont]{xeCJK}
\setCJKmainfont[AutoFakeBold=true]{Adobe Song Std}
\setCJKsansfont{Adobe Heiti Std}
\setCJKmonofont{Adobe Fangsong Std}

% Needed for some foreign characters
\usepackage[T1]{fontenc}

\usepackage{amsmath}
\usepackage{subfigure}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{booktabs}
% This allows us to cite chapters by name, which was useful for making the
% acknowledgements page
\usepackage{nameref}
\usepackage{breakcites}

\usepackage[tocindentauto]{tocstyle}
\usetocstyle{standard}

\usepackage{bm}
\usepackage{float}
\newcommand{\boldindex}[1]{\textbf{\hyperpage{#1}}}
\usepackage{makeidx}\makeindex
% Make bibliography and index appear in table of contents
\usepackage[nottoc]{tocbibind}
\usepackage[font=small]{caption}

% Used to change header sizes
\usepackage{fancyhdr}

\usepackage[section]{placeins}
\usepackage[chapter]{algorithm}
\usepackage{algorithmic}
% Include chapter number in algorithm number
\renewcommand{\thealgorithm}{\arabic{chapter}.\arabic{algorithm}}

\usepackage[pdffitwindow=false,
pdfview=FitH,
pdfstartview=FitH,
pagebackref=true,
breaklinks=true,
colorlinks=false,
bookmarks=false,
%hidelinks=true,
plainpages=false]{hyperref}

\usepackage[nomain,acronym,xindy,toc,nopostdot]{glossaries}
\makeglossaries
\usepackage[xindy]{imakeidx}
\makeindex

\usepackage{zref-abspage}
\setcounter{secnumdepth}{3}


% my page
\usepackage[vcentering,dvips]{geometry}
\geometry{papersize={7in,9in},bottom=3pc,top=5pc,left=5pc,right=5pc,bmargin=4.5pc,footskip=18pt,headsep=25pt}
\setlength\emergencystretch{1.5em}

% my command
\newcommand{\firstgls}[1]{\textbf{\gls{#1}}(\glsdesc{#1})}
\newcommand{\firstacr}[1]{\textbf{\gls{#1}}~(\glssymbol{#1})}
\newcommand{\firstall}[1]{\textbf{\gls{#1}}~(\glsdesc{#1}, \glssymbol{#1})}
\newcommand{\ENNAME}[1]{\text{#1}}
\newcommand{\NUMTEXT}[1]{\text{#1}}

% Draft
\usepackage{draftwatermark}
\SetWatermarkText{DRAFT}
\SetWatermarkLightness{0.9}
\usepackage{background}
\SetBgContents{仅供学习使用,不得用于商业目的。
\url{https://github.com/exacity/deeplearningbook-chinese}}
\SetBgScale{1}
\SetBgAngle{0}
\SetBgOpacity{1}
\SetBgColor{red}
\SetBgPosition{current page.north}
\SetBgVshift{-0.5cm}

\newif\ifOpenSource
\OpenSourcetrue

% symbol and
\include{math_symbol}
\include{terminology}


\begin{document}

% From en book -B
\setlength{\parskip}{0.25 \baselineskip}
% Sean said to make figures 26 picas wide
\newlength{\figwidth}
\setlength{\figwidth}{26pc}
% Spacing between notation sections
\newlength{\notationgap}
\setlength{\notationgap}{1pc}
% From en book -E

\tableofcontents

\newpage
\input{acknowledgments.tex}
\input{notation.tex}
\mainmatter

\include{Chapter1/introduction}
%\include{Chapter2/linear_algebra}
%\include{Chapter3/probability_and_information_theory}
\include{Chapter4/numerical_computation}
%\include{Chapter5/machine_learning_basics}
%\include{Chapter6/deep_feedforward_networks}
\include{Chapter7/regularization}
%\include{Chapter8/optimization_for_training_deep_models}
%\include{Chapter9/convolutional_networks}
\include{Chapter10/sequence_modeling_rnn}
%\include{Chapter11/practical_methodology}
%\include{Chapter12/applications}
%\include{Chapter13/linear_factor_models}
\include{Chapter14/autoencoders}
%\include{Chapter15/representation_learning}
%\include{Chapter16/structured_probabilistic_modelling}
%\include{Chapter17/monte_carlo_methods}
%\include{Chapter18/confronting_the_partition_function}
%\include{Chapter19/approximate_inference}
%\include{Chapter20/deep_generative_models}

\appendix

\small{
\bibliography{dlbook_cn}
\bibliographystyle{natbib}
\clearpage
}

\printglossary[title=术语]
\end{document}
Binary file added figure.pdf
Binary file not shown.
Loading

0 comments on commit 66198cc

Please sign in to comment.