CreateReduction

API Definition

IReduction *CreateReduction(std::string typeName, ReductionConfig &config)

Function

Creates a specific dimension reduction algorithm.

Input

std::string typeName: dimension reduction algorithm parameter, which can be NN or PCAR.

Reduction &config: dimension reduction parameter.

Output

IReduction *CreateReduction: created dimension reduction instance.

Return Value

N/A

Restrictions

Currently, only NN and PCAR are supported for dimension reduction. If other parameters are used, an exception is thrown.