runxinzhi.com
首页
百度搜索
Gini 系数与熵的关系
首先来看二者的基本定义:
⎧
⎩
⎨
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
H
(
X
)
=
−
∑
k
=
1
K
p
k
ln
p
k
Gini
(
X
)
=
∑
k
=
1
K
p
k
(
1
−
p
k
)
将
f
(
x
)
=
−
ln
x
在
x
=
1
处进行一阶泰勒展开(忽略高阶无穷小):
f
(
x
)
=
=
=
f
(
x
0
)
+
f
′
(
x
0
)
(
x
−
x
0
)
+
o
(
⋅
)
f
(
1
)
+
f
′
(
1
)
(
x
−
1
)
+
o
(
⋅
)
1
−
x
因此,熵可近似转化为:
H
(
X
)
=
−
∑
k
=
1
K
p
k
ln
p
k
=
∑
k
=
1
K
p
k
(
−
ln
p
k
)
≃
∑
k
=
1
K
p
k
(
1
−
p
k
)
=
Gini
(
X
)
相关阅读:
CentOS 6.5、6.7 设置静态 ip 教程
Nagios
zabbix
xml 的 <![CDATA["URL"]]>
Don't make a promise when you are in Joy. Don't reply when you are Sad.Don't take decisions when you are Angry.Think Twice.Act Wise.
DNS-2
APM
Time crumbles things; everything grows old under the power of Time and is forgotten through the lapse of Time
CentOS 7 配置静态 ip
AOP
原文地址:https://www.cnblogs.com/mtcnn/p/9421901.html
最新文章
阿里大鱼发送短信
textarea输入回车,前台jsp不回车问题解决
js延迟3秒后跳转
jquery返回滚动条顶部
maven install 构建报错(2)
maven install 构建报错
If a thing is worth doing it is worth doing well
The most difficult thing is the decision to act. And the rest is merely tenacity.
Autumn is a second spring when every leaf is a flower.
libtool: line 990: g++: command not found的解决
热门文章
httpd 安装
linux 使用 rz 和 sz 命令
centos7配置静态ip后仍然显示动态ip
ftp发送文件
A ship is always safe at the shore
“You couldn’t see my tears cause I am in the water.“ Fish said to water.“But I could feel your tears cause you are in my heart..“ Answered water.
The world won't care about your self-esteem. The world will expect you to accomplish something before you feel good about yourself.
If you only do what you can do you'll never be more than you are now.
redis 安装
!$ 路径
Copyright © 2020-2023
润新知