当前位置:网站首页>特征缩放 标准化 归一化
特征缩放 标准化 归一化
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]
边栏推荐
- [cooking record] - stir fried 1000 pieces of green pepper
- B站大量虚拟主播被集体强制退款:收入蒸发,还倒欠B站;乔布斯被追授美国总统自由勋章;Grafana 9 发布|极客头条
- 力扣3_383. 赎金信
- Introducing QA into the software development lifecycle is the best practice that engineers should follow
- POM in idea XML dependency cannot be imported
- DevEco Device Tool 3.0 Release带来5大能力升级,让智能设备开发更高效
- 现在mysql cdc2.1版本在解析值为0000-00-00 00:00:00的datetime类
- Concurrent network modular reading notes transfer
- Common shortcut keys for hbuilder x
- 将QA引入软件开发生命周期是工程师要遵循的最佳实践
猜你喜欢

Ascendex launched Walken (WLKN) - an excellent and leading "walk to earn" game

Why is Dameng data called the "first share" of domestic databases?

并发网络模块化 读书笔记转

Close system call analysis - Performance Optimization

LOGO特训营 第二节 文字与图形的搭配关系

Concurrent network modular reading notes transfer

Challenges faced by virtual human industry

【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用

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

Locust性能测试 —— 环境搭建及使用
随机推荐
Common shortcut keys for hbuilder x
PHP short video source code, thumb animation will float when you like it
leetcode 72. Edit distance edit distance (medium)
【OpenGL】笔记二十九、抗锯齿(MSAA)
UML图记忆技巧
Introduction and application of bigfilter global transaction anti duplication component
How to reset the password of MySQL root account
Nat. Commun.| Machine learning jointly optimizes the affinity and specificity of mutagenic therapeutic antibodies
Radio and television Wuzhou signed a cooperation agreement with Huawei to jointly promote the sustainable development of shengteng AI industry
Alibaba launched a new brand "Lingyang" and is committed to becoming a "digital leader"
好用app推荐:扫描二维码、扫描条形码并查看历史
DevEco Device Tool 3.0 Release带来5大能力升级,让智能设备开发更高效
Redis sentinel simply looks at the trade-offs between distributed high availability and consistency
PostgreSQLSQL高级技巧透视表
AscendEX 上线 Walken (WLKN) - 一款卓越领先的“Walk-to-Earn”游戏
Embedded development: skills and tricks -- seven skills to improve the quality of embedded software code
Use blocconsumer to build responsive components and monitor status at the same time
Deveco device tool 3.0 release brings five capability upgrades to make intelligent device development more efficient
复数在数论、几何中的用途 - 曹则贤
Enabling digital economy Fuxin software attends the BRICs high level Forum on Sustainable Development