1.为什么要进行特征提取? 维度诅咒:特征越多,纬度越高,表示特征所需的数据指数上升。
2.反向传播:核心:计算图
- 深度学习
- 基本 线性代数+概率论与数理统计+python
- 少于一年时间
- TensorFlow
- Caffe 2
- PyTorch
过拟合
泛化能力
- The machine starts with a random guess, w=random value
- Training Loss(Error)
- Mean Square Error
Stochastic Gradient Descent
4.Back Propagation先前馈再反馈
- Tensor:PyTorch中的类,包含两个数据类型: Data ,grad
- prepare dataset
- design model using class
- construct loss and optimizer (using PyTorch)
- Training cycle (forward,backward,update)
重点是构造计算图
_init() /forward() 必需 - y_hat
- loss
- backward
- 更新
Dataset:加载数据、索引;DataLoader:Mini—Batch
# Training cycle for epoch in range(training_epochs): # Loop over all batches for i in range(total_batch):
epoch;batch_size
shuffle=True:打乱顺序



