吴恩达机器学习 Chapter9 Chapter10 Neural Network 神经网络

本文深入探讨了神经网络的基本概念,包括神经元模型、逻辑单元、网络组件等关键部分。详细解析了多输出单位的One-vs-all策略,以及神经网络的学习过程,包括成本函数和反向传播算法。通过直观理解前向传播和反向传播算法,为读者提供了神经网络的全面理解。


If there are too many features, then the hypothesis is non-linear. Neural network is an algorithm that mimics human’s brain.

Neuron model

Logistic unit

在这里插入图片描述
h θ ( x ) = 1 1 + e − θ T x h_\theta(x)=\frac{1}{1+e^{-\theta^Tx}} hθ(x)=1+eθTx1
Sigmoid(logistic) activation function.

Neural Network

Component

在这里插入图片描述

  1. 3 layers:
  • input layer
  • hidden layer ≥ 1 \geq1 1
  • output layer
  1. a i ( j ) a_i^{(j)} ai(j) = “activation” of unit i in layer j
  2. Θ ( j ) \Theta^{(j)} Θ(j)=matrix of weights controlling function mapping from layer j to layer j+1
    在这里插入图片描述
    If network has s j s_j sj units in layer j j j, s j + 1 s_{j+1} sj+1 units in layer j + 1 j+1 j+1, then Θ ( j ) \Theta^{(j)} Θ(j) will be of dimension s j + 1 × ( s j + 1 ) s_{j+1}\times (s_j+1) sj+1×(sj+1).

Multiple output units: One-vs-all

在这里插入图片描述

Neural Network Learning

Cost function

在这里插入图片描述

Backpropagation Algorithm

Forward propagation

Vectorized computation
在这里插入图片描述

Backpropagation Algorithm

在这里插入图片描述

Algorithm

在这里插入图片描述

Intuition

在这里插入图片描述
δ \delta δ: a weighted sum of δ \delta δ values weighted by corresponding edge strength.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值