'Declaration
Public MustOverride Function Classify( _ ByVal data As System.Collections.Generic.IList(Of Double), _ ByVal classCount As System.Integer _ ) As System.Double()
'Usage
Dim instance As NDataGrouping Dim data As System.Collections.Generic.IList(Of Double) Dim classCount As System.Integer Dim value() As System.Double value = instance.Classify(data, classCount)
public abstract System.double[] Classify( System.Collections.Generic.IList<double> data, System.int classCount )
Parameters
- data
- The data points to classify.
- classCount
- The number of classes desired.
Return Value
An array of doubles representing the data ranges. For example an array {0, 12, 32.1} means that there are 3 data ranges: [0, 12), [12, 32.1) and [32.1, Infinity).