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
444de597
Commit
444de597
authored
4 years ago
by
孟霞
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'mengxia' 到 'caorunzhe'
Mengxia 查看合并请求
!321
parents
46f4b217
c1abc697
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
51 行增加
和
35 行删除
+51
-35
Chapter9/Figures/biological-neuron.jpg
+0
-0
Chapter9/Figures/deep-learning.jpg
+0
-0
Chapter9/Figures/feature-engineering.jpg
+0
-0
Chapter9/Figures/fig-bias.tex
+3
-3
Chapter9/Figures/fig-fit.tex
+4
-4
Chapter9/Figures/fig-four-layers-of-neural-network.tex
+3
-3
Chapter9/Figures/fig-two-layer-neural-network.tex
+2
-2
Chapter9/Figures/fig-w1.tex
+3
-3
Chapter9/Figures/fig-w2.tex
+3
-3
Chapter9/Figures/fig-weather.tex
+30
-14
Chapter9/Figures/fig-weight.tex
+3
-3
Chapter9/chapter9.tex
+0
-0
没有找到文件。
Chapter9/Figures/biological-neuron.jpg
deleted
100644 → 0
查看文件 @
46f4b217
200 KB
This diff is collapsed.
Click to expand it.
Chapter9/Figures/deep-learning.jpg
查看文件 @
444de597
82.3 KB
|
W:
|
H:
204 KB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
Chapter9/Figures/feature-engineering.jpg
查看文件 @
444de597
100 KB
|
W:
|
H:
242 KB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-bias.tex
查看文件 @
444de597
...
...
@@ -10,7 +10,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labela) at (0.2,-0.5)
{
\footnotesize
{
(a)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{$
w
_{
11
}
=
100
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w
_{
11
}
=
100
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0,0) -- (0,1) -- (1.5,1);
}
\end{scope}
%---------------------------------------------------------------------------------------------
...
...
@@ -23,7 +23,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelb) at (0.2,-0.5)
{
\footnotesize
{
(b)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
2
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
\
$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
2
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.25,0) -- (0.25,1) -- (1.5,1);
}
\end{scope}
%-----------------------------------------------------------------------------------------------
...
...
@@ -36,7 +36,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelc) at (0.2,-0.5)
{
\footnotesize
{
(c)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
4
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
\
$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
4
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,1) -- (1.5,1);
}
\end{scope}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-fit.tex
查看文件 @
444de597
...
...
@@ -36,8 +36,8 @@
{
\node
[anchor=center,rotate=-59,fill=white,inner sep=1pt] (w2) at ([yshift=1.2em,xshift=-1.2em]x1.north)
{
\tiny
{$
w
_{
11
}
=
100
$}}
;
}
{
\node
[anchor=center,rotate=59,fill=white,inner sep=1pt] (b1) at ([yshift=5.1em,xshift=2.3em]b.north)
{
\tiny
{$
b
_
2
=-
4
$}}
;
}
{
\node
[anchor=center,rotate=90,fill=white,inner sep=1pt] (w1) at ([yshift=3em,xshift=0.5em]x1.north)
{
\tiny
{$
w
_{
12
}
=
100
$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.8em,xshift=0.2em]n10.north)
{
\tiny
{$
w
_{
2
1
}
=-
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.8em,xshift=-0.2em]n11.north)
{
\tiny
{$
w
_{
22
}
=
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.8em,xshift=0.2em]n10.north)
{
\tiny
{$
w
'
_{
1
1
}
=-
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.8em,xshift=-0.2em]n11.north)
{
\tiny
{$
w
'
_{
21
}
=
0
.
7
$}}
;
}
%% sigmoid box
\begin{scope}
...
...
@@ -130,8 +130,8 @@
{
\node
[anchor=center,rotate=-59,fill=white,inner sep=1pt] (w2) at ([yshift=1.2em,xshift=-1.2em]x1.north)
{
\tiny
{$
w
_{
11
}
=
100
$}}
;
}
{
\node
[anchor=center,rotate=59,fill=white,inner sep=1pt] (b1) at ([yshift=5.1em,xshift=2.3em]b.north)
{
\tiny
{$
b
_
2
=-
4
$}}
;
}
{
\node
[anchor=center,rotate=90,fill=white,inner sep=1pt] (w1) at ([yshift=3em,xshift=0.5em]x1.north)
{
\tiny
{$
w
_{
12
}
=
100
$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.8em,xshift=0.2em]n10.north)
{
\tiny
{$
w
_{
2
1
}
=-
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.8em,xshift=-0.2em]n11.north)
{
\tiny
{$
w
_{
22
}
=
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.8em,xshift=0.2em]n10.north)
{
\tiny
{$
w
'
_{
1
1
}
=-
0
.
7
$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.8em,xshift=-0.2em]n11.north)
{
\tiny
{$
w
'
_{
21
}
=
0
.
7
$}}
;
}
%% sigmoid box
\begin{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-four-layers-of-neural-network.tex
查看文件 @
444de597
...
...
@@ -19,7 +19,7 @@
\node
[anchor=north] (x
\n
) at ([yshift=-2em]neuron0
\n
.south)
{$
x
_
\n
$}
;
}
\node
[anchor=west] (w1label) at ([xshift=-0.5em,yshift=0.8em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
_
1
$}
;
\node
[anchor=west] (w1label) at ([xshift=-0.5em,yshift=0.8em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
^{
[
1
]
}
$}
;
\begin{pgfonlayer}
{
background
}
\node
[rectangle,inner sep=0.2em,fill=red!20] [fit = (neuron01) (neuron05)] (layer01)
{}
;
...
...
@@ -47,7 +47,7 @@
}
}
\node
[anchor=west] (w2label) at ([xshift=-2.5em,yshift=5.4em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
_
2
$}
;
\node
[anchor=west] (w2label) at ([xshift=-2.5em,yshift=5.4em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
^{
[
2
]
}
$}
;
\begin{pgfonlayer}
{
background
}
{
...
...
@@ -77,7 +77,7 @@
\draw
[<-,thick] ([yshift=1.1em]neuron2
\n
.north) -- (neuron2
\n
.north);
}
\node
[anchor=west] (w3label) at ([xshift=-2.5em,yshift=9.5em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
_
3
$}
;
\node
[anchor=west] (w3label) at ([xshift=-2.5em,yshift=9.5em]x5.north east)
{${
\vectorn
{
\emph
{
W
}}}
^{
[
3
]
}
$}
;
\begin{pgfonlayer}
{
background
}
{
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-two-layer-neural-network.tex
查看文件 @
444de597
...
...
@@ -36,8 +36,8 @@
%% weight and bias
{
\node
[anchor=center,rotate=90,fill=white,inner sep=1pt] (b0) at ([yshift=2em,xshift=-0.5em]b.north)
{
\scriptsize
{$
b
_
1
$}}
;
}
{
\node
[anchor=center,rotate=-59,fill=white,inner sep=1pt] (w2) at ([yshift=1em,xshift=-1.0em]x1.north)
{
\scriptsize
{$
w
_{
11
}$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.2em,xshift=-0.2em]n10.north)
{
\scriptsize
{$
w
_{
2
1
}$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.2em,xshift=0.2em]n11.north)
{
\scriptsize
{$
w
_{
22
}$}}
;
}
{
\node
[anchor=center,rotate=62,fill=white,inner sep=1pt] (w21) at ([yshift=1.2em,xshift=-0.2em]n10.north)
{
\scriptsize
{$
w
'
_{
1
1
}$}}
;
}
{
\node
[anchor=center,rotate=-62,fill=white,inner sep=1pt] (w22) at ([yshift=1.2em,xshift=0.2em]n11.north)
{
\scriptsize
{$
w
'
_{
21
}$}}
;
}
{
\node
[anchor=center,rotate=59,fill=white,inner sep=1pt] (b1) at ([yshift=3.4em,xshift=1.5em]b.north)
{
\scriptsize
{$
b
_
2
$}}
;
}
{
\node
[anchor=center,rotate=90,fill=white,inner sep=1pt] (w1) at ([yshift=2em,xshift=0.5em]x1.north)
{
\scriptsize
{$
w
_{
12
}$}}
;
}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-w1.tex
查看文件 @
444de597
...
...
@@ -10,7 +10,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labela) at (0.2,-0.5)
{
\footnotesize
{
(a)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
4
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
\
$
w
_{
11
}
=
100
$}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
1
=-
4
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,1) -- (1.5,1);
}
\end{scope}
%---------------------------------------------------------------------------------------------
...
...
@@ -23,7 +23,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelb) at (0.2,-0.5)
{
\footnotesize
{
(b)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
$
w
_{
2
1
}
=
0
.
9
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w'
_{
1
1
}
=
0
.
9
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.8,0) -- (0.5,0) -- (0.5,0.9) -- (1.8,0.9);
}
\end{scope}
%-----------------------------------------------------------------------------------------------
...
...
@@ -37,7 +37,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelc) at (0.2,-0.5)
{
\footnotesize
{
(c)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
$
w
_{
2
1
}
=
0
.
7
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w'
_{
1
1
}
=
0
.
7
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,0.7) -- (1.5,0.7);
}
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-w2.tex
查看文件 @
444de597
...
...
@@ -10,7 +10,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labela) at (0.2,-0.5)
{
\footnotesize
{
(a)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
$
w
_{
2
1
}
=
0
.
7
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w'
_{
1
1
}
=
0
.
7
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,0.7) -- (1.5,0.7);
}
\end{scope}
%---------------------------------------------------------------------------------------------
...
...
@@ -23,7 +23,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelb) at (0.2,-0.5)
{
\footnotesize
{
(b)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
$
w
_{
12
}
=
100
$}}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
2
=-
6
$}}
\\
[-0ex]
{
\scriptsize
{
\
$
w
_{
22
}
=
0
.
7
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w
_{
12
}
=
100
$}}
\\
[-0ex]
{
\scriptsize
{
\
$
b
_
2
=-
6
$}}
\\
[-0ex]
{
\scriptsize
{
\
$
w'
_{
21
}
=
0
.
7
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,0.7) -- (0.7,0.7) -- (0.7,1.4) -- (1.5,1.4);
}
\end{scope}
%-----------------------------------------------------------------------------------------------
...
...
@@ -37,7 +37,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelc) at (0.2,-0.5)
{
\footnotesize
{
(c)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
$
w
_{
12
}
=
100
$}
\\
[-0ex]
\scriptsize
{
\
$
b
_
2
=-
6
$}
\\
[-0ex]
{
\scriptsize
{
\
$
w
_{
22
}
=-
0
.
7
$}}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
\
$
w
_{
12
}
=
100
$}
\\
[-0ex]
\scriptsize
{
\
$
b
_
2
=-
6
$}
\\
[-0ex]
{
\scriptsize
{
\
$
w'
_{
21
}
=-
0
.
7
$}}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0.5,0) -- (0.5,0.7) -- (0.7,0.7) -- (0.7,0) -- (1.5,0);
}
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-weather.tex
查看文件 @
444de597
...
...
@@ -3,32 +3,48 @@
\tikzstyle
{
neuronnode
}
= [minimum size=2.2em,circle,draw,ublue,very thick,inner sep=1pt, fill=white,align=center,drop shadow=
{
shadow xshift=0.1em,shadow yshift=-0.1em
}
]
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (bias10) at (0,0.05)
{
\footnotesize
{${
\vectorn
{
\emph
{
b
}}}^{
[
1
]
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (bias11) at ([xshift=-1.5em,yshift=-0.3em]bias10.south)
{
\footnotesize
{
偏置1
}}
;
\node
[anchor=center,rotate=13,fill=white,inner sep=1pt] (b11) at ([yshift=1.0em,xshift=1.8em]bias10.north)
{
\scriptsize
{$
b
_{
11
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input10) at (2,0)
{
\footnotesize
{$
x
_
1
$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input11) at ([xshift=-2.1em,yshift=-0.3em]input10.south)
{
\footnotesize
{
天空状况
}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input20) at (4,0)
{
\footnotesize
{$
x
_
2
$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input21) at ([xshift=-2.1em,yshift=-0.3em]input20.south)
{
\footnotesize
{
低温气温
}}
;
\node
[anchor=center,rotate=38,fill=white,inner sep=1pt] (w12) at ([yshift=1.25em,xshift=0.85em]input20.north)
{
\scriptsize
{$
w
_{
22
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input21) at ([xshift=-2.1em,yshift=-0.3em]input20.south)
{
\footnotesize
{
低空气温
}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input30) at (6,0)
{
\footnotesize
{$
x
_
3
$}}
;
\node
[anchor=center,rotate=-35,fill=white,inner sep=1pt] (w13) at ([yshift=1.2em,xshift=-1.0em]input30.north)
{
\scriptsize
{$
w
_{
32
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (input31) at ([xshift=-2.1em,yshift=-0.3em]input30.south)
{
\footnotesize
{
水平气压
}}
;
\node
[neuronnode] (n10) at ([xshift=1.5em,yshift=4em]input10.east)
{
\tiny
{$
f
$}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (bias20) at ([xshift=-4em,yshift=0.5em]n10.west)
{
\footnotesize
{$
b
^{
[
2
]
}$}}
;
\node
[neuronnode] (n10) at ([xshift=1.5em,yshift=4em]input10.east)
{
\tiny
{
Tanh
}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[anchor=east,minimum width=2.0em,minimum height=1.5em] (a1) at ([xshift=2.3em,yshift=0em]n10.east)
{
\footnotesize
{
温度
}}
;
\node
[anchor=center,rotate=0,fill=white,inner sep=1pt] (w21) at ([xshift=0.8em,yshift=0.8em]n10.north)
{
\scriptsize
{$
w'
_{
11
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (bias20) at ([xshift=-5em,yshift=0.3em]n10.west)
{
\footnotesize
{$
b
^{
[
2
]
}$}}
;
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (bias21) at ([xshift=-1.5em,yshift=-0.3em]bias20.south)
{
\footnotesize
{
偏置2
}}
;
\node
[neuronnode] (n11) at ([xshift=1.5em,yshift=4em]input20.east)
{
\tiny
{$
f
$}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[anchor=center,rotate=25,fill=white,inner sep=1pt] (b21) at ([yshift=1.1em,xshift=1.9em]bias20.north)
{
\scriptsize
{$
b'
_{
11
}$}}
;
\node
[neuronnode] (n11) at ([xshift=1.5em,yshift=4em]input20.east)
{
\tiny
{
Tanh
}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[anchor=east,minimum width=2.0em,minimum height=1.5em] (a1) at ([xshift=2.3em,yshift=0em]n11.east)
{
\footnotesize
{
风速
}}
;
\node
[anchor=center,rotate=-15,fill=white,inner sep=1pt] (w22) at ([yshift=1.05em,xshift=-1.8em]n11.north)
{
\scriptsize
{$
w'
_{
21
}$}}
;
\draw
[-,ublue] (n10.west) -- (n10.east);
\draw
[-,ublue] (n11.west) -- (n11.east);
\node
[neuronnode] (n20) at ([xshift=1.5em,yshift=8em]input10.east)
{
\tiny
{$
f
$}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[neuronnode] (n20) at ([xshift=1.5em,yshift=8em]input10.east)
{
\tiny
{
Sigmoid
}
\\
[-1ex]
\tiny
{$
\sum
$}}
;
\node
[anchor=east,minimum width=2.0em,minimum height=1.5em] (a1) at ([xshift=3.9em,yshift=0em]n20.east)
{
\footnotesize
{
穿衣指数
}}
;
\draw
[-,ublue] (n20.west) -- (n20.east);
\node
[anchor=west,minimum width=2.0em,minimum height=1.5em] (output) at ([xshift=0.5em,yshift=12em]input10.east)
{
\footnotesize
{$
y
$}}
;
\draw
[->,thick] (input10.north) -- (n10.south);
\draw
[->,thick] (input20.north) -- (n10.south);
\draw
[->,thick] (input20.north) -- (n11.south);
\draw
[->,thick] (input30.north) -- (n11.south);
\draw
[->,thick] (n10.north) -- (n20.south);
\draw
[->,thick] (n11.north) -- (n20.south);
\draw
[->,thick] (bias20.north) -- (n20.south);
\draw
[->,thick] (n20.north) -- (output.south);
\draw
[->,thick] (bias10.north) -- (n10.south);
\draw
[->,thick,ublue!70,line width=0.33mm] (input10.north) -- (n10.south);
\draw
[->,thick,ugreen,line width=0.33mm] (input20.north) -- (n10.south);
\draw
[->,thick,blue!80,line width=0.33mm] (input20.north) -- (n11.south);
\draw
[->,thick,red!40,line width=0.33mm] (input30.north) -- (n11.south);
\draw
[->,thick,brown,line width=0.33mm] (n10.north) -- (n20.south);
\draw
[->,thick,ugreen!40,line width=0.33mm] (n11.north) -- (n20.south);
\draw
[->,thick,purple,line width=0.33mm] (bias20.north) -- (n20.south);
\draw
[->,thick,line width=0.33mm] (n20.north) -- (output.south);
\draw
[->,thick,red!80,line width=0.33mm] (bias10.north) -- (n10.south);
\draw
[->,thick,orange,line width=0.33mm] (bias10.north) -- (n11.south);
\node
[anchor=center,rotate=10,fill=white,inner sep=1pt] (b12) at ([yshift=1.0em,xshift=4em]bias10.north)
{
\scriptsize
{$
b
_{
12
}$}}
;
\node
[anchor=center,rotate=40,fill=white,inner sep=1pt] (w11) at ([yshift=0.55em,xshift=1.5em]input10.north)
{
\scriptsize
{$
w
_{
11
}$}}
;
\node
[anchor=center,rotate=-30,fill=white,inner sep=1pt] (w12) at ([yshift=0.5em,xshift=-1.4em]input20.north)
{
\scriptsize
{$
w
_{
21
}$}}
;
\end{tikzpicture}
%%%------------------------------------------------------------------------------------------------------------
%%------------------------------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Chapter9/Figures/fig-weight.tex
查看文件 @
444de597
...
...
@@ -10,7 +10,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labela) at (0.2,-0.5)
{
\footnotesize
{
(a)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{$
w
_{
11
}
=
1
$}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{
\scriptsize
{
\
$
w
_{
11
}
=
1
$}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\draw
[-,very thick,ublue,domain=-1.5:1.5,samples=100] plot (
\x
,
{
1/(1+exp(-2*
\x
))
}
);
}
\end{scope}
%---------------------------------------------------------------------------------------------
...
...
@@ -23,7 +23,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelb) at (0.2,-0.5)
{
\footnotesize
{
(b)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{$
w
_{
11
}
=
10
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w
_{
11
}
=
10
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\draw
[-,very thick,ublue,domain=-1.5:1.5,samples=100] plot (
\x
,
{
1/(1+exp(-4*
\x
))
}
);
}
\end{scope}
%-----------------------------------------------------------------------------------------------
...
...
@@ -36,7 +36,7 @@
\node
[anchor=south east,inner sep=1pt] (label2) at (0,0)
{
\tiny
{
0
}}
;
\node
[anchor=south east,inner sep=1pt] (labelc) at (0.2,-0.5)
{
\footnotesize
{
(c)
}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{$
w
_{
11
}
=
100
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\node
[anchor=north west,align=left] (wblabel) at (-1.8,2)
{{
\scriptsize
{
\
$
w
_{
11
}
=
100
$}}
\\
[-0ex]
\scriptsize
{
\
$
b
_
1
=
0
$}}
;
}
{
\draw
[-,very thick,ublue,rounded corners=0.1em] (-1.5,0) -- (0,0) -- (0,1) -- (1.5,1);
}
\end{scope}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter9/chapter9.tex
查看文件 @
444de597
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论