Interface for correlation or variance-covariance matrix computation algorithms in the distributed processing mode on master node.
More...
template<>
class daal::algorithms::covariance::interface1::DistributedIface< step2Master >
- Template Parameters
-
step | Step of distributed processing, ComputeStep |
algorithmFPType | Data type to use in intermediate computations of the correlation or variance-covariance matrix, double or float |
method | Computation method, daal::algorithms::covariance::Method |
- Enumerations
- Method Computation methods for correlation or variance-covariance matrix
- InputId Identifiers of input objects for the correlation or variance-covariance matrix algorithm
- MasterInputId Identifiers of input objects for the correlation or variance-covariance matrix algorithm on master node
- PartialResultId Identifiers of partial results for the correlation or variance-covariance matrix algorithm
- ResultId Identifiers of final results of the correlation or variance-covariance matrix algorithm
- References
-
Constructs an algorithm for correlation or variance-covariance matrix computation in the distributed processing mode on master node by copying input objects and parameters of another algorithm for correlation or variance-covariance matrix computation
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
services::Status checkFinalizeComputeParams |
( |
| ) |
|
|
inline |
Validates parameters of the finalizeCompute() method
Returns a pointer to the newly allocated algorithm for correlation or variance-covariance matrix computation in the distributed processing mode on master node with a copy of input objects and parameters of this algorithm for correlation or variance-covariance matrix computation
- Returns
- Pointer to the newly allocated algorithm
PartialResultPtr getPartialResult |
( |
| ) |
|
|
inline |
Returns the structure that contains computed partial results of the correlation or variance-covariance matrix algorithm
- Returns
- Structure that contains partial results
Returns the structure that contains final results of the correlation or variance-covariance matrix algorithm
- Returns
- Structure that contains final results
virtual services::Status setPartialResult |
( |
const PartialResultPtr & |
partialResult, |
|
|
bool |
initFlag = false |
|
) |
| |
|
inlinevirtual |
Registers user-allocated memory to store partial results of the correlation or variance-covariance matrix algorithm
- Parameters
-
[in] | partialResult | Structure to store partial results |
[in] | initFlag | Flag that specifies whether the partial results are initialized |
virtual services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inlinevirtual |
Registers user-allocated memory to store final results of the correlation or variance-covariance matrix algorithm
- Parameters
-
[in] | result | Structure to store the results |
Parameters of the algorithm
The documentation for this class was generated from the following file: