Skip to content

Releases: Epistates/taguchi

taguchi v0.2.0

17 Jan 19:07

Choose a tag to compare

[0.2.0] - 2025-01-17

Added

DOE Analysis Module (doe feature)

Complete Taguchi DOE analysis functionality for experimental data:

  • Main Effects Analysis: Calculate level means, effects, ranges, and factor rankings
  • Signal-to-Noise Ratios: Support for all three optimization types:
    • Larger-is-better: S/N = -10 * log10(mean(1/y^2))
    • Smaller-is-better: S/N = -10 * log10(mean(y^2))
    • Nominal-is-best: S/N = 10 * log10(mean^2/variance)
  • ANOVA with Factor Pooling:
    • Sum of squares, degrees of freedom, mean squares
    • F-ratios and p-values using regularized incomplete beta function
    • Configurable pooling threshold with minimum unpooled factors constraint
    • Contribution percentages
  • Optimal Settings Prediction:
    • Uses correct additive model for predictions
    • Confidence intervals with proper effective sample size calculation
    • Support for 90%, 95%, and 99% confidence levels
  • Statistical Utilities:
    • ln_gamma() - Lanczos approximation
    • regularized_incomplete_beta() - Continued fraction expansion
    • f_distribution_p_value() - F-distribution CDF
    • t_value() - Complete lookup tables for common confidence levels

Parallel Construction (parallel feature)

High-performance parallel row generation using rayon:

  • ParBose - Parallel Bose construction
  • ParBush - Parallel Bush construction
  • ParAddelmanKempthorne - Parallel Addelman-Kempthorne construction
  • ParHadamardSylvester - Parallel Hadamard-Sylvester construction
  • par_build_oa() - Convenience function with automatic algorithm selection

Addelman-Kempthorne Construction

New construction algorithm for odd prime power levels:

  • Produces OA(2q^2, 2q+1, q, 2) for odd prime power q
  • Complements Bose-Bush (which handles powers of 2)
  • Uses quadratic non-residues for transformation constants
  • Integrated into builder auto-selection

Changed

  • Rust edition 2024: Updated to latest Rust edition (requires Rust 1.85+)
  • Updated full feature to include doe
  • Improved builder auto-selection to consider Addelman-Kempthorne for odd prime powers
  • Enhanced prelude exports with parallel and DOE types

Fixed

  • N/A (first feature release)

Documentation

  • Added comprehensive module documentation for all new features
  • Updated roadmap with completed milestones
  • Added DOE migration documentation

Full Changelog: https://github.com/Epistates/taguchi/commits/v0.2.0