There is a newer version of the record available.

Published April 22, 2024 | Version v1.0.3
Software Open

DynamicsAndNeuralSystems/pyspi: PySPI v1.0.3

  • 1. @DynamicsAndNeuralSystems
  • 2. University of Sydney

Description

SPI Reproducibility Fix

pyspi v1.0.3 is a patch update that addresses inconsistent results observed in several Information Theoretic and Convergent Cross-Mapping (CCM) SPIs when running multiple trials on the same benchmarking dataset.

Key Changes:

  • Upgraded JIDT dependency from v1.5 to v1.6.1. JIDT v1.6.1 includes a new NOISE_SEED property for all JIDT calculators, enabling consistent results across multiple runs. For more information, see here. Since JIDT is self-contained within the pyspi package, upgrading the JIDT version should not introduce any breaking changes for users who have already installed pyspi.
  • Added random seed support within pyspi for JIDT-based SPIs. All SPIs that rely on the JIDT library now utilise a fixed random seed to ensure reproducibility across runs.
  • Introduced random seed for Convergent Cross-Mapping (ccm) SPI. The ccm SPI now uses a fixed random seed, addressing the previously observed stochasticity in its outputs.

Important Note to Users: The addition of fixed random seeds for the affected SPIs may result in slightly different output values compared to previous versions of pyspi. This change is due to the improved consistency and reproducibility of the SPI outputs. Please keep this in mind if making exact numerical comparisons with previous versions of pyspi.

Affected SPIs: The following SPIs, which previously produced varying outputs across multiple trials, should now yield consistent results:

  • ccm (all 9 estimators)
  • cce_kozachenko
  • ce_kozachenko
  • di_kozachenko
  • je_kozachenko
  • si_kozachenko_k-1

Files

DynamicsAndNeuralSystems/pyspi-v1.0.3.zip

Files (944.3 kB)

Name Size Download all
md5:6f4d84f421bdd2fccdbb444cc64a5c63
944.3 kB Preview Download

Additional details

Related works