Qurak

Entropy

ใช้งานได้

Returns the Shannon information entropy of the categorical distribution of a

Entropy[data]
Entropy[k, data]
Entropy[{1, 2, 3, 4}] → Log[4]Entropy[2, {1, 1, 2, 2}] → 1Entropy[2, {a, b, c, d}] → 2Entropy[2, {a, a, b, b, c, c}] → -1 + Log[6]/Log[2]

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP