过拟合欠拟合及其解决方案
%matplotlib inline
import torch
import numpy as np
import sys
sys.path.append("/home/kesci/input")
import d2lzh1981 as d2l
print(torch.__version__)
初始化模型参数
n_train, n_test, true_w, true_b = 100, ...
原创
2020-02-17 08:08:28 ·
221 阅读 ·
0 评论