I noticed compare() doesn't assert the numerics, it just issues a warning. All tests currently pass with the change to assert, so I assume it's OK to submit a PR that would make them assert? It would be helpful to have this in place when changing the repo for #15.
I noticed #15 was causing issues with x having multiple time series (e.g. x.shape==(2,100)), so also added some tests. ~Some existing methods fail on either the median or residual tests even when they pass on the individual series.~
EDIT: Solved, it was for very aperiodic tests and spectral derivatives.
That brings up another question: Is there a reason to test median and standard deviation of the residual, instead of inf norm, MAE, MSE?
EDIT: Okay, ran a lot of tests and median seems better than 1-norm/MAE for variable numbers of timepoints.
I noticed
compare()
doesn't assert the numerics, it just issues a warning. All tests currently pass with the change to assert, so I assume it's OK to submit a PR that would make them assert? It would be helpful to have this in place when changing the repo for #15.I noticed #15 was causing issues with
x
having multiple time series (e.g.x.shape==(2,100)
), so also added some tests. ~Some existing methods fail on either the median or residual tests even when they pass on the individual series.~ EDIT: Solved, it was for very aperiodic tests and spectral derivatives.That brings up another question: Is there a reason to test median and standard deviation of the residual, instead of inf norm, MAE, MSE?
EDIT: Okay, ran a lot of tests and median seems better than 1-norm/MAE for variable numbers of timepoints.