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

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