alkaline-ml / pmdarima

A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function.
https://www.alkaline-ml.com/pmdarima
MIT License
1.57k stars 231 forks source link

[MRG+1] Add 'concurrency' block to GHA and fix build warnings #496

Closed aaronreidsmith closed 2 years ago

aaronreidsmith commented 2 years ago

Description

This PR makes it so if we push a commit to the same branch, it will cancel previous builds on GHA, saving us some cycles.

It also fixes a couple warnings in the build:

Type of change

How Has This Been Tested?

Checklist:

N/A

aaronreidsmith commented 2 years ago

Only remaining warnings are these, which I think is fine? They are on our side at least, and I think we are intentionally creating those warnings. Could be wrong

=============================== warnings summary ===============================
tests/test_pipeline.py::test_pipeline_predict_inverse_transform[True-True-X0-pipeline5]
tests/test_pipeline.py::test_pipeline_predict_inverse_transform[True-True-X1-pipeline5]
  /Users/runner/hostedtoolcache/Python/3.7.12/x[64](https://github.com/alkaline-ml/pmdarima/runs/6054174506?check_suite_focus=true#step:11:64)/lib/python3.7/site-packages/pmdarima/preprocessing/endog/boxcox.py:161: RuntimeWarning: overflow encountered in exp
    return np.exp(y) - lam2, exog

tests/test_pipeline.py::test_pipeline_predict_inverse_transform[True-True-X0-pipeline6]
tests/test_pipeline.py::test_pipeline_predict_inverse_transform[True-True-X1-pipeline6]
  /Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pmdarima/preprocessing/endog/boxcox.py:165: RuntimeWarning: invalid value encountered in power
    de_exp = numer ** (1. / lam1)  # de-exponentiate