Returns classification probabilities for the input pattern x.

Namespace: Imsl.DataMining.Neural
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual double[] Probabilities(
	double[] x
)
Visual Basic (Declaration)
Public Overridable Function Probabilities ( _
	x As Double() _
) As Double()
Visual C++
public:
virtual array<double>^ Probabilities(
	array<double>^ x
)

Parameters

x
Type: array< System..::.Double >[]()[]
A double array containing the network input pattern to classify. The length of x must equal the number of nodes in the input layer.

Return Value

The probability of x being in class C_1, followed by the probability of x being in class C_2.

Remarks

Calculates the two probabilities for the pattern supplied: P(C_1) and P(C_2). The probability that the pattern belongs to the first class, P(C_1), is estimated using the logistic function of the OutputPerceptron's potential. The probability for the second class is calculated as P(C_2) = 1 - P(C_1). The predicted classification is the class with the largest probability, i.e. greater than 0.5.

See Also