|
MeasuresEntropy Method (Int32, IntRange)
|
Computes the entropy for the given values.
Namespace:
Accord.Statistics
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Entropy(
int[] values,
IntRange valueRange
)
Public Shared Function Entropy (
values As Integer(),
valueRange As IntRange
) As Double
Request Example
View SourceParameters
- values
- Type: SystemInt32
An array of integer symbols. - valueRange
- Type: AccordIntRange
The range of symbols.
Return Value
Type:
DoubleThe evaluated entropy.
See Also