Nevron Open Vision Documentation
Nevron.Nov.Diagram.Import.Map Namespace / NDataGroupingEqualInterval Class / Classify Method
The data points to classify sorted in ascending order.
The number of classes desired.


In This Topic
    Classify Method (NDataGroupingEqualInterval)
    In This Topic
    Creates the specified number of data ranges (classes) for the given set of data points (distinct values).
    Syntax
    'Declaration
     
    
    Public Overrides Function Classify( _
       ByVal data As INList(Of Double), _
       ByVal classCount As System.Integer _
    ) As System.Double()
    'Usage
     
    
    Dim instance As NDataGroupingEqualInterval
    Dim data As INList(Of Double)
    Dim classCount As System.Integer
    Dim value() As System.Double
     
    value = instance.Classify(data, classCount)
    public override System.double[] Classify( 
       INList<double> data,
       System.int classCount
    )

    Parameters

    data
    The data points to classify sorted in ascending order.
    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).
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also