跳到主内容
paste
bin
.ca
type · paste · share
⌘
K
系列
bin 系列
pastebin.ca
中心
Share text and code with expiry and privacy controls.
imagebin.ca
Upload and share images with direct links.
filebin.ca
Drop a file and get a shareable link.
notebin.ca
Write Markdown notes with durable links.
turl.ca
Short, reputation-checked links.
attn.ca
Notifications and alerts for your services.
voicebin.ca
Record and share short voice clips.
dnsbin.ca
Inspect DNS and debug records.
文档
登录
?
← 返回文本
›
编辑 / 分支
无标题文本
#9CGG5Kbumj
public / public
新版本
匿名
已创建 2 days ago
过期于 5 days
796 B
语法:
text
你的更改会创建一个链接到此文本的新文本 — 原始文本不变。
新版本
你的更改会创建一个链接到此文本的新文本 — 原始文本不变。
标题(可选)
文件名
语法
text
text
bash
c
cpp
css
diff
dockerfile
go
html
ini
java
javascript
json
kotlin
lua
makefile
markdown
nginx
php
python
ruby
rust
shellscript
sql
swift
toml
typescript
xml
yaml
可见性
公开动态
访问
public
过期
7 天
10 分钟
1 小时
1 天
7 天
30 天
90 天
自定义…
自定义过期
变更备注
(可选)
此文本会显示在公开动态中。如果只想通过链接分享,请更改可见性。
创建新版本
取消
粘贴或输入…
如何识别过拟合现象? 观察损失曲线:训练集损失持续下降,但是测试集(验证集)损失先下降,达到最低点之后开始上升;同时模型在训练集上准确率很高,在测试集上效果明显变差,就说明出现了过拟合。 为了避免过拟合,训练应该在哪个Epoch停止? 在测试(验证)损失达到最小值对应的Epoch停止训练,也就是测试损失即将由降转升的临界点。这就是早停法的核心依据。 除了早停法,还有哪些避免过拟合的方法? 正则化:L1、L2权重正则化 Dropout:训练时随机让一部分神经元失活 增加训练数据、数据增强 简化网络结构,减少网络参数 加入噪声、批量归一化(BatchNorm) 如果你想要更简短精简