Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
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
Toy-MT-Introduction
Commits
0363f40d
Commit
0363f40d
authored
Sep 04, 2020
by
单韦乔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第四章图片bug
parent
59d7fe87
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
209 行增加
和
6 行删除
+209
-6
Book/Chapter4/Figures/grid-search.tex
+89
-0
Book/Chapter4/Figures/search-space-representation-of-feature-weight.tex
+118
-0
Book/Chapter4/chapter4.tex
+2
-6
没有找到文件。
Book/Chapter4/Figures/grid-search.tex
0 → 100644
查看文件 @
0363f40d
\begin{tikzpicture}
\begin{scope}
[scale=0.62]
{
\tiny
\draw
[step=1,help lines,color=black]
(0,0) grid (4,4);
\node
[anchor=north]
(y2) at (-5.3em,1.5)
{
0.01
}
;
\node
[anchor=north]
(y1) at ([xshift=0em,yshift=-3.3em]y2.south)
{
0.00
}
;
\node
[anchor=north]
(y3) at ([xshift=0em,yshift=4.5em]y2.north)
{
0.02
}
;
\node
[anchor=north]
(y4) at ([xshift=0em,yshift=6.6em]y3.north)
{$
\vdots
$}
;
\node
[anchor=north]
(y5) at ([xshift=0em,yshift=2em]y4.north)
{
1.00
}
;
\node
[anchor=north]
(x1) at (1em,-3em)
{$
\lambda
_
1
$}
;
\node
[anchor=north]
(x2) at ([xshift=4.5em,yshift=0em]x1.north)
{$
\lambda
_
2
$}
;
\node
[anchor=north]
(x3) at ([xshift=4em,yshift=-1em]x2.north)
{$
...
$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[-](n1) (0,4) -- (0,4.4);
\draw
[-](n2) (1,4) -- (1,4.4);
\draw
[-](n3) (2,4) -- (2,4.4);
\draw
[-](n4) (3,4) -- (3,4.4);
\draw
[-](n5) (4,4) -- (4,4.4);
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r31) at (2,4)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r32) at (2,0)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r33) at (2,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r34) at (2,3)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r35) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (f11) at ([xshift=0em,yshift=23em]y2.north)
{}
;
\node
[anchor=south]
(f12) at ([xshift=5em,yshift=-0.5em]f11.south)
{
\scriptsize
{
fixed
}}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!50,fill=ugreen!50] (f21) at ([xshift=0em,yshift=-4em]f11.north)
{}
;
\node
[anchor=south]
(f22) at ([xshift=8.5em,yshift=-0.5em]f21.south)
{
\scriptsize
{
valid choices
}}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (f31) at ([xshift=0em,yshift=-4em]f21.north)
{}
;
\node
[anchor=south]
(f32) at ([xshift=9.5em,yshift=-0.5em]f31.south)
{
\scriptsize
{
invalid choices
}}
;
\draw
[-,very thick,red!50, dashed] (1,2) -- (2,4) -- (3,2) -- (2,3) -- (1,2) -- (3,2) -- (2,1) -- (1,2) -- (2,0) -- (3,2);
\draw
[-,very thick,blue!50] (0,1) -- (1,2);
\draw
[-,very thick,blue!50] (3,2) -- (4,4);
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r11) at (0,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r12) at (1,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r14) at (3,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r15) at (4,4)
{}
;
}
\end{scope}
\begin{scope}
[scale=0.62,xshift=3in]
{
\tiny
\draw
[step=1,help lines,color=black]
(0,0) grid (4,4);
\node
[anchor=north]
(y2) at (-5.3em,1.5)
{
0.01
}
;
\node
[anchor=north]
(y1) at ([xshift=0em,yshift=-3.3em]y2.south)
{
0.00
}
;
\node
[anchor=north]
(y3) at ([xshift=0em,yshift=4.5em]y2.north)
{
0.02
}
;
\node
[anchor=north]
(y4) at ([xshift=0em,yshift=6.6em]y3.north)
{$
\vdots
$}
;
\node
[anchor=north]
(y5) at ([xshift=0em,yshift=2em]y4.north)
{
1.00
}
;
\node
[anchor=north]
(x1) at (1em,-3em)
{$
\lambda
_
1
$}
;
\node
[anchor=north]
(x2) at ([xshift=4.5em,yshift=0em]x1.north)
{$
\lambda
_
2
$}
;
\node
[anchor=north]
(x3) at ([xshift=4em,yshift=-1em]x2.north)
{$
...
$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[-](n1) (0,4) -- (0,4.4);
\draw
[-](n2) (1,4) -- (1,4.4);
\draw
[-](n3) (2,4) -- (2,4.4);
\draw
[-](n4) (3,4) -- (3,4.4);
\draw
[-](n5) (4,4) -- (4,4.4);
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r31) at (2,4)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r32) at (2,0)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r33) at (2,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r35) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!50,fill=ugreen!50] (r34) at (2,3)
{}
;
\draw
[-,very thick,red!50, dashed] (1,2) -- (2,4) -- (3,2) -- (2,3) -- (1,2) -- (3,2) -- (2,1) -- (1,2) -- (2,0) -- (3,2);
\draw
[-,very thick,blue!50] (0,1) -- (1,2);
\draw
[-,very thick,blue!50] (3,2) -- (4,4);
\draw
[-,very thick,ugreen!50, dashed] (1,2) -- (2,3) -- (3,2);
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r11) at (0,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r12) at (1,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r14) at (3,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r15) at (4,4)
{}
;
}
\end{scope}
\end{tikzpicture}
\ No newline at end of file
Book/Chapter4/Figures/search-space-representation-of-feature-weight.tex
0 → 100644
查看文件 @
0363f40d
\begin{tikzpicture}
\begin{scope}
[scale=0.55]
{
\tiny
\draw
[step=1,help lines,color=black]
grid (4,4);
\draw
[-](n1) (0,4) -- (0,4.4);
\draw
[-](n2) (1,4) -- (1,4.4);
\draw
[-](n3) (2,4) -- (2,4.4);
\draw
[-](n4) (3,4) -- (3,4.4);
\draw
[-](n5) (4,4) -- (4,4.4);
\node
[anchor=north]
(y2) at (-5.3em,1.5)
{
0.01
}
;
\node
[anchor=north]
(y1) at ([xshift=0em,yshift=-3.3em]y2.south)
{
0.00
}
;
\node
[anchor=north]
(y3) at ([xshift=0em,yshift=4.5em]y2.north)
{
0.02
}
;
\node
[anchor=north]
(y4) at ([xshift=0em,yshift=6.6em]y3.north)
{$
\vdots
$}
;
\node
[anchor=north]
(y5) at ([xshift=0em,yshift=2em]y4.north)
{
1.00
}
;
\node
[anchor=north]
(x1) at (1em,-3em)
{$
\lambda
_
1
$}
;
\node
[anchor=north]
(x2) at ([xshift=4.5em,yshift=0em]x1.north)
{$
\lambda
_
2
$}
;
\node
[anchor=north]
(x3) at ([xshift=4em,yshift=-1em]x2.north)
{$
...
$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[decorate,decoration={brace}]
(0,4.7) --(4,4.7) node [xshift=-4em,yshift=1.5em,align=center](label1)
{
M dimensions
}
;
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=5.8em,align=center](label2)
{
Values
}
;
}
\end{scope}
\begin{scope}
[scale=0.55,xshift=3.2in]
{
\tiny
\draw
[step=1,help lines,color=black]
grid (4,4);
\node
[anchor=north]
(y2) at (-5.3em,1.5)
{
0.01
}
;
\node
[anchor=north]
(y1) at ([xshift=0em,yshift=-3.3em]y2.south)
{
0.00
}
;
\node
[anchor=north]
(y3) at ([xshift=0em,yshift=4.5em]y2.north)
{
0.02
}
;
\node
[anchor=north]
(y4) at ([xshift=0em,yshift=6.6em]y3.north)
{$
\vdots
$}
;
\node
[anchor=north]
(y5) at ([xshift=0em,yshift=2em]y4.north)
{
1.00
}
;
\node
[anchor=north]
(x1) at (1em,-3em)
{$
\lambda
_
1
$}
;
\node
[anchor=north]
(x2) at ([xshift=4.5em,yshift=0em]x1.north)
{$
\lambda
_
2
$}
;
\node
[anchor=north]
(x3) at ([xshift=4em,yshift=-1em]x2.north)
{$
...
$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[-](n1) (0,4) -- (0,4.4);
\draw
[-](n2) (1,4) -- (1,4.4);
\draw
[-](n3) (2,4) -- (2,4.4);
\draw
[-](n4) (3,4) -- (3,4.4);
\draw
[-](n5) (4,4) -- (4,4.4);
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r11) at (0,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r12) at (1,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r13) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r14) at (3,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r15) at (4,4)
{}
;
\draw
[-,very thick,blue!50] (0,1) -- (1,2) -- (2,1) -- (3,2) -- (4,4);
\node
[anchor=north]
(p1) at (5.7,4.3)
{
\scriptsize
{$
\leftarrow
$
\textbf
{
path
}
:
}}
;
\node
[anchor=north]
(e1) at ([xshift=0,yshift=-0.4em]p1.south)
{$
w
_
1
=
0
.
01
$}
;
\node
[anchor=north]
(e2) at ([xshift=0,yshift=-0.8em]e1.south)
{$
w
_
2
=
0
.
02
$}
;
\node
[anchor=north]
(e3) at ([xshift=0,yshift=0.4em]e2.south)
{$
\vdots
$}
;
\node
[anchor=north]
(e4) at ([xshift=0,yshift=-0.2em]e3.south)
{$
w
_
M
=
1
.
00
$}
;
}
\end{scope}
\begin{scope}
[scale=0.55,xshift=6.8in]
{
\tiny
\draw
[step=1,help lines,color=black]
grid (4,4);
\node
[anchor=north]
(y2) at (-5.3em,1.5)
{
0.01
}
;
\node
[anchor=north]
(y1) at ([xshift=0em,yshift=-3.3em]y2.south)
{
0.00
}
;
\node
[anchor=north]
(y3) at ([xshift=0em,yshift=4.5em]y2.north)
{
0.02
}
;
\node
[anchor=north]
(y4) at ([xshift=0em,yshift=6.6em]y3.north)
{$
\vdots
$}
;
\node
[anchor=north]
(y5) at ([xshift=0em,yshift=2em]y4.north)
{
1.00
}
;
\node
[anchor=north]
(x1) at (1em,-3em)
{$
\lambda
_
1
$}
;
\node
[anchor=north]
(x2) at ([xshift=4.5em,yshift=0em]x1.north)
{$
\lambda
_
2
$}
;
\node
[anchor=north]
(x3) at ([xshift=4em,yshift=-1em]x2.north)
{$
...
$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[-](n1) (0,4) -- (0,4.4);
\draw
[-](n2) (1,4) -- (1,4.4);
\draw
[-](n3) (2,4) -- (2,4.4);
\draw
[-](n4) (3,4) -- (3,4.4);
\draw
[-](n5) (4,4) -- (4,4.4);
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r11) at (0,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r12) at (1,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r13) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r14) at (3,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (r15) at (4,4)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!30,fill=ugreen!30] (r21) at (0,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!30,fill=ugreen!30] (r22) at (1,3)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!30,fill=ugreen!30] (r23) at (2,4)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!30,fill=ugreen!30] (r24) at (3,0)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!30,fill=ugreen!30] (r25) at (4,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r31) at (0,4)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r32) at (1,3)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r33) at (2,2)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r34) at (3,3)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r35) at (4,1)
{}
;
\draw
[-,very thick,blue!50] (0,1) -- (1,2) -- (2,1) -- (3,2) -- (4,4);
\draw
[-,very thick,ugreen!50] (0,2) -- (1,3) -- (2,4) -- (3,0) -- (4,2);
\draw
[-,very thick,red!50] (0,4) -- (1,3) -- (2,2) -- (3,3) -- (4,1);
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=7.5em,align=center](label1)
{$
M
^
V
$}
;
\node
[anchor=north]
(label2) at ([xshift=0em,yshift=-2.5em]label1.north)
{
pathes
}
;
}
\end{scope}
\end{tikzpicture}
\ No newline at end of file
Book/Chapter4/chapter4.tex
查看文件 @
0363f40d
...
...
@@ -701,9 +701,7 @@ dr = start_i-end_{i-1}-1
%----------------------------------------------
\begin{figure}
[htp]
\centering
\begin{tabular}
{
l l l
}
&
\subfigure
{
\input
{
./Chapter4/Figures/search-space-representation-of-feature-weight-1
}}
\subfigure
{
\input
{
./Chapter4/Figures/search-space-representation-of-feature-weight-2
}}
\subfigure
{
\input
{
./Chapter4/Figures/search-space-representation-of-feature-weight-3
}}
&
\\
\end{tabular}
\input
{
./Chapter4/Figures/search-space-representation-of-feature-weight
}
\caption
{
特征权重的搜索空间表示
}
\label
{
fig:4-23
}
\end{figure}
...
...
@@ -716,9 +714,7 @@ dr = start_i-end_{i-1}-1
%----------------------------------------------
\begin{figure}
[htp]
\centering
\begin{tabular}
{
l l
}
\subfigure
{
\input
{
./Chapter4/Figures/grid-search-1
}}
&
\subfigure
{
\input
{
./Chapter4/Figures/grid-search-2
}}
\\
\end{tabular}
\input
{
./Chapter4/Figures/grid-search
}
\caption
{
格搜索(左侧:所有点都访问(蓝色);右侧:避开无效点(绿色))
}
\label
{
fig:4-24
}
\end{figure}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论