Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
컬럼 값의 Shannon 엔트로피를 계산합니다.
entropy(val)
val
Any
Float64
CREATE TABLE entropy (`vals` UInt32,`strings` String) ENGINE = Memory; INSERT INTO entropy VALUES (1, 'A'), (1, 'A'), (1,'A'), (1,'A'), (2,'B'), (2,'B'), (2,'C'), (2,'D'); SELECT entropy(vals), entropy(strings) FROM entropy
┌─entropy(vals)─┬─entropy(strings)─┐ │ 1 │ 1.75 │ └───────────────┴──────────────────┘
이 페이지가 도움이 되었나요?