摘要:
# 4.10.1 下载和缓存数据集 ```python import hashlib import os import tarfile import zipfile import requests #@save DATA_HUB = dict() DATA_URL = 'http://d2l-dat 阅读全文
posted @ 2023-09-06 09:40
AncilunKiang
阅读(263)
评论(0)
推荐(0)
摘要:
# 4.9.1 分布偏移的类型 整节理论,详见书本。 # 4.9.2 分布偏移示例 整节理论,详见书本。 # 4.9.3 分布偏移纠正 整节理论,详见书本。 # 4.9.4 学习问题的分类法 整节理论,详见书本。 # 4.9.5 机器学习中的公平、责任和透明度 整节理论,详见书本。 # 练习 (1) 阅读全文
posted @ 2023-09-06 09:37
AncilunKiang
阅读(117)
评论(0)
推荐(0)
摘要:
# 4.8.1 梯度消失和梯度爆炸 整节理论,详见书本。 1. 梯度消失 ```python %matplotlib inline import torch from d2l import torch as d2l x = torch.arange(-8.0, 8.0, 0.1, requires_ 阅读全文
posted @ 2023-09-06 09:36
AncilunKiang
阅读(98)
评论(0)
推荐(0)
摘要:
# 4.7.1 前向传播 整节理论,详见书本。 # 4.7.2 前向传播计算图 整节理论,详见书本。 # 4.7.3 反向传播 整节理论,详见书本。 # 4.7.4 训练神经网络 整节理论,详见书本。 # 练习 (1)假设一些标量函数 $X$ 的输入 $X$ 是 $n\times m$ 矩阵。$f$ 阅读全文
posted @ 2023-09-06 09:33
AncilunKiang
阅读(148)
评论(0)
推荐(0)
摘要:
```python import torch from torch import nn from d2l import torch as d2l ``` # 4.6.1 重新审视过拟合 整节理论,详见书本。 # 4.6.2 扰动的稳健性 整节理论,详见书本。 # 4.6.3 实践中的暂退法 整节理论 阅读全文
posted @ 2023-09-06 09:29
AncilunKiang
阅读(188)
评论(0)
推荐(0)
摘要:
# 4.5.1 范数与权重衰减 整节理论,详见书本。 # 4.5.2 高维线性回归 ```python %matplotlib inline import torch from torch import nn from d2l import torch as d2l ``` ```python # 阅读全文
posted @ 2023-09-06 09:25
AncilunKiang
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号