cesium-ml / cesium

Machine Learning Time-Series Platform
Other
671 stars 101 forks source link

Add Anderson-Darling and Shapiro-Wilk statistics #320

Closed bfhealy closed 1 year ago

bfhealy commented 1 year ago

This PR adds new general features for the Anderson-Darling and Shapiro-Wilk test statistics. The new code uses the anderson and shapiro functions from scipy.stats to compute these features, which have been found to be useful for machine learning algorithms in ZTF SCoPe.

bfhealy commented 1 year ago

make test is passing locally - will continue to investigate what's failing on GH Actions.

edit: tests passing now, looks like it was a pandas 2.0 issue

profjsb commented 1 year ago

Thanks for the contribution, @bfhealy!