|
MeasuresEntropy Method (IListInt32, Int32)
|
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(
IList<int> values,
int classes
)
Public Shared Function Entropy (
values As IList(Of Integer),
classes As Integer
) As Double
Request Example
View SourceParameters
- values
- Type: System.Collections.GenericIListInt32
An array of integer symbols. - classes
- Type: SystemInt32
The number of distinct classes.
Return Value
Type:
DoubleThe evaluated entropy.
See Also