当前位置:网站首页>CV复习:过拟合、欠拟合
CV复习:过拟合、欠拟合
2022-08-09 14:52:00 【pomelo33】
过拟合
过拟合的表现
模型在训练集上的表现非常好,但是在测试集、验证集以及新数据上的表现很差,损失曲线呈现一种高方差状态。(高方差指的是训练集误差较低,而测试集误差比训练集大较多)
过拟合的原因
从两个角度去分析:
- 模型的复杂度:模型过于复杂,把噪声数据的特征也学习到模型中,导致模型泛化性能下降
- 数据集规模大小:数据集规模相对模型复杂度来说太小,使得模型过度挖掘数据集中的特征,把一些不具有代表性的特征也学习到了模型中。
过拟合的解决方法
获得更多的训练数据:使用更多的训练数据是解决过拟合问题最有效的手段,因为更多的样本能够让模型学习到更多更有效的特征,减少噪声的影响。
① 数据增强:平移、旋转、裁剪、mosaic、cutmix (# TODO...)
② GAN:生成数据
③迁移学习:用在其他任务上训练好的模型进行微调,如COCO预训练->UADetrac微调降低模型复杂度:在深度学习中我们可以减少网络模块的堆叠深度,改用参数量更少的模型;在机器学习的决策树模型中可以降低树的高度、进行剪枝等。
正则化方法:为什么正则化可以减轻过拟合这个问题可以看看
边栏推荐
- UDP多线程实现聊天
- xshell7连接工具下载
- DSPE-PEG-Hydrazide, DSPE-PEG-HZ, Phospholipid-Polyethylene Glycol-Hydrazide MW: 1000
- 基于FPGA的FIR滤波器的实现(2)—采用kaiserord & fir2 & firpm函数设计
- A Preliminary Study on Baidu Open Source e-chart
- redis6在centos7的安装
- [Basic version] Integer addition, subtraction, multiplication and division calculator
- 常见的数学物理方程
- Play in the cloud | The ever-changing gameplay of Tianyi cloud computer
- Seize the opportunity of quantitative trading fund products, and quantitative investment has room for development?
猜你喜欢
随机推荐
Anaconda3安装后无法启动,启动闪退 2020-9
OpenCV - matchTemplate image template matching
对程序化交易系统接口有什么误区?
【NodeJs篇】关于path 路径模块的学习和使用
How to use and execute quantitative programmatic trading?
Shell -- -- -- -- -- - common gadgets, sort and uniq, tr, the cut
【超级账本开发者系列】专访——肖慧 : 不忘初心,方得始终
docke安装mysql以及主从搭建(并且指定数据生成路径)
经典面试题 之 JVM调优
常见的数学物理方程
How to achieve stable profit through the stock quantitative trading interface?
In the process of quantitative trading, retail investors can do this
常见的四种电阻之间有什么不同?
Two-dimensional array to realize the eight queens problem
约束性统计星号‘*’
Mysql两个引擎对比
UDP多线程实现聊天
一些需要思考的物理问题
方法学习笔记
What is a template engine?What are the common template engines?Introduction to common commands of thymeleaf.








