...menustart
- Neural Network : Notivation
- Neural Network Hypothesis: Output
- Deep Learning
- Autodecoder
- 资料
- Network Structure:
- Techniques to Train Neural Network
...menuend
-
Perceptrons 模型
- 把你的输入 x 乘上 1堆权重,算出一个分数
-
一堆 perceptron 放在一起
-
What boundary can G implement ?
-
Limitation: XOR not "linear separable"
- XOR 不是 线性可分
-
How to implement XOR(g₁,g₂) ?
- OUTPUT: simply a linear model with s = wᵀ· ϕ⁽²⁾(ϕ⁽¹⁾(x))
- s function
- 中间层的转换函数 可以全部使用 linear transform 吗?
- linear : whole network linear , thus less useful
- 如果全部都是 linear transform function , 那个整个网络也是一个 linear transform 转换,就蜕变成 单个perceptron 模型了. So :
- linear : whole network linear , thus less useful
- 神经网络中,一般使用如下 转换函数, 和 逻辑回归总的 s 函数很有渊源
- input date , layer 0
- hidden layer , 1 ≤ l ≤ L
- output layer , h(x)
- apply x as input layer x⁽⁰⁾ , go through hidden layers to get x⁽ˡ⁾ , predict at output layer x₁⁽ᴸ⁾.
- output x₁⁽ᴸ⁾ 的下表 1, 表示是第一个输出
- each layer: transformation to be learned from data.
- w向量和x向量 越平行,点积越大
- whether x 'matches' weight vectors in pattern
- NNet 是这样的一个模型,每一次都在做所谓的 pattern extraction
- pattern extraction with layers of connection weights
- difficult structural decisions:
- 怎么选择一个好的模型
- subjective with domain knowledge: like convolutional NNet for images
- high model complexity:
- no big worries if big enough data
- regularization towards noise-tolerant: like
- dropout ( tolerant when network corrupted ) 丢弃坏掉的神经元
- denoising ( tolerant when input corrupted ) 丢弃坏掉的输入
- hard optimization problem:
- careful initialization to avoid bad local minimum: called pre-training. 而不是采用 random initialization.
- huge computational complexity ( worsen with big data )
- novel hardware / architecture: like mini-batch with GPU
- Simple Deep Learning
Autodecoder 是 实现好的 pre-training 的一个方式。
- basic autoencoder :
- d-d'-d NNet with error function: 平方差
- 一天搞懂深度学习
- 深度学习 TensorFlow Deep Learning 第一堂课
- CS231n课程笔记翻译:卷积神经网络笔记
- hidden layer width:
- Usually less than 1000
- hidden layer height:
- Sample/parameter ration usually between 5~30
- 样本数/所有hidden layer的总权重数
- thin-tall is better than fat-short
- active function is always "non-linear"
- 常用 active function
- Sigmoid:
- 优点:好微分,计算快 , 缺点:网路层数很深的时候,反向传播过程中 gradient会越来越小,到 input layer的时候接近0
- ReLu:
- 没有 Sigmoid vanishing gradient 的问题
- most commonly used
- Tanh:
- ranging from -1 to 1
- commonly used when the features range from negatives , eg. NLP
- Sigmoid:
- Loss Function
- Cross entropy:
- More suitable for predicting categorical labels
- 收敛更快
- Squared Error:
- More suitalbe for predicting continuous values ( eg. tomorrow's temperature )
- Cross entropy:
- Conquer overfitting
- Dropout
- Regularization
- Mini-batch
- Stochastic gradient descent
- Learning Rate
- Advanced skills ( such as Ada Grad )





