49 #ifndef __PCA_TRANSFORM_TYPES_H__ 50 #define __PCA_TRANSFORM_TYPES_H__ 52 #include "algorithms/algorithm.h" 53 #include "data_management/data/numeric_table.h" 54 #include "data_management/data/homogen_numeric_table.h" 55 #include "services/daal_defines.h" 90 lastInputId = eigenvectors
97 enum TransformComponentId
100 variance = 0x00000002ULL,
101 eigenvalue = 0x00000004ULL
108 enum TransformDataInputId
110 dataForTransform = lastInputId + 1,
111 lastdataForTransformInputId = dataForTransform
121 lastResultId = transformedData
135 class DAAL_EXPORT Input :
public daal::algorithms::Input
142 Input(
const Input& other);
152 data_management::NumericTablePtr
get(InputId id)
const;
159 data_management::KeyValueDataCollectionPtr
get(TransformDataInputId id)
const;
167 data_management::NumericTablePtr
get(TransformDataInputId wid, TransformComponentId id)
const;
174 void set(InputId id,
const data_management::NumericTablePtr &value);
181 void set(TransformDataInputId id,
const data_management::KeyValueDataCollectionPtr &value);
189 void set(TransformDataInputId wid, TransformComponentId id,
const data_management::NumericTablePtr &value);
196 virtual services::Status check(
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
206 class DAAL_EXPORT Result :
public daal::algorithms::Result
209 DECLARE_SERIALIZABLE_CAST(Result);
220 data_management::NumericTablePtr
get(ResultId id)
const;
228 template <
typename algorithmFPType>
229 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
const int method);
237 void set(ResultId id,
const data_management::NumericTablePtr &value);
245 virtual services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
248 typedef services::SharedPtr<daal::algorithms::pca::transform::interface1::Result> ResultPtr;
254 struct DAAL_EXPORT Parameter :
public daal::algorithms::Parameter
260 Parameter(
size_t nComponents = 0);
270 using interface1::Input;
271 using interface1::Result;
272 using interface1::ResultPtr;
273 using interface1::Parameter;
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::interface1::Result
Base class to represent final results of the computation. Algorithm-specific final results are repres...
Definition: algorithm_types.h:331
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::math::abs::value
Definition: abs_types.h:112