Add a new sample to this summarizer, and update the statistical summary.
Add a new sample to this summarizer, and update the statistical summary.
The sample in dense/sparse vector format to be added into this summarizer.
This MultivariateOnlineSummarizer object.
Sample size.
Sample size.
Maximum value of each dimension.
Maximum value of each dimension.
Sample mean of each dimension.
Sample mean of each dimension.
Merge another MultivariateOnlineSummarizer, and update the statistical summary.
Merge another MultivariateOnlineSummarizer, and update the statistical summary.
(Note that it's in place merging; as a result, this
object will be modified.)
The other MultivariateOnlineSummarizer to be merged.
This MultivariateOnlineSummarizer object.
Minimum value of each dimension.
Minimum value of each dimension.
L1 norm of each dimension.
L1 norm of each dimension.
L2 (Euclidian) norm of each dimension.
L2 (Euclidian) norm of each dimension.
Number of nonzero elements in each dimension.
Number of nonzero elements in each dimension.
Sample variance of each dimension.
Sample variance of each dimension.
:: DeveloperApi :: MultivariateOnlineSummarizer implements MultivariateStatisticalSummary to compute the mean, variance, minimum, maximum, counts, and nonzero counts for samples in sparse or dense vector format in a online fashion.
Two MultivariateOnlineSummarizer can be merged together to have a statistical summary of the corresponding joint dataset.
A numerically stable algorithm is implemented to compute sample mean and variance: Reference: variance-wiki Zero elements (including explicit zero values) are skipped when calling add(), to have time complexity O(nnz) instead of O(n) for each column.