Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mtbookv2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
NiuTrans
mtbookv2
Commits
b7584839
Commit
b7584839
authored
Jan 12, 2021
by
单韦乔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加图片宽度
parent
6f4a5199
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
195 行增加
和
145 行删除
+195
-145
Chapter13/Figures/figure-network-with-dropout.tex
+78
-29
Chapter13/Figures/figure-reinforcement-learning-method-based-on-actor-critic.tex
+4
-4
Chapter2/Figures/figure-full-probability-word-segmentation-1.tex
+19
-19
Chapter2/Figures/figure-full-probability-word-segmentation-2.tex
+22
-22
Chapter2/Figures/figure-no-smoothing&smoothed-probability-distributions.tex
+3
-3
Chapter2/Figures/figure-self-information-function.tex
+1
-1
Chapter2/Figures/figure-the-dice-game-model.tex
+12
-12
Chapter2/Figures/figure-the-dice-game.tex
+27
-27
Chapter2/Figures/figure-the-dice-game2.tex
+27
-27
bibliography.bib
+1
-1
structure.tex
+1
-0
没有找到文件。
Chapter13/Figures/figure-network-with-dropout.tex
查看文件 @
b7584839
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
\begin{tikzpicture}
\begin{tikzpicture}
\def\neuronsep
{
1
}
\def\neuronsep
{
1
}
\tikzstyle
{
neuronnode
}
= [minimum size=1
em,circle,draw,thick,ublue,inner sep=1
pt, fill=white,align=center]
\tikzstyle
{
neuronnode
}
= [minimum size=1
.5em,circle,draw=ublue,very thick,inner sep=0
pt, fill=white,align=center]
%standard
%standard
...
@@ -11,67 +11,115 @@
...
@@ -11,67 +11,115 @@
}
}
\foreach
\n
in
{
1,...,4
}{
\foreach
\n
in
{
1,...,4
}{
\node
[neuronnode] (neuron1
\n
) at (1.
2
\neuronsep
,
\n
*
\neuronsep
)
{}
;
\node
[neuronnode] (neuron1
\n
) at (1.
5
\neuronsep
,
\n
*
\neuronsep
)
{}
;
}
}
\foreach
\n
in
{
1,...,4
}{
\foreach
\n
in
{
1,...,4
}{
\node
[neuronnode] (neuron2
\n
) at (
2.4
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
\node
[neuronnode] (neuron2
\n
) at (
3
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
}
}
\node
[neuronnode] (neuron3) at (
3.6
*
\neuronsep
,2.5 *
\neuronsep
)
{}
;
\node
[neuronnode] (neuron3) at (
4.5
*
\neuronsep
,2.5 *
\neuronsep
)
{}
;
\foreach
\n
in
{
1,...,4
}{
\foreach
\n
/
\o
in
{
1/180,2/165,3/150,4/135
}{
\foreach
\m
in
{
1,...,4
}{
\draw
[->,line width=0.2mm] (neuron0
\n
.east) -- (neuron11.
\o
);
\draw
[->] (neuron0
\n
.east) -- (neuron1
\m
.west);
}
\foreach
\n
/
\o
in
{
1/220,2/190,3/170,4/140
}{
\foreach
\m
in
{
2,3
}{
\draw
[->,line width=0.2mm] (neuron0
\n
.east) -- (neuron1
\m
.
\o
);
}
}
}
}
\foreach
\n
in
{
1,...,4
}{
\foreach
\n
/
\o
in
{
1/225,2/210,3/195,4/180
}{
\foreach
\m
in
{
1,...,4
}{
\draw
[->,line width=0.2mm] (neuron0
\n
.east) -- (neuron14.
\o
);
\draw
[->] (neuron1
\n
.east) -- (neuron2
\m
.west);
}
%\foreach \n in {1,...,4}{
% \foreach \m in {1,...,4}{
% \draw [->,line width=0.2mm] (neuron1\n.east) -- (neuron2\m.west);
% }
%}
\foreach
\n
/
\o
in
{
1/180,2/165,3/150,4/135
}{
\draw
[->,line width=0.2mm] (neuron1
\n
.east) -- (neuron21.
\o
);
}
\foreach
\n
/
\o
in
{
1/220,2/190,3/170,4/140
}{
\foreach
\m
in
{
2,3
}{
\draw
[->,line width=0.2mm] (neuron1
\n
.east) -- (neuron2
\m
.
\o
);
}
}
}
}
\foreach
\n
in
{
1,...,4
}{
\foreach
\n
/
\o
in
{
1/225,2/210,3/195,4/180
}{
\draw
[->] (neuron2
\n
.east) -- (neuron3.west);
\draw
[->,line width=0.2mm] (neuron1
\n
.east) -- (neuron24.
\o
);
}
\foreach
\n
/
\o
in
{
1/220,2/190,3/170,4/140
}{
\draw
[->,line width=0.2mm] (neuron2
\n
.east) -- (neuron3.
\o
);
}
}
%drop
%drop
%layer1
%layer1
\foreach
\n
in
{
1,3,4
}{
\foreach
\n
in
{
1,3,4
}{
\node
[neuronnode] (neuron4
\n
) at (
5
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
\node
[neuronnode] (neuron4
\n
) at (
7
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
}
}
\node
[neuronnode,dashed] (neuron42) at (
5
*
\neuronsep
,2 *
\neuronsep
)
{}
;
\node
[neuronnode,dashed] (neuron42) at (
7
*
\neuronsep
,2 *
\neuronsep
)
{}
;
%layer1
%layer1
\foreach
\n
in
{
1,2,4
}{
\foreach
\n
in
{
1,2,4
}{
\node
[neuronnode] (neuron5
\n
) at (
6.2
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
\node
[neuronnode] (neuron5
\n
) at (
8.5
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
}
}
\node
[neuronnode,dashed] (neuron53) at (
6.2
*
\neuronsep
,3 *
\neuronsep
)
{}
;
\node
[neuronnode,dashed] (neuron53) at (
8.5
*
\neuronsep
,3 *
\neuronsep
)
{}
;
%layer3
%layer3
\foreach
\n
in
{
1,4
}{
\foreach
\n
in
{
1,4
}{
\node
[neuronnode] (neuron6
\n
) at (
7.4
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
\node
[neuronnode] (neuron6
\n
) at (
10
*
\neuronsep
,
\n
*
\neuronsep
)
{}
;
}
}
\node
[neuronnode,dashed] (neuron62) at (
7.4
*
\neuronsep
,2 *
\neuronsep
)
{}
;
\node
[neuronnode,dashed] (neuron62) at (
10
*
\neuronsep
,2 *
\neuronsep
)
{}
;
\node
[neuronnode,dashed] (neuron63) at (
7.4
*
\neuronsep
,3 *
\neuronsep
)
{}
;
\node
[neuronnode,dashed] (neuron63) at (
10
*
\neuronsep
,3 *
\neuronsep
)
{}
;
%layer4
%layer4
\node
[neuronnode] (neuron7) at (
8.6
*
\neuronsep
,2.5 *
\neuronsep
)
{}
;
\node
[neuronnode] (neuron7) at (
11.5
*
\neuronsep
,2.5 *
\neuronsep
)
{}
;
\foreach
\n
in
{
1,3,4
}{
%\foreach \n in {1,3,4}{
\foreach
\m
in
{
1,2,4
}{
% \foreach \m in {1,2,4}{
\draw
[->] (neuron4
\n
.east) -- (neuron5
\m
.west);
% \draw [->,line width=0.2mm] (neuron4\n.east) -- (neuron5\m.west);
}
% }
%}
\foreach
\n
/
\o
in
{
1/180,3/150,4/135
}{
\draw
[->,line width=0.2mm] (neuron4
\n
.east) -- (neuron51.
\o
);
}
}
\foreach
\n
in
{
1,2,4
}{
\foreach
\n
/
\o
in
{
1/220,3/170,4/140
}{
\foreach
\m
in
{
1,4
}{
\foreach
\m
in
{
2
}{
\draw
[->
] (neuron5
\n
.east) -- (neuron6
\m
.west
);
\draw
[->
,line width=0.2mm] (neuron4
\n
.east) -- (neuron5
\m
.
\o
);
}
}
}
}
\foreach
\n
in
{
1,4
}{
\foreach
\n
/
\o
in
{
1/225,3/195,4/180
}{
\draw
[->] (neuron6
\n
.east) -- (neuron7.west);
\draw
[->,line width=0.2mm] (neuron4
\n
.east) -- (neuron54.
\o
);
}
%\foreach \n in {1,2,4}{
% \foreach \m in {1,4}{
% \draw [->,line width=0.2mm] (neuron5\n.east) -- (neuron6\m.west);
% }
%}
\foreach
\n
/
\o
in
{
1/180,2/165,4/135
}{
\draw
[->,line width=0.2mm] (neuron5
\n
.east) -- (neuron61.
\o
);
}
\foreach
\n
/
\o
in
{
1/225,2/210,4/180
}{
\draw
[->,line width=0.2mm] (neuron5
\n
.east) -- (neuron64.
\o
);
}
%\foreach \n in {1,4}{
% \draw [->,line width=0.2mm] (neuron6\n.east) -- (neuron7.west);
%}
\foreach
\n
/
\o
in
{
1/220,4/140
}{
\draw
[->,line width=0.2mm] (neuron6
\n
.east) -- (neuron7.
\o
);
}
}
\end{tikzpicture}
\end{tikzpicture}
\ No newline at end of file
Chapter13/Figures/figure-reinforcement-learning-method-based-on-actor-critic.tex
查看文件 @
b7584839
\begin{tikzpicture}
\begin{tikzpicture}
\node
[anchor=west,thick,inner sep=0mm,minimum height=4em,minimum width=
5.5
em,rounded corners=15pt,align=left,draw,fill=red!15]
(n1) at (0,0)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,thick,inner sep=0mm,minimum height=4em,minimum width=
8
em,rounded corners=15pt,align=left,draw,fill=red!15]
(n1) at (0,0)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,thick,inner sep=0mm,minimum height=4em,minimum width=
5.5em,rounded corners=15pt,align=left,draw,fill=green!15]
(n2) at ([xshift=10
em,yshift=0em]n1.east)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,thick,inner sep=0mm,minimum height=4em,minimum width=
8em,rounded corners=15pt,align=left,draw,fill=green!15]
(n2) at ([xshift=14
em,yshift=0em]n1.east)
{
Decoder
\\
Encoder
}
;
\node
[anchor=south,inner sep=0mm,font=\small]
(a1) at ([xshift=0em,yshift=1em]n1.north)
{
演员
$
p
$}
;
\node
[anchor=south,inner sep=0mm,font=\small]
(a1) at ([xshift=0em,yshift=1em]n1.north)
{
演员
$
p
$}
;
...
@@ -24,8 +24,8 @@
...
@@ -24,8 +24,8 @@
%\draw [->,dotted,very thick] ([xshift=0em,yshift=0em]n1.east) .. controls ([xshift=3em,yshift=-1em]n1.-90) and ([xshift=-3em,yshift=-1em]n2.-90) .. (n2.west);
%\draw [->,dotted,very thick] ([xshift=0em,yshift=0em]n1.east) .. controls ([xshift=3em,yshift=-1em]n1.-90) and ([xshift=-3em,yshift=-1em]n2.-90) .. (n2.west);
\node
[anchor=west,inner sep=0mm]
(n3) at ([xshift=
2
.1em,yshift=1em]n1.east)
{$
Q
_
1
,Q
_
2
,
\ldots
,Q
_
J
$}
;
\node
[anchor=west,inner sep=0mm]
(n3) at ([xshift=
4
.1em,yshift=1em]n1.east)
{$
Q
_
1
,Q
_
2
,
\ldots
,Q
_
J
$}
;
\node
[anchor=west,inner sep=0mm]
(n4) at ([xshift=
2
.9em,yshift=-1em]n1.east)
{$
\tilde
{{
y
}}_
1
,
\tilde
{{
y
}}_
2
,
\ldots
,
\tilde
{{
y
}}_
J
$}
;
\node
[anchor=west,inner sep=0mm]
(n4) at ([xshift=
4
.9em,yshift=-1em]n1.east)
{$
\tilde
{{
y
}}_
1
,
\tilde
{{
y
}}_
2
,
\ldots
,
\tilde
{{
y
}}_
J
$}
;
\draw
[->,thick] ([xshift=-0.1em,yshift=0.6em]n2.west) -- ([xshift=0.1em,yshift=0.6em]n1.east);
\draw
[->,thick] ([xshift=-0.1em,yshift=0.6em]n2.west) -- ([xshift=0.1em,yshift=0.6em]n1.east);
\draw
[->,thick] ([xshift=0.1em,yshift=-0.6em]n1.east) -- ([xshift=-0.1em,yshift=-0.6em]n2.west);
\draw
[->,thick] ([xshift=0.1em,yshift=-0.6em]n1.east) -- ([xshift=-0.1em,yshift=-0.6em]n2.west);
...
...
Chapter2/Figures/figure-full-probability-word-segmentation-1.tex
查看文件 @
b7584839
...
@@ -13,32 +13,32 @@
...
@@ -13,32 +13,32 @@
{
{
\begin{scope}
\begin{scope}
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s1) at (0,0)
{{
88
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s1) at (0,0)
{{
88
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{{
87
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
7
cm]s1.east)
{{
87
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{{
45
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
7
cm]s2.east)
{{
45
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{{
47
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s4) at ([xshift=0.
7
cm]s3.east)
{{
47
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{{
100
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
7
cm]s4.east)
{{
100
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{{
15
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
7
cm]s5.east)
{{
15
}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-1cm]
\begin{scope}
[yshift=-1
.2
cm]
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{{
5
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{{
5
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s2) at ([xshift=0.
2
cm]s1.east)
{{
230
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s2) at ([xshift=0.
7
cm]s1.east)
{{
230
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{{
7
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
7
cm]s2.east)
{{
7
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
2
cm]s3.east)
{{
234
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
7
cm]s3.east)
{{
234
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{{
500
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
7
cm]s4.east)
{{
500
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{{
39
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
7
cm]s5.east)
{{
39
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s7) at ([xshift=0.
2
cm]s6.east)
{{
100
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s7) at ([xshift=0.
7
cm]s6.east)
{{
100
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{{
15
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s8) at ([xshift=0.
7
cm]s7.east)
{{
15
}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-2cm]
\begin{scope}
[yshift=-2
.4
cm]
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{{
975
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{{
975
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{{
7
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
7
cm]s1.east)
{{
7
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s3) at ([xshift=0.
2
cm]s2.east)
{{
234
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s3) at ([xshift=0.
7
cm]s2.east)
{{
234
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
2
cm]s3.east)
{{
294
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
7
cm]s3.east)
{{
294
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{{
69
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
7
cm]s4.east)
{{
69
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{{
15
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
7
cm]s5.east)
{{
15
}}
;
\end{scope}
\end{scope}
...
...
Chapter2/Figures/figure-full-probability-word-segmentation-2.tex
查看文件 @
b7584839
...
@@ -9,34 +9,34 @@
...
@@ -9,34 +9,34 @@
\begin{tikzpicture}
\begin{tikzpicture}
\begin{scope}
\begin{scope}
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s1) at (0,0)
{
这
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s1) at (0,0)
{
这
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
是
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
55
cm]s1.east)
{
是
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
一
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
55
cm]s2.east)
{
一
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
种
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s4) at ([xshift=0.
55
cm]s3.east)
{
种
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\small
{
数据
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
55
cm]s4.east)
{
\small
{
数据
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
。
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
55
cm]s5.east)
{
。
}
;
\node
[anchor=west]
(s7) at ([xshift=0.
2
cm]s6.east)
{
...
}
;
\node
[anchor=west]
(s7) at ([xshift=0.
55
cm]s6.east)
{
...
}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-1cm]
\begin{scope}
[yshift=-1
.2
cm]
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{
现在
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{
现在
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s2) at ([xshift=0.
2
cm]s1.east)
{
已经
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s2) at ([xshift=0.
55
cm]s1.east)
{
已经
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
有
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s3) at ([xshift=0.
55
cm]s2.east)
{
有
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
2
cm]s3.east)
{
不少
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
55
cm]s3.east)
{
不少
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\small
{
可
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
55
cm]s4.east)
{
\small
{
可
}}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
用
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
55
cm]s5.east)
{
用
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s7) at ([xshift=0.
2
cm]s6.east)
{
数据
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s7) at ([xshift=0.
55
cm]s6.east)
{
数据
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
。
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s8) at ([xshift=0.
55
cm]s7.east)
{
。
}
;
\node
[anchor=west]
(s9) at ([xshift=0.
2
cm]s8.east)
{
...
}
;
\node
[anchor=west]
(s9) at ([xshift=0.
55
cm]s8.east)
{
...
}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-2cm]
\begin{scope}
[yshift=-2
.4
cm]
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{
确实
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s1) at (0,0)
{
确实
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
有
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s2) at ([xshift=0.
55
cm]s1.east)
{
有
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s3) at ([xshift=0.
2
cm]s2.east)
{
很
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s3) at ([xshift=0.
55
cm]s2.east)
{
很
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
2
cm]s3.east)
{
多
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s4) at ([xshift=0.
55
cm]s3.east)
{
多
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
2
cm]s4.east)
{
疑问
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt, inner sep=0]
(s5) at ([xshift=0.
55
cm]s4.east)
{
疑问
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
。
}
;
\node
[anchor=west,draw,very thick,minimum size=25pt]
(s6) at ([xshift=0.
55
cm]s5.east)
{
。
}
;
\node
[anchor=west]
(s7) at ([xshift=0.
2
cm]s6.east)
{
...
}
;
\node
[anchor=west]
(s7) at ([xshift=0.
55
cm]s6.east)
{
...
}
;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
Chapter2/Figures/figure-no-smoothing&smoothed-probability-distributions.tex
查看文件 @
b7584839
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\begin{tikzpicture}
\begin{tikzpicture}
\begin{axis}
[
\begin{axis}
[
width=1
0
cm, height=4.5cm,
width=1
2
cm, height=4.5cm,
symbolic x coords=
{
未抽取词,do,want,what,am,people,look
}
,
symbolic x coords=
{
未抽取词,do,want,what,am,people,look
}
,
xtick=data,
xtick=data,
ytick=
{
0,0.05,0.1,0.15,0.2,0.25
}
,
ytick=
{
0,0.05,0.1,0.15,0.2,0.25
}
,
xlabel=
{
低概率词汇
}
,
xlabel=
{
低概率词汇
}
,
ylabel=
{
词汇概率
}
,
ylabel=
{
词汇概率
}
,
legend pos=outer north east,
legend pos=outer north east,
xlabel style=
{
align=right,xshift=
5.3
cm,yshift=0.8cm,font=
\footnotesize
}
,
xlabel style=
{
align=right,xshift=
6.5
cm,yshift=0.8cm,font=
\footnotesize
}
,
ylabel style=
{
rotate=-90,yshift=2cm,xshift=1cm,font=
\footnotesize
}
,
ylabel style=
{
rotate=-90,yshift=2cm,xshift=1cm,font=
\footnotesize
}
,
y tick style=
{
opacity=0
}
,
y tick style=
{
opacity=0
}
,
x tick style=
{
opacity=0
}
,
x tick style=
{
opacity=0
}
,
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
ymin=0,
ymin=0,
ymax=0.25]
ymax=0.25]
\addplot
[ybar,bar shift=-2mm,bar width=4mm,fill=blue!40,draw=blue!40,area legend] coordinates
{
(未抽取词,0) (do,0.05) (want,0.05) (what,0.05) (am,0.1) (people,0.15) (look,0.2)
}
;
\addplot
[ybar,bar shift=-2mm,bar width=4mm,fill=blue!40,draw=blue!40,area legend] coordinates
{
(未抽取词,0) (do,0.05) (want,0.05) (what,0.05) (am,0.1) (people,0.15) (look,0.2)
}
;
\addplot
[ybar,bar shift=2mm,bar width=4mm,fill=red!40,draw=red!40,area legend] coordinates
{
(未抽取词,0.03) (do,0.062) (want,0.062) (what,0.062) (am,0.09) (people,0.122) (look,0.138)
}
;
\addplot
[ybar,bar shift=2
.15
mm,bar width=4mm,fill=red!40,draw=red!40,area legend] coordinates
{
(未抽取词,0.03) (do,0.062) (want,0.062) (what,0.062) (am,0.09) (people,0.122) (look,0.138)
}
;
\legend
{
未平滑,平滑后
}
\legend
{
未平滑,平滑后
}
\end{axis}
\end{axis}
\end{tikzpicture}
\end{tikzpicture}
...
...
Chapter2/Figures/figure-self-information-function.tex
查看文件 @
b7584839
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\begin{tikzpicture}
\begin{tikzpicture}
\begin{axis}
[
\begin{axis}
[
width=1
2
cm,
width=1
4
cm,
height=4cm,
height=4cm,
xlabel=
{{$
\funp
{
P
}
(
x
)
$}}
,
xlabel=
{{$
\funp
{
P
}
(
x
)
$}}
,
ylabel=
{{$
\funp
{
I
}
(
x
)
$}}
,
ylabel=
{{$
\funp
{
I
}
(
x
)
$}}
,
...
...
Chapter2/Figures/figure-the-dice-game-model.tex
查看文件 @
b7584839
...
@@ -10,55 +10,55 @@
...
@@ -10,55 +10,55 @@
\begin{scope}
\begin{scope}
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,5
}{
\foreach
\i
in
{
1,...,5
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{
1
}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{
1
}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
1
}
)
=
5
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
1
}
)
=
5
/
30
$}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-2.5em]
\begin{scope}
[yshift=-2.5em]
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,4
}{
\foreach
\i
in
{
1,...,4
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{{
\color
{
red
}
2
}}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{{
\color
{
red
}
2
}}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
2
}
)
=
4
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
2
}
)
=
4
/
30
$}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-5.0em]
\begin{scope}
[yshift=-5.0em]
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,6
}{
\foreach
\i
in
{
1,...,6
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{{
\color
{
ublue
}
3
}}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{{
\color
{
ublue
}
3
}}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
3
}
)
=
6
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
3
}
)
=
6
/
30
$}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-7.5em]
\begin{scope}
[yshift=-7.5em]
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,12
}{
\foreach
\i
in
{
1,...,12
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{{
\color
{
ugreen
}
4
}}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{{
\color
{
ugreen
}
4
}}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
4
}
)
=
12
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
4
}
)
=
12
/
30
$}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-10.0em]
\begin{scope}
[yshift=-10.0em]
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,2
}{
\foreach
\i
in
{
1,...,2
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{{
\color
{
purple
}
5
}}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{{
\color
{
purple
}
5
}}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
5
}
)
=
2
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
5
}
)
=
2
/
30
$}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-12.5em]
\begin{scope}
[yshift=-12.5em]
{
\footnotesize
{
\footnotesize
\foreach
\i
in
{
1,...,1
}{
\foreach
\i
in
{
1,...,1
}{
\node
[draw,thick,minimum size=10pt] at (
\i
,0)
{{
\color
{
orange
}
6
}}
;
\node
[draw,thick,minimum size=10pt] at (
1.2*
\i
,0)
{{
\color
{
orange
}
6
}}
;
}
}
}
}
\node
[anchor=west] at (
3
3em,0)
{$
\funp
{
P
}
(
\text
{
6
}
)
=
1
/
30
$}
;
\node
[anchor=west] at (
4
3em,0)
{$
\funp
{
P
}
(
\text
{
6
}
)
=
1
/
30
$}
;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
Chapter2/Figures/figure-the-dice-game.tex
查看文件 @
b7584839
...
@@ -13,41 +13,41 @@
...
@@ -13,41 +13,41 @@
{
{
\begin{scope}
\begin{scope}
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{
\textbf
{
4
}}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-1cm]
\begin{scope}
[yshift=-1cm]
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{
6
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{
6
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-2cm]
\begin{scope}
[yshift=-2cm]
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{
\textbf
{
2
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{
\textbf
{
5
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{{
\color
{
red
}{
1
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{
3
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{
\textbf
{
4
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{
\textbf
{
4
}}}
;
\end{scope}
\end{scope}
}
}
\end{tikzpicture}
\end{tikzpicture}
...
...
Chapter2/Figures/figure-the-dice-game2.tex
查看文件 @
b7584839
...
@@ -12,41 +12,41 @@
...
@@ -12,41 +12,41 @@
\begin{scope}
\begin{scope}
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
purple
}
5
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
purple
}
5
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-1cm]
\begin{scope}
[yshift=-1cm]
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
purple
}
5
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
purple
}
5
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-2cm]
\begin{scope}
[yshift=-2cm]
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s1) at (0,0)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
2
cm]s1.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s2) at ([xshift=0.
5
cm]s1.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
2
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s3) at ([xshift=0.
5
cm]s2.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
2
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
orange
}
6
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s4) at ([xshift=0.
5
cm]s3.east)
{
\Large
{
\textbf
{{
\color
{
orange
}
6
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
2
cm]s4.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s5) at ([xshift=0.
5
cm]s4.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
2
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s6) at ([xshift=0.
5
cm]s5.east)
{
\Large
{
\textbf
{{
\color
{
red
}
2
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
2
cm]s6.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s7) at ([xshift=0.
5
cm]s6.east)
{
\Large
{
\textbf
{{
\color
{
ublue
}
3
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
2
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s8) at ([xshift=0.
5
cm]s7.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
2
cm]s8.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s9) at ([xshift=0.
5
cm]s8.east)
{
\Large
{
\textbf
{{
\color
{
ugreen
}
4
}}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
2
cm]s9.east)
{
\Large
{
\textbf
{
1
}}}
;
\node
[anchor=west,draw,very thick,minimum size=20pt]
(s10) at ([xshift=0.
5
cm]s9.east)
{
\Large
{
\textbf
{
1
}}}
;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
bibliography.bib
查看文件 @
b7584839
...
@@ -7130,7 +7130,7 @@ author = {Yoshua Bengio and
...
@@ -7130,7 +7130,7 @@ author = {Yoshua Bengio and
@inproceedings{Katharopoulos2020TransformersAR,
@inproceedings{Katharopoulos2020TransformersAR,
title={Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention},
title={Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention},
author={Angelos Katharopoulos and Apoorv Vyas and Nikolaos Pappas and Franccois Fleuret},
author={Angelos Katharopoulos and Apoorv Vyas and Nikolaos Pappas and Franccois Fleuret},
publisher={
CoRR
},
publisher={
International Conference on Machine Learning
},
year={2020},
year={2020},
volume={abs/2006.16236}
volume={abs/2006.16236}
}
}
...
...
structure.tex
查看文件 @
b7584839
...
@@ -600,6 +600,7 @@ addtohook={%
...
@@ -600,6 +600,7 @@ addtohook={%
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
\usepackage
{
pgffor
}
%图片中使用\foreach语句
\usepackage
{
pgffor
}
%图片中使用\foreach语句
%\usepackage{ulem}%使用/sout
%\usepackage{ulem}%使用/sout
\usepackage
{
soul
}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% Chapter 6
% Chapter 6
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论