Contents

# Batch Processing

## Algorithm Input

The PCA Transform 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
Use when the input data is a normalized or non-normalized data set. Pointer to the
n
x
p
numeric table that contains the input data set. This input can be an object of any class derived from
NumericTable
.
eigenvectors
Principal components computed using the PCA algorithm. Pointer to the
p
r
x
p
numeric table (
p
r
p
). You can define it as an object of any class derived from
NumericTable
, except for
PackedSymmetricMatrix
,
PackedTriangularMatrix
, and
CSRNumericTable
.
dataForTransform
Optional. Pointer to the key value-data collection containing the following data for PCA. The collection contains the following key-value pairs:
mean
means
variance
variances
eigenvalue
eigenvalues
If you do not provide the collection, the library will not apply the corresponding centering, normalization or whitening operation. If one of the numeric tables in collection is NULL the corresponding operation will not be applied: centering for means, normalization for variances, whitening for eigenvalues. If mean or variance tables exist, it should be pointer to the 1×p numeric table. If eigenvalue table is not NULL, it is the pointer to (1×nColumns) numeric table, where the number of the columns is greater than or equal to nComponents.

## Algorithm Parameters

The PCA Transform algorithm has the following parameters:
Parameter
method
Default Value
Description
algorithmFPType
defaultDense
or
svdDense
float
The floating-point type that the algorithm uses for intermediate computations. Can be
float
or
double
.
nComponents
defaultDense
0
Number of principal components (
p
r
p
). If it is zero, the algorithm will compute the result for
nComponents
=
p
r
.

## Algorithm Output

The PCA Transform algorithm calculates the results described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm.
Result ID
Result
transformedData
Pointer to the
n
x
p
r
numeric table that contains data projected to the proncipal components basis. 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

#### 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