当前位置:网站首页>特征缩放 标准化 归一化
特征缩放 标准化 归一化
2022-07-04 22:06:00 【Melody2050】
- Feature Scaling (How it really works?) Explained !!
- How To Calculate the Mean and Standard Deviation — Normalizing Datasets in Pytorch
- 归一化与标准化
特征缩放的目的
对于大多数的机器学习算法和优化算法来说,将特征值缩放到相同区间可以使得获取性能更好的模型。
例如:
(a)有两个不同的特征,第一个特征的取值范围为110,第二个特征的取值范围为110000。在梯度下降算法中,代价函数为最小平方误差函数,所以在使用梯度下降算法的时候,算法会明显的偏向于第二个特征,因为它的取值范围更大。
(b)k近邻算法,它使用的是欧式距离,也会导致其偏向于第二个特征。对于决策树和随机森林以及XGboost算法而言,特征缩放对于它们没有什么影响。
常用特征缩放方法
- 标准化。减去均值,并除以标准差
- 归一化。使用min、max,将值缩放到[0,1]
边栏推荐
- 微服务--开篇
- 好用app推荐:扫描二维码、扫描条形码并查看历史
- Enabling digital economy Fuxin software attends the BRICs high level Forum on Sustainable Development
- close系统调用分析-性能优化
- 安装人大金仓数据库
- 繁華落盡、物是人非:個人站長該何去何從
- 嵌入式开发:技巧和窍门——提高嵌入式软件代码质量的7个技巧
- Interview essential leetcode linked list algorithm question summary, whole process dry goods!
- LOGO特训营 第三节 首字母创意手法
- 蓝队攻防演练中的三段作战
猜你喜欢

How to transfer to software testing, one of the high paying jobs in the Internet? (software testing learning roadmap attached)

Play with grpc - go deep into concepts and principles

安装人大金仓数据库

【OpenGL】笔记二十九、抗锯齿(MSAA)

2022-07-04:以下go语言代码输出什么?A:true;B:false;C:编译错误。 package main import “fmt“ func main() { fmt.Pri

都说软件测试很简单有手就行,但为何仍有这么多劝退的?

B站大量虚拟主播被集体强制退款:收入蒸发,还倒欠B站;乔布斯被追授美国总统自由勋章;Grafana 9 发布|极客头条

抖音实战~评论数量同步更新

2022-07-04: what is the output of the following go language code? A:true; B:false; C: Compilation error. package main import “fmt“ func main() { fmt.Pri

Google Earth Engine(GEE)——Tasks升级,实现RUN ALL可以一键下载任务类型中的所有影像
随机推荐
傳智教育|如何轉行互聯網高薪崗比特之一的軟件測試?(附軟件測試學習路線圖)
[acwing] solution of the 58th weekly match
Microservices -- Opening
ACM multimedia 2022 | counterfactual measurement and elimination of social prejudice in visual language pre training model
Challenges faced by virtual human industry
高中物理:直线运动
leetcode 72. Edit Distance 编辑距离(中等)
Use blocconsumer to build responsive components and monitor status at the same time
《命令行上的数据科学第二版》校对活动重新启动
都说软件测试很简单有手就行,但为何仍有这么多劝退的?
Nat. Commun.| Machine learning jointly optimizes the affinity and specificity of mutagenic therapeutic antibodies
繁華落盡、物是人非:個人站長該何去何從
About stack area, heap area, global area, text constant area and program code area
BigFilter全局交易防重组件的介绍与应用
Apachecn translation, proofreading, note sorting activity progress announcement 2022.7
面试必备 LeetCode 链表算法题汇总,全程干货!
阿里推出新品牌“瓴羊”,致力成为“数字化领头羊”
Tla+ introductory tutorial (1): introduction to formal methods
蓝队攻防演练中的三段作战
力扣2_1480. 一维数组的动态和