antoinecarme / pyaf

PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.
BSD 3-Clause "New" or "Revised" License
456 stars 73 forks source link

Release Process : Profiling and Warning Hunts #195

Closed antoinecarme closed 2 years ago

antoinecarme commented 2 years ago

Following https://github.com/antoinecarme/pyaf/issues/176 and https://github.com/antoinecarme/pyaf/issues/188 :

Need to run PyAF through a set of profiling tests, to detect possible slow-downs introduced in the latest code changes and new python versions. Use slowmode training (all models activated) as a test.

Warning hunts are also needed (pandas and numpy new versions API changes).

Target Release : 2022-07-14

antoinecarme commented 2 years ago

Warnings report :


~/dev/python/packages/timeseries/pyaf$ ls logs/*.log | wc -l
192

~/dev/python/packages/timeseries/pyaf$ grep Warning logs/*.log | cut -f 2- -d ' ' | sort | uniq -c
      2 DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
      2 DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. 
      3 FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
      4 FutureWarning: The series.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
     48 RuntimeWarning: divide by zero encountered in true_divide
     21 RuntimeWarning: invalid value encountered in double_scalars
     36 RuntimeWarning: invalid value encountered in true_divide
      7 UserWarning: Attempting to set identical left == right == 0.0 results in singular transformations; automatically expanding.
      7 UserWarning: Attempting to set identical left == right == 1.0 results in singular transformations; automatically expanding.
      7 UserWarning: Attempting to set identical left == right == 4.0 results in singular transformations; automatically expanding.
antoinecarme commented 2 years ago

FIXED