Expand description
Expanded parallel processing for statistical computations
This module provides parallelized implementations of:
- Descriptive statistics (Welford’s algorithm, parallel quantiles, histograms)
- Hypothesis testing (permutation tests, bootstrap, cross-validation)
- Distribution fitting (parallel MLE, grid search)
All parallel code is feature-gated behind cfg(feature = "parallel") (which scirs2-core
enables via scirs2-core/parallel = ["rayon"]).
Structs§
- Cross
Validation Result - Result of parallel cross-validation.
- Grid
Search Result - Result of a parallel parameter grid search.
- Parallel
Bootstrap Result - Result of a parallel bootstrap procedure.
- Parallel
Histogram Result - Result of a parallel histogram computation.
- ParallelMLE
Result - Result of parallel maximum-likelihood estimation.
- Permutation
Test Result - Result of a permutation test.
- Welford
Accumulator - Mergeable accumulator for mean, variance, skewness, kurtosis via Welford’s method.
Functions§
- parallel_
bootstrap - Run a parallel bootstrap procedure.
- parallel_
cross_ validation - Run parallel k-fold cross-validation.
- parallel_
grid_ search - Parallel grid search over distribution parameters to maximize log-likelihood.
- parallel_
histogram - Compute a histogram in parallel.
- parallel_
median - Compute the median in parallel.
- parallel_
mle_ fit - Fit multiple distributions in parallel and return the best by AIC.
- parallel_
moments - Compute mean, variance, skewness, and kurtosis in parallel via Welford’s method.
- parallel_
permutation_ test - Parallel permutation test for the difference in means between two groups.
- parallel_
quantile - Compute a single quantile using parallel sort.
- parallel_
welford_ kurtosis - Compute excess kurtosis in parallel.
- parallel_
welford_ mean - Compute mean in parallel via Welford’s online algorithm.
- parallel_
welford_ skewness - Compute skewness in parallel.
- parallel_
welford_ variance - Compute variance in parallel via Welford’s online algorithm.