Returns a table of standard deviations for each continuous attribute in
continuousData segmented by the target classes in
classificationData.
Namespace:
Imsl.DataMining
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public double[][] GetStandardDeviations( double[][] continuousData, int[] classificationData ) |
Visual Basic (Declaration) |
---|
Public Function GetStandardDeviations ( _ continuousData As Double()(), _ classificationData As Integer() _ ) As Double()() |
Visual C++ |
---|
public: array<array<double>^>^ GetStandardDeviations( array<array<double>^>^ continuousData, array<int>^ classificationData ) |
Parameters
- continuousData
- Type: array<
array<
System..::.Double
>[]()[]
>[]()[]
A double matrix containing training values for the continuous attributes.
- classificationData
- Type: array<
System..::.Int32
>[]()[]
An int array containing the target classifications for the training patterns.
Return Value
A continuousData[0].Length by nClassesdouble matrix, stdev, containing the standard deviations segmented by the target classes. The i-th row contains the standard deviation of the i-th continuous attribute for each value of the target classification. That is, stdev[i][j] is the standard deviations for the i-th continuous attribute when the target classification equals j, unless there are no training patterns for this condition.
Remarks
This method is provided as a utility, prior training is not necessary.