calculate_entropy
Calculate the Shannon entropy of any string to measure its randomness or information content. Useful for analyzing data complexity and compression potential.
Instructions
Calculate Shannon entropy of a string (measure of randomness/information content).
Parameters:
text — String to calculate entropy of.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |