当前位置:网站首页>Definition of information entropy
Definition of information entropy
2022-07-25 11:26:00 【fatfatmomo】
Let me explain why the definition of entropy is as shown in the title from a very intuitive point of view .
First of all , Suppose there is a random variable , You can ask yourself when we observe a sample of this random variable , How much information can we receive ? without doubt , When we are told that a highly unlikely thing has happened , Then we will receive more information ; And when we observe a very common thing happened , Then we receive a relatively small amount of information . Therefore, the measurement of information should depend on the probability distribution
, So entropy
The definition of should be a monotonic function of probability .
second , Suppose two random variables and
It's independent of each other , Then the amount of information obtained by observing two variables separately should be the same as that obtained by observing two variables at the same time , namely :
. And in terms of probability , Two independent random variables mean
, So it can be concluded here that the definition of entropy
It should be probability
Of
function . Therefore, the entropy of a random variable can be defined as follows :
The minus sign here is only used to guarantee entropy ( The amount of information ) Is a positive number or zero . and The choice of function basis is arbitrary ( In information theory, the base is often chosen as 2, Therefore, the unit of information is bit bits; In machine learning, the base is often chosen as a natural constant , Therefore, units are often called nats).
Last , We use entropy to evaluate the entire random variable The average amount of information , And the best measure of average is the expectation of random variables , The definition of entropy is as follows :
边栏推荐
猜你喜欢

史上最全的立创元器件封装库导入AD详细教程(一直白嫖一直爽)

Mlx90640 infrared thermal imager temperature measurement module development notes (V)
Learn NLP with Transformer (Chapter 4)

B2B2C多商户系统功能丰富,极易二开!!!

NowCoderTOP1-6——持续更新ing

From the perspective of open source, analyze the architecture design of SAP classic ERP that will not change in 30 years

HCIA experiment (09)

从宏观到微观 零基础 详解bert

Reinforcement Learning 强化学习(三)

The B2B2C multi merchant system has rich functions and is very easy to open!!!
随机推荐
苹果美国宣布符合销售免税假期的各州产品清单细节
Hcip experiment (01)
Getting started with redis
Learn NLP with Transformer (Chapter 1)
mysql主从复制与读写分离
Dataframe print 省略号问题
SQL语言(一)
There is a newline problem when passing shell script parameters \r
Compressed list ziplist of redis
学习路之PHP--TP5.0使用中文当别名,报“不支持的数据表达式”
[domain generalization] 2022 IJCAI domain generalization tutorial Report
Google Earth engine -- Statistics on the frequency of land classification year by year
Learn NLP with Transformer (Chapter 7)
游戏背包系统,“Inventory Pro插件”,研究学习-----妈妈再也不用担心我不会做背包了(Unity3D)
Shell - Chapter 8 exercise
C# Newtonsoft.Json 高级用法
信息熵的定义
Let sports happen naturally, and fire creates a new lifestyle
The integration of two in one has a long way to go
Redis 入门