pub fn calculate_approximate_entropy<F>(
ts: &Array1<F>,
m: usize,
r: F,
) -> Result<F>Expand description
Calculate approximate entropy
Approximate entropy (ApEn) measures the regularity and complexity of time series data. It quantifies the likelihood that patterns of observations that are close remain close for incremented template lengths.
§Arguments
ts- Input time seriesm- Pattern length (typically 2)r- Tolerance for matching patterns (typically 0.1 * std_dev)
§Returns
Approximate entropy value (higher values indicate more irregularity)