25 #ifndef __PCA_TRANSFORM_TYPES_H__
26 #define __PCA_TRANSFORM_TYPES_H__
28 #include "algorithms/algorithm.h"
29 #include "data_management/data/numeric_table.h"
30 #include "data_management/data/homogen_numeric_table.h"
31 #include "services/daal_defines.h"
66 lastInputId = eigenvectors
73 enum TransformComponentId
76 variance = 0x00000002ULL,
77 eigenvalue = 0x00000004ULL
84 enum TransformDataInputId
86 dataForTransform = lastInputId + 1,
87 lastdataForTransformInputId = dataForTransform
97 lastResultId = transformedData
111 class DAAL_EXPORT Input :
public daal::algorithms::Input
118 Input(
const Input& other);
128 data_management::NumericTablePtr
get(InputId id)
const;
135 data_management::KeyValueDataCollectionPtr
get(TransformDataInputId id)
const;
143 data_management::NumericTablePtr
get(TransformDataInputId wid, TransformComponentId id)
const;
150 void set(InputId
id,
const data_management::NumericTablePtr &value);
157 void set(TransformDataInputId
id,
const data_management::KeyValueDataCollectionPtr &value);
165 void set(TransformDataInputId wid, TransformComponentId
id,
const data_management::NumericTablePtr &value);
172 virtual services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
182 class DAAL_EXPORT Result :
public daal::algorithms::Result
185 DECLARE_SERIALIZABLE_CAST(Result);
196 data_management::NumericTablePtr
get(ResultId id)
const;
204 template <
typename algorithmFPType>
205 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
213 void set(ResultId
id,
const data_management::NumericTablePtr &value);
221 virtual services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
224 typedef services::SharedPtr<daal::algorithms::pca::transform::interface1::Result> ResultPtr;
230 struct DAAL_EXPORT Parameter :
public daal::algorithms::Parameter
236 Parameter(
size_t nComponents = 0);
246 using interface1::Input;
247 using interface1::Result;
248 using interface1::ResultPtr;
249 using interface1::Parameter;
daal::algorithms::pca::transform::transformedData
Definition: pca_transform_types.h:96
daal::algorithms::pca::transform::variance
Definition: pca_transform_types.h:76
daal::algorithms::pca::transform::InputId
InputId
Definition: pca_transform_types.h:62
daal::algorithms::pca::transform::interface1::Input::~Input
virtual ~Input()
Definition: pca_transform_types.h:121
daal::algorithms::pca::transform::interface1::Parameter::nComponents
size_t nComponents
Definition: pca_transform_types.h:241
daal::algorithms::pca::transform::defaultDense
Definition: pca_transform_types.h:55
daal::algorithms::pca::transform::TransformComponentId
TransformComponentId
Definition: pca_transform_types.h:73
daal::algorithms::pca::transform::dataForTransform
Definition: pca_transform_types.h:86
daal::algorithms::pca::transform::Method
Method
Definition: pca_transform_types.h:53
daal::algorithms::pca::transform::data
Definition: pca_transform_types.h:64
daal::algorithms::pca::transform::mean
Definition: pca_transform_types.h:75
daal::algorithms::pca::transform::ResultId
ResultId
Definition: pca_transform_types.h:94
daal::algorithms::pca::transform::interface1::Input
Input objects for the PCA transformation algorithm in the batch and online processing modes and for t...
Definition: pca_transform_types.h:111
daal::algorithms::pca::transform::interface1::Result
Provides methods to access final results obtained with the compute() method of the PCA transformation...
Definition: pca_transform_types.h:182
daal::algorithms::pca::transform::eigenvectors
Definition: pca_transform_types.h:65
daal::algorithms::pca::transform::interface1::Result::~Result
virtual ~Result()
Definition: pca_transform_types.h:189
daal::algorithms::pca::transform::eigenvalue
Definition: pca_transform_types.h:77
daal::algorithms::pca::transform::TransformDataInputId
TransformDataInputId
Definition: pca_transform_types.h:84
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::pca::transform::interface1::Parameter
Parameters for the PCA transformation compute method.
Definition: pca_transform_types.h:230