首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

python 数据标准化常用方法,z-score\min-max标准化

在数据分析之前,我们通常需要先将数据标准化(normalization),利用标准化后的数据进行数据分析。数据标准化也就是统计数据的指数化。数据标准化处理主要包括数据同趋化处理和无量纲化处理两个方面。数据同趋化处理主要解决不同性质数据问题,对不同性质指标直接加总不能正确反映不同作用力的综合结果,须先考虑改变逆指标数据性质,使所有指标对测评方案的作用力同趋化,再加总才能得出正确结果。数据无量纲化处理主要解决数据的可比性。数据标准化的方法有很多种,常用的有"最小-最大标准化"、"Z-score标准化"和"按小数定标标准化"等。经过上述标准化处理,原始数据均转换为无量纲化指标测评值,即各指标值都处于同一个数量级别上,可以进行综合测评分析。

06

新建表sql语句

二、对表的修改 1.给表重命名 语法:alter table table_name rename to new_table_name; 例子:alter table student rename to new_student; 2.给表添加字段 语法:alter table tablename add (column datatype [default value][null/not null],….); 例子: alter table student add (teachername varchar2(30) default ‘张三’ not null); 3.修改表字段 语法:alter table tablename modify (column datatype [default value][null/not null],….); 例子:alter table student modify (teachername varchar2(30) default ‘张三’ not null); 4.删除表字段 语法:alter table tablename drop (column); 或者alter table tablename drop column column_name 例子:alter table student drop column teachername; 5.主键约束 添加有名称的主键约束:alter table table_name add constraint pk_name primary key (id); 删除有名称的主键约束:alter table table_name drop constraint pk_name; 6.修改表字段类型 例子:alter table student alter column birthday decimal(18, 4) not null

02
领券