Developer Guide for Intel® Data Analytics Acceleration Library 2016 Update 4

Batch Processing

Algorithm Input

The sorting algorithm accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.

Input ID

Input

data

Pointer to the n x p numeric table that contains the input data set. This table can be an object of any class derived from NumericTable except PackedSymmetricMatrix, PackedTriangularMatrix, and CSRNumericTable.

Algorithm Parameters

The sorting algorithm has the following parameters:

Parameter

Default Value

Description

algorithmFPType

double

The floating-point type that the algorithm uses for intermediate computations. Can be float or double.

method

defaultDense

The radix method for sorting a data set, the only method supported by the algorithm.

Algorithm Output

The sorting algorithm function calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.

Result ID

Result

sortedData

Pointer to the n x p numeric table that stores the results of sorting.

Note

If the number of feature vectors is greater than or equal to 231, the library uses the quick sort method instead of radix sort.

Examples

C++: sorting_batch.cpp

Java*: SortingBatch.java