Developer Guide

Contents

Batch Processing

Algorithm Input

The Quality Metrics for PCA 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
eigenvalues
p
eigenvalues (explained variances), numeric table of size 1 x
p
. You can define it as an object of any class derived from
NumericTable
except
PackedSymmetricMatrix
,
PackedTriangularMatrix
, and
CSRNumericTable
.

Algorithm Parameters

The quality metric 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
.
nComponents
0
Number of principal components
p
r
p
to compute metrics for. If it is zero, the algorithm will compute the result for
p
.
nFeatures
0
Number of features in the data set used as input in PCA algorithm. If it is zero, the algorithm will compute the result for
p
. Note: if
nFeatures
p
, the algorithm will return non-relevant results.

Algorithm Output

The quality metric for PCA algorithm calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm.
Result ID
Result
explainedVariances
Pointer to the 1 x
p
r
numeric table that contains a reduced eigenvalues array.
explainedVariancesRatios
Pointer to the 1 x
p
r
numeric table that contains an array of reduced explained variances ratios.
noiseVariance
Pointer to the 1 x 1 numeric table that contains noise variance.
By default, each numeric table specified by the collection elements is an object of the
HomogenNumericTable
class, but you can define the result as an object of any class derived from
NumericTable
, except for
PackedSymmetricMatrix
,
PackedTriangularMatrix
, and
CSRNumericTable
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804