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
单韦乔
Toy-MT-Introduction
Commits
01bd6b80
Commit
01bd6b80
authored
Sep 02, 2019
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new page
parent
e091bf56
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
179 行增加
和
0 行删除
+179
-0
Section05-Neural-Networks-and-Language-Modeling/section05-test.tex
+179
-0
没有找到文件。
Section05-Neural-Networks-and-Language-Modeling/section05-test.tex
0 → 100644
查看文件 @
01bd6b80
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
\def\CTeXPreproc
{
Created by ctex v0.2.13, don't edit!
}
\documentclass
[cjk,t,compress,12pt]
{
beamer
}
\usepackage
{
pstricks
}
\usepackage
{
etex
}
\usepackage
{
eso-pic,graphicx
}
\usepackage
{
fancybox
}
\usepackage
{
amsmath,amssymb
}
\usepackage
{
setspace
}
\usepackage
{
xcolor
}
\usepackage
{
array,multirow
}
\usepackage
{
CJK
}
\usepackage
{
tikz
}
\usepackage
{
tikz-qtree
}
\usepackage
{
hyperref
}
\usepackage
{
changepage
}
\usepackage
{
pgfplots
}
\usepackage
{
subfigure
}
\usetikzlibrary
{
arrows,decorations.pathreplacing
}
\usetikzlibrary
{
shadows
}
% LATEX and plain TEX when using Tik Z
\usepgflibrary
{
arrows
}
% LATEX and plain TEX and pure pgf
\usetikzlibrary
{
arrows
}
% LATEX and plain TEX when using Tik Z
\usetikzlibrary
{
decorations
}
\usetikzlibrary
{
arrows,shapes
}
\usetikzlibrary
{
positioning,fit,calc
}
\usetikzlibrary
{
mindmap,backgrounds
}
% mind map
\DeclareMathOperator*
{
\argmax
}{
arg
\,
max
}
\DeclareMathOperator*
{
\argmin
}{
arg
\,
min
}
\setbeamertemplate
{
items
}
[ball]
\usefonttheme
[onlymath]
{
serif
}
% fout of math
\definecolor
{
ugreen
}{
rgb
}{
0,0.5,0
}
\definecolor
{
lgreen
}{
rgb
}{
0.9,1,0.8
}
\definecolor
{
xtgreen1
}{
rgb
}{
0.824,0.898,0.8
}
\definecolor
{
xtgreen
}{
rgb
}{
0.914,0.945,0.902
}
\definecolor
{
lightgray
}{
gray
}{
0.85
}
\setbeamercolor
{
uppercol
}{
fg=white,bg=ugreen
}
\setbeamercolor
{
lowercol
}{
fg=black,bg=xtgreen
}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\setbeamercolor
{
uppercolblue
}{
fg=white,bg=ublue
}
\setbeamercolor
{
lowercolblue
}{
fg=black,bg=blue!10
}
%\usetheme{default}
%\usetheme{Darmstadt}
%\usetheme{Madrid}
%\usetheme{Frankfurt}
%\usetheme{Dresden}
%\usetheme{Boadilla}
%\usecolortheme{dolphin}
\usefonttheme
[onlylarge]
{
structurebold
}
\IfFileExists
{
C:/WINDOWS/win.ini
}
{
\newcommand
{
\mycfont
}{
you
}}
{
\newcommand
{
\mycfont
}{
gbsn
}}
\begin{CJK}
{
UTF8
}{
\mycfont
}
\end{CJK}
\setbeamerfont*
{
frametitle
}{
size=
\large
,series=
\bfseries
}
\setbeamertemplate
{
navigation symbols
}{
\begin{CJK}
{
UTF8
}{
\mycfont
}
第五章 神经网络和语言模型
\hspace*
{
2em
}
肖桐
\&
朱靖波
\end{CJK}
\hspace*
{
2em
}
\today
\hspace*
{
2em
}
\insertframenumber
{}
/
\inserttotalframenumber
}
\setbeamertemplate
{
itemize items
}
[circle]
% if you want a circle
\setbeamertemplate
{
itemize subitem
}
[triangle]
% if you wnat a triangle
\setbeamertemplate
{
itemize subsubitem
}
[ball]
% if you want a ball
\begin{document}
\begin{CJK}
{
UTF8
}{
\mycfont
}
\title
{
\Large
{
神经网络和语言模型
}}
\author
{
\large
{
\textbf
{
肖桐
\ \
朱靖波
}}}
\institute
{
\blue
{
\url
{
xiaotong@mail.neu.edu.cn
}}
\black
{}
\\
\blue
{
\url
{
zhujingbo@mail.neu.edu.cn
}}
\black
{}
\\
\vspace
{
1.0em
}
东北大学 自然语言处理实验室
\\
\blue
{
\underline
{
\url
{
http://www.nlplab.com
}}}
\black
{}
\\
\vspace
{
0.2cm
}
\hspace
{
0.1cm
}
\includegraphics
[scale=0.1]
{
../Figures/logo.pdf
}
}
\date
{}
\maketitle
\setlength
{
\leftmargini
}{
1em
}
\setlength
{
\leftmarginii
}{
1em
}
%%%------------------------------------------------------------------------------------------------------------
\section
{
为什么要谈神经网络
}
%%%------------------------------------------------------------------------------------------------------------
\subsection
{
数学基础:张量计算
}
%%%------------------------------------------------------------------------------------------------------------
%%% 层的概念
\begin{frame}
{
``层"的概念
}
\begin{itemize}
\item
对于一个问题(相同输入),可能会有多个输出,这时可以把
\alert
{
多个相同的神经元并列起来
}
,构成一
\alert
{
``层"
}
\begin{itemize}
\item
比如,天气预报需要同时预测湿度和温度
\end{itemize}
\end{itemize}
\vspace
{
-2em
}
\begin{center}
\begin{tikzpicture}
\begin{scope}
\tikzstyle
{
neuronnode
}
= [minimum size=1.5em,circle,draw,ublue,very thick,fill=white,drop shadow=
{
shadow xshift=0.1em,shadow yshift=-0.1em
}
]
\node
[anchor=center,neuronnode] (neuron00) at (0,0)
{}
;
\node
[anchor=center,neuronnode] (neuron01) at ([yshift=-3em]neuron00)
{}
;
\node
[anchor=center,neuronnode] (neuron02) at ([yshift=-3em]neuron01)
{}
;
\node
[anchor=east] (x0) at ([xshift=-6em]neuron00.west)
{$
x
_
0
$}
;
\node
[anchor=east] (x1) at ([xshift=-6em]neuron01.west)
{$
x
_
1
$}
;
\node
[anchor=east] (x2) at ([xshift=-6em]neuron02.west)
{$
b
$}
;
\node
[anchor=west] (y0) at ([xshift=4em]neuron00.east)
{$
y
_
0
$}
;
\node
[anchor=west] (y1) at ([xshift=4em]neuron01.east)
{$
y
_
1
$}
;
\node
[anchor=west] (y2) at ([xshift=4em]neuron02.east)
{$
y
_
2
$}
;
\draw
[->] (x0.east) -- (neuron00.180) node [pos=0.3,above]
{
\tiny
{$
w
_{
00
}$}}
;
\draw
[->] (x1.east) -- (neuron00.200) node [pos=0.1,above]
{
\tiny
{$
w
_{
10
}$}}
;
\draw
[->] (x2.east) -- (neuron00.220) node [pos=0.05,above,yshift=0.3em]
{
\tiny
{$
b
_{
0
}$}}
;
\draw
[->] (neuron00.east) -- (y0.west);
\draw
[->] (x0.east) -- (neuron01.160) node [pos=0.4,above]
{
\tiny
{$
w
_{
01
}$}}
;
\draw
[->] (x1.east) -- (neuron01.180) node [pos=0.35,above,yshift=-0.2em]
{
\tiny
{$
w
_{
11
}$}}
;
\draw
[->] (x2.east) -- (neuron01.200) node [pos=0.4,below]
{
\tiny
{$
b
_{
1
}$}}
;
\draw
[->] (neuron01.east) -- (y1.west);
\draw
[->] (x0.east) -- (neuron02.140) node [pos=0.1,below,yshift=-0.2em]
{
\tiny
{$
w
_{
02
}$}}
;
\draw
[->] (x1.east) -- (neuron02.160) node [pos=0.1,below]
{
\tiny
{$
w
_{
12
}$}}
;
\draw
[->] (x2.east) -- (neuron02.180) node [pos=0.3,below]
{
\tiny
{$
b
_{
2
}$}}
;
\draw
[->] (neuron02.east) -- (y2.west);
\node
[anchor=east,align=left] (inputlabel) at ([xshift=-0.1em]x1.west)
{
输入向量:
\\\small
{$
\textbf
{
x
}
=(
x
_
0
,x
_
1
)
$}}
;
\node
[anchor=west,align=left] (outputlabel) at ([xshift=0.1em]y1.east)
{
输出向量:
\\\small
{$
\textbf
{
y
}
=(
y
_
0
,y
_
1
,y
_
2
)
$}}
;
\begin{pgfonlayer}
{
background
}
\node
[rectangle,inner sep=0.4em,fill=red!20] [fit = (neuron00) (neuron01) (neuron02)] (layer)
{}
;
\node
[anchor=south] (layerlabel) at ([yshift=0.2em]layer.north)
{
一层神经元
}
;
\node
[rectangle,inner sep=0.1em,fill=ugreen!20] [fit = (x0) (x1)] (inputshadow)
{}
;
\node
[rectangle,inner sep=0.1em,fill=blue!20] [fit = (y0) (y1) (y2)] (outputshadow)
{}
;
\end{pgfonlayer}
\node
[anchor=north west] (wlabel) at ([yshift=-1em,xshift=-7em]x2.south)
{
参数(矩阵):
$
\textbf
{
w
}
=
\Big
(
\begin
{
array
}{
lll
}
w
_{
01
}
&
w
_{
01
}
&
w
_{
02
}
\\
w
_{
11
}
&
w
_{
11
}
&
w
_{
12
}
\end
{
array
}
\Big
)
$}
;
\node
[anchor=west] (blabel) at (wlabel.east)
{
参数(向量):
$
\textbf
{
b
}
=
(
b
_
0
, b
_
1
, b
_
2
)
$}
;
\end{scope}
\end{tikzpicture}
\end{center}
\end{frame}
%%%------------------------------------------------------------------------------------------------------------
\subsection
{
多层神经网络
}
%%%------------------------------------------------------------------------------------------------------------
\subsection
{
参数学习 - 反向传播
}
\end{CJK}
\end{document}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论