Developer Guide and Reference

  • 2021.2
  • 03/26/2021
  • Public Content
Contents

Quantile

Quantile is an algorithm to analyze the distribution of observations. Quantiles are the values that divide the distribution so that a given portion of observations is below the quantile.

Details

Given a set
X
of
p
features LaTex Math image. and the quantile orders LaTex Math image., the problem is to compute LaTex Math image. that meets the following conditions:
LaTex Math image.
LaTex Math image.
In the equations above:
  • LaTex Math image. are observations of a random variable LaTex Math image. that represents the
    i
    -th feature
  • P
    is the probability measure
  • i = 1, ldots, p
  • k = 1, ldots, m

Batch Processing

Algorithm Input
The quantile 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 LaTex Math image. numeric table that contains the input data set. This table can be an object of any class derived from
NumericTable
.
Algorithm Parameters
The quantile algorithm has the following parameters:
Parameter
Default Value
Description
algorithmFPType
float
The floating-point type that the algorithm uses for intermediate computations. Can be
float
or
double
.
method
defaultDense
Performance-oriented computation method, the only method supported by the algorithm.
quantileOrders
0.5
The LaTex Math image. numeric table with quantile orders.
Algorithm Output
The quantile algorithm 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
quantiles
Pointer to the LaTex Math image. numeric table with the quantiles.
By default, this result is an object of the
HomogenNumericTable
class, but you can define the result as an object of any class derived from
NumericTable
except
PackedSymmetricMatrix
,
PackedTriangularMatrix
, and
CSRNumericTable
.

Examples

C++ (CPU)
Batch Processing:
Java*
There is no support for Java on GPU.
Batch Processing:
Python*
Batch Processing:

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.