Click or drag to resize
Accord.NET (logo)

MeasuresEntropy Method (Boolean, Double)

Computes the entropy function between an expected value and a predicted value between 0 and 1.

Namespace:  Accord.Statistics
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Entropy(
	bool expected,
	double predicted
)
Request Example View Source

Parameters

expected
Type: SystemBoolean
predicted
Type: SystemDouble

Return Value

Type: Double
See Also