entropy

package
v0.0.0-...-a3af1b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCharacterCount

func GetCharacterCount(text string) map[rune]int

func GetMetricEntropy

func GetMetricEntropy(text string) float64

GetMetricEntropy gets a normalized entropy between 0 and 1.

func GetPValues

func GetPValues(text string) []float64

func GetShannonEntropy

func GetShannonEntropy(text string) float64

GetShannonEntropy gets the Shannon entropy of a string as a float.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL