diff --git a/fit_a_line/image/predictions.png b/fit_a_line/image/predictions.png index 48c7869fda864032a0466c8b2bad214f1b4348de..27e4acb1313794f52ad9ad9e874cdadd197ff41f 100644 Binary files a/fit_a_line/image/predictions.png and b/fit_a_line/image/predictions.png differ diff --git a/fit_a_line/image/ranges.png b/fit_a_line/image/ranges.png index aeb948c9546e3494714794f7ae9d2186499529d4..3661ace169ad2bbda6355cff615b771108b258de 100644 Binary files a/fit_a_line/image/ranges.png and b/fit_a_line/image/ranges.png differ diff --git a/image_classification/image/cifar.png b/image_classification/image/cifar.png index f54a0c58837cb3385b32dc57d02cec92666ef0f1..f3c5f2f7b0c84f83382b70124dcd439586ed4eb0 100644 Binary files a/image_classification/image/cifar.png and b/image_classification/image/cifar.png differ diff --git a/image_classification/image/dog_cat.png b/image_classification/image/dog_cat.png index 14f255805081c1b4fab27eaf336fd389fa93ca19..38b21f21604b1bb84fc3f6aa96bd5fce45d15a55 100644 Binary files a/image_classification/image/dog_cat.png and b/image_classification/image/dog_cat.png differ diff --git a/image_classification/image/fea_conv0.png b/image_classification/image/fea_conv0.png index 1707ea3a07582ab7c4fcd449cd4eee6f1e62a2ed..647c822e52cd55d50e5f207978f5e6ada86cf34c 100644 Binary files a/image_classification/image/fea_conv0.png and b/image_classification/image/fea_conv0.png differ diff --git a/image_classification/image/googlenet.jpeg b/image_classification/image/googlenet.jpeg index b2deb0f79156ba8c0c32a192efabcb5746cf35e0..249dbf96df61c3352ea5bd80470f6c4a1e03ff10 100644 Binary files a/image_classification/image/googlenet.jpeg and b/image_classification/image/googlenet.jpeg differ diff --git a/image_classification/image/ilsvrc.png b/image_classification/image/ilsvrc.png index 83febf27ad3a326b749110cb9aa1af8625ccaa90..4660ac122e9d533023a21154d35eee29e3b08d27 100644 Binary files a/image_classification/image/ilsvrc.png and b/image_classification/image/ilsvrc.png differ diff --git a/image_classification/image/inception.png b/image_classification/image/inception.png index 6fa0eb1151a2c676a9bc825f81c72f80c323bac9..9591a0c1e8c0165c40ca560be35a7b9a91cd5027 100644 Binary files a/image_classification/image/inception.png and b/image_classification/image/inception.png differ diff --git a/image_classification/image/lenet.png b/image_classification/image/lenet.png index 1e6f2b32bad797f3fccb929c72a121fc935b0cbb..77f785e03bacd38c4c64a817874a58ff3298d2f3 100644 Binary files a/image_classification/image/lenet.png and b/image_classification/image/lenet.png differ diff --git a/image_classification/image/plot.png b/image_classification/image/plot.png index a31f99791c670e18bb8c62b7604ec8cb0284ffb4..57e45cc0c27dd99b9918de2ff1228bc6b65f7424 100644 Binary files a/image_classification/image/plot.png and b/image_classification/image/plot.png differ diff --git a/image_classification/image/resnet.png b/image_classification/image/resnet.png index bce224b7e66ac071111867f2a6e653fe93b46412..e1b3a87e73e15e3b937910fe2910a3a14395df43 100644 Binary files a/image_classification/image/resnet.png and b/image_classification/image/resnet.png differ diff --git a/image_classification/image/resnet_block.jpg b/image_classification/image/resnet_block.jpg index e16bd3c624030c4c09b358a015b491141b42d8f1..c500eb01a90190ff66150871fe83ec275e2de8d7 100644 Binary files a/image_classification/image/resnet_block.jpg and b/image_classification/image/resnet_block.jpg differ diff --git a/image_classification/image/variations.png b/image_classification/image/variations.png index 2134587e4b4be15a92c4b400d1b67f021fa28fa6..b4ebbbe6a50f5fd7cd0cccb52cdac5653e34654c 100644 Binary files a/image_classification/image/variations.png and b/image_classification/image/variations.png differ diff --git a/image_classification/image/vgg16.png b/image_classification/image/vgg16.png index 571cab2ede411a61c51165733daed94959847e9e..6270eefcfd7071bc1643ee06567e5b81aaf4c177 100644 Binary files a/image_classification/image/vgg16.png and b/image_classification/image/vgg16.png differ diff --git a/machine_translation/image/bi_rnn.png b/machine_translation/image/bi_rnn.png index e858008f6ad3432a69971c580802268139fbc4a2..9d8efd50a49d0305586f550344472ab94c93bed3 100644 Binary files a/machine_translation/image/bi_rnn.png and b/machine_translation/image/bi_rnn.png differ diff --git a/machine_translation/image/decoder_attention.png b/machine_translation/image/decoder_attention.png index 9bbd417065b810239d5e232b1d2d213f6ecb3ec7..1b355e7786d25487a3f564af758c2c52c43b4690 100644 Binary files a/machine_translation/image/decoder_attention.png and b/machine_translation/image/decoder_attention.png differ diff --git a/machine_translation/image/encoder_attention.png b/machine_translation/image/encoder_attention.png index dde2fc60d0db3b6d7f4040a4aaeb499e176c8084..28d7a15a3bd65262bde22a3f41b5aa78b46b368a 100644 Binary files a/machine_translation/image/encoder_attention.png and b/machine_translation/image/encoder_attention.png differ diff --git a/machine_translation/image/encoder_decoder.png b/machine_translation/image/encoder_decoder.png index 2bfc5d35aff72f5d884006cb7e82dcbbfdd817bd..bea738397a6b720ad2fcc991200807f54b09e220 100644 Binary files a/machine_translation/image/encoder_decoder.png and b/machine_translation/image/encoder_decoder.png differ diff --git a/machine_translation/image/gru.png b/machine_translation/image/gru.png index d0a3e21cc3c0b40118e63f66be781d598e0b02f5..0cde685b84106650a4df18ce335a23e6338d3d11 100644 Binary files a/machine_translation/image/gru.png and b/machine_translation/image/gru.png differ diff --git a/machine_translation/image/nmt.png b/machine_translation/image/nmt.png index 0c8f685309124e2bd2512d00d39559a233fbcdbb..bf56d73ebf297fadf522389c7b6836dd379aa097 100644 Binary files a/machine_translation/image/nmt.png and b/machine_translation/image/nmt.png differ diff --git a/pandoc.template b/pandoc.template new file mode 100644 index 0000000000000000000000000000000000000000..f2c2cb5edbc70c35b1f9cd7089d07bf3237db7cd --- /dev/null +++ b/pandoc.template @@ -0,0 +1,202 @@ +\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$} +\usepackage{geometry} % 設定邊界 +\geometry{ + top=1in, + inner=1in, + outer=1in, + bottom=1in, + headheight=3ex, + headsep=2ex +} +\usepackage[T1]{fontenc} +\usepackage{lmodern} +\usepackage{amssymb,amsmath} +\usepackage{ifxetex,ifluatex} +\usepackage{fixltx2e} % provides \textsubscript +% use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex + \usepackage[utf8]{inputenc} +$if(euro)$ + \usepackage{eurosym} +$endif$ +\else % if luatex or xelatex + \usepackage{booktabs} + \usepackage{fontspec} % 允許設定字體 + \usepackage{xeCJK} % 分開設置中英文字型 + \setCJKmainfont{SimSun} % 設定中文字型 + \setmainfont{Georgia} % 設定英文字型 + \setromanfont{Georgia} % 字型 + \setmonofont{Courier New} + \linespread{1.2}\selectfont % 行距 + \XeTeXlinebreaklocale "zh" % 針對中文自動換行 + \XeTeXlinebreakskip = 0pt plus 1pt % 字與字之間加入0pt至1pt的間距,確保左右對整齊 + \parindent 0em % 段落縮進 + \setlength{\parskip}{20pt} % 段落之間的距離 + \ifxetex + \usepackage{xltxtra,xunicode} + \fi + \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} +$if(mainfont)$ + \setmainfont{$mainfont$} +$endif$ +$if(sansfont)$ + \setsansfont{$sansfont$} +$endif$ +$if(monofont)$ + \setmonofont{$monofont$} +$endif$ +$if(mathfont)$ + \setmathfont{$mathfont$} +$endif$ +\fi +% use microtype if available +\IfFileExists{microtype.sty}{\usepackage{microtype}}{} +$if(geometry)$ +\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$if(natbib)$ +\usepackage{natbib} +\bibliographystyle{plainnat} +$endif$ +$if(biblatex)$ +\usepackage{biblatex} +$if(biblio-files)$ +\bibliography{$biblio-files$} +$endif$ +$endif$ +$if(listings)$ +\usepackage{listings} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(highlighting-macros)$ +$highlighting-macros$ +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +$if(tables)$ +\usepackage{longtable} +$endif$ +$if(graphics)$ +\usepackage{graphicx} +% We will generate all images so they have a width \maxwidth. This means +% that they will get their normal width if they fit onto the page, but +% are scaled down if they would overflow the margins. +\makeatletter +\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth +\else\Gin@nat@width\fi} +\makeatother +\let\Oldincludegraphics\includegraphics +\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} +$endif$ +\ifxetex + \usepackage[setpagesize=false, % page size defined by xetex + unicode=false, % unicode breaks when used with xetex + xetex]{hyperref} +\else + \usepackage[unicode=true]{hyperref} +\fi +\hypersetup{breaklinks=true, + bookmarks=true, + pdfauthor={$author-meta$}, + pdftitle={$title-meta$}, + colorlinks=true, + urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, + linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, + pdfborder={0 0 0}} +\urlstyle{same} % don't use monospace font for urls +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\renewcommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ +$if(strikeout)$ +\usepackage[normalem]{ulem} +% avoid problems with \sout in headers with hyperref: +\pdfstringdefDisableCommands{\renewcommand{\sout}{}} +$endif$ +\setlength{\parindent}{0pt} +%\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} + +\title{\huge 在OSX平台上的XeLaTeX中文測試} % 設置標題,使用巨大字體 +\author{FoolEgg.com} % 設置作者 +\date{February 2013} % 設置日期 +\usepackage{titling} +\setlength{\droptitle}{-8em} % 將標題移動至頁面的上面 + +\usepackage{fancyhdr} +\usepackage{lastpage} +\pagestyle{fancyplain} + +$if(numbersections)$ +\setcounter{secnumdepth}{5} +$else$ +\setcounter{secnumdepth}{0} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allows verbatim text in footnotes +$endif$ +$if(lang)$ +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{$mainlang$} +\else + \usepackage[$lang$]{babel} +\fi +$endif$ +$for(header-includes)$ +$header-includes$ +$endfor$ + +$if(title)$ +\title{$title$} +$endif$ +\author{$for(author)$$author$$sep$ \and $endfor$} +\date{$date$} + +\begin{document} +$if(title)$ +\maketitle +$endif$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +{ +\hypersetup{linkcolor=black} +\setcounter{tocdepth}{$toc-depth$} +\tableofcontents +} +$endif$ +$body$ + +$if(natbib)$ +$if(biblio-files)$ +$if(biblio-title)$ +$if(book-class)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +\bibliography{$biblio-files$} + +$endif$ +$endif$ +$if(biblatex)$ +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ + +$endif$ +$for(include-after)$ +$include-after$ + +$endfor$ +\end{document} diff --git a/recommender_system/image/Deep_candidate_generation_model_architecture.png b/recommender_system/image/Deep_candidate_generation_model_architecture.png index 396b9da98dead556cfc762da51bd3d7f7bad642a..fca07352da2d524c32984dbe24670b8215e859d5 100644 Binary files a/recommender_system/image/Deep_candidate_generation_model_architecture.png and b/recommender_system/image/Deep_candidate_generation_model_architecture.png differ diff --git a/recommender_system/image/Deep_ranking_network_architecture.png b/recommender_system/image/Deep_ranking_network_architecture.png deleted file mode 100644 index 04e472864e390f86de4e28a6e3e5698af83f40af..0000000000000000000000000000000000000000 Binary files a/recommender_system/image/Deep_ranking_network_architecture.png and /dev/null differ diff --git "a/recommender_system/image/E\357\254\200ects_of_wider_and_deeper_hidden_ReLU.png" "b/recommender_system/image/E\357\254\200ects_of_wider_and_deeper_hidden_ReLU.png" deleted file mode 100644 index 664f62260cabd6252f292b96d39c64ec635ee6a5..0000000000000000000000000000000000000000 Binary files "a/recommender_system/image/E\357\254\200ects_of_wider_and_deeper_hidden_ReLU.png" and /dev/null differ diff --git a/recommender_system/image/YouTube_Overview.png b/recommender_system/image/YouTube_Overview.png index fe24ee618f18a6ee7ece0445dc492984f2d9efde..a98e7cc67606b31e4c945f7eb907563e46dcef56 100644 Binary files a/recommender_system/image/YouTube_Overview.png and b/recommender_system/image/YouTube_Overview.png differ diff --git a/recommender_system/image/rec_regression_network.png b/recommender_system/image/rec_regression_network.png index 7d2b54d4fcf560cd5b667628f0012c3822efd9b2..22f48ee027eb201957e5a7254879f7aab5d5b9f8 100644 Binary files a/recommender_system/image/rec_regression_network.png and b/recommender_system/image/rec_regression_network.png differ diff --git a/understand_sentiment/image/lstm.png b/understand_sentiment/image/lstm.png index 376afe66c61fe53d4ba383823ac685f4d6941161..98fbea413a98a619004ca669c67f5f867fe974c9 100644 Binary files a/understand_sentiment/image/lstm.png and b/understand_sentiment/image/lstm.png differ diff --git a/understand_sentiment/image/rnn.png b/understand_sentiment/image/rnn.png index 1ab1fa974c8aadaf50a15d220f047b243d4d4c1a..26c904102a6e6c4e30f0048b81373ae8c148b355 100755 Binary files a/understand_sentiment/image/rnn.png and b/understand_sentiment/image/rnn.png differ diff --git a/understand_sentiment/image/stacked_lstm.jpg b/understand_sentiment/image/stacked_lstm.jpg index 4239055050966e0095e188a8c81d860711bce29d..6b2adf70f2b5112a2e82505da5cff9f5fd0c6298 100644 Binary files a/understand_sentiment/image/stacked_lstm.jpg and b/understand_sentiment/image/stacked_lstm.jpg differ diff --git a/understand_sentiment/image/text_cnn.png b/understand_sentiment/image/text_cnn.png index bb31c3fd6f68b83390591b306aff8f8f021ec497..d548fc8b98ec5a41d0dec6cf65f85fb70f366d41 100644 Binary files a/understand_sentiment/image/text_cnn.png and b/understand_sentiment/image/text_cnn.png differ diff --git a/word2vec/image/2d_similarity.png b/word2vec/image/2d_similarity.png index e67356dcf2156a9220780eb4c4ef98f4185a8294..384f59919a2c8dedb198e97d51434616648932e1 100644 Binary files a/word2vec/image/2d_similarity.png and b/word2vec/image/2d_similarity.png differ diff --git a/word2vec/image/cbow.png b/word2vec/image/cbow.png index 413ce7ccb241acb1bfe1c3d3e91a93c047440d23..76b7d4bc0f99372465bd9aa34721513d39ad0776 100644 Binary files a/word2vec/image/cbow.png and b/word2vec/image/cbow.png differ diff --git a/word2vec/image/ngram.png b/word2vec/image/ngram.png index d137d1d8f8c3940d93ed758cd8a4c0937c495871..2449dce6a86b43b1b997ff418ed0dba56848463f 100644 Binary files a/word2vec/image/ngram.png and b/word2vec/image/ngram.png differ diff --git a/word2vec/image/nnlm.png b/word2vec/image/nnlm.png index 65dcc344ebfed7a793e25129f80829f4c2c22a19..1e0b40a8f7aefdf46d42761305511f281c08e595 100644 Binary files a/word2vec/image/nnlm.png and b/word2vec/image/nnlm.png differ diff --git a/word2vec/image/sentence_emb.png b/word2vec/image/sentence_emb.png index b6f08fa8a3ca4c891a8c55532d9324c2d238c780..ce4a8bf4769183cbaff91793753d2350a3ce936c 100644 Binary files a/word2vec/image/sentence_emb.png and b/word2vec/image/sentence_emb.png differ diff --git a/word2vec/image/skipgram.png b/word2vec/image/skipgram.png index 92f7c370383175538b62c28618c723c8916074bb..a3ab385845d3dc8b5c670bae91225bc8dd47a8bb 100644 Binary files a/word2vec/image/skipgram.png and b/word2vec/image/skipgram.png differ