Computes moments of low order in the online processing mode.
More...
- Parameters
-
| method | Computation method for the low order moments algorithm, daal.algorithms.low_order_moments.Method |
| fptype | Data type to use in intermediate computations of low order moments, double or float |
- Enumerations
- Method Computation methods for the low order moments algorithm
- InputId Identifiers of input objects for the low order moments algorithm
- PartialResultId Identifiers of partial result of the low order moments algorithm
- ResultId Identifiers of the results of the low order moments algorithm
- Aliases
Online_Float64DefaultDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.defaultDense)
Online_Float64SinglePassDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.singlePassDense)
Online_Float64SumDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.sumDense)
Online_Float64FastCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.fastCSR)
Online_Float64SinglePassCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.singlePassCSR)
Online_Float64SumCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.sumCSR)
Online_Float32DefaultDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.defaultDense)
Online_Float32SinglePassDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.singlePassDense)
Online_Float32SumDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.sumDense)
Online_Float32FastCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.fastCSR)
Online_Float32SinglePassCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.singlePassCSR)
Online_Float32SumCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.sumCSR)
| def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Default constructor
- Variant 2
Constructs and algorithm that computes moments of low order by copying input objects and parameters of another algorithm that computes moments of low order
- Parameters
-
| other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Returns a pointer to the newly allocated algorithm that computes moments of low order with a copy of input objects of this algorithm
- Returns
- Pointer to the newly allocated algorithm
Invokes computations and returns partial result
| def finalizeCompute |
( |
|
self | ) |
|
Finalizes computations and returns (final) result
Returns method of the algorithm
- Returns
- Method of the algorithm
| def getPartialResult |
( |
|
self | ) |
|
Returns the structure that contains partial results of the low order moments algorithm
- Returns
- Structure that contains partial results
Returns the structure that contains the results of the low order moments algorithm
- Returns
- Structure that contains the results
| def setPartialResult |
( |
|
self, |
|
|
|
partialResult, |
|
|
|
initFlag = False |
|
) |
| |
- Variant 1
Registers user-allocated memory to store partial results of the low order momemnts algorithm
- Parameters
-
| partialResult | Structure for storing partial results of the low order moments algorithm |
| initFlag | Flag that specifies whether the partial results are initialized |
- Variant 2
Registers user-allocated memory to store partial results of the low order momemnts algorithm
- Parameters
-
| partialResult | Structure for storing partial results of the low order moments algorithm |
| initFlag | Flag that specifies whether the partial results are initialized |
| def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store final results of the low order moments algorithm
- Parameters
-
| result | Structure for storing the results of the low order moments algorithm |
The documentation for this class was generated from the following file: