Nima Sarajpoor
Nima Sarajpoor
See #708. This PR should address #708 (and #1011) Each main checkbox below has at least one indented checkbox. The main checkbox represents a callee function with `fastmath=True` and an...
The function `core.mass(Q, T, ...)` calls `core.preprocess(T, m, ...)`, which return the following values: * T * M_T * Σ_T * T_subseq_isconstant We then pass these values to `core._mass`. However,...
See #1006 This PR addresses part1, 2, and 3 as discussed here: https://github.com/TDAmeritrade/stumpy/issues/1006#issuecomment-2229551395
Running the following script ``` import numpy as np import stumpy import time def test_extract_several_consensus(): Ts = [np.random.rand(n) for n in [64, 128]] Ts_ref = [T.copy() for T in Ts]...
I think we can replace https://github.com/TDAmeritrade/stumpy/blob/423c679fdfcdd547744d2b9a2aed7565124fd6e1/stumpy/mpdist.py#L100-L106 with ``` P_ABBA = np.empty(2 * j, dtype=np.float64) if k is None: percentage = np.clip(percentage, 0.0, 1.0) k = math.ceil(percentage * (2 * Q.shape[0]))...
See issue #1061
With `python=3.10.11`, `numpy=2.0.2`, `numba=0.60.0` and `llvm=0.43.0`, the test function `test_mpdist_snippets_s_with_isconstant` fails for the following input: ``` seed = 1615 np.random.seed(seed) T = np.random.uniform(-1000.0, 1000.0, [64]) m = 10 s =...