https://github.com/unit8co/darts

sort by:
Revision Author Date Message Commit Date
b30206f Merge branch 'master' into fix/ensemble-historical-forecasts 10 April 2023, 15:57:46 UTC
d58b1b1 make RegressionEnsembleModel work 10 April 2023, 14:58:09 UTC
8411bed Merge branch 'master' into fix/ensemble-historical-forecasts 10 April 2023, 13:31:10 UTC
ebb9eb6 Fix/historical_forecasts callable retrain argument (#1675) * fix: better support for the Callable retrain argument in historical_forecast * fix: remove unused util function * fix: adding tests to cover historical forecast without lags but fut cov, and lags + fut cot + output_chunck_length > 3 * fix: updating the local model tests to run with the new constraints on the retrain argument of historical_forecasts * Apply suggestions from code review Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * fix: addressing review comments * feat: testing retrain_func returning str and int * feat: adding utils method to get lags in the past only * fix: properly computing the timestamp shift for prediction, better support of situation where training is impossible, updated documentation about the start argument of historical_forecasts, create dummy support ts when using only future covariate (first timestamp of the input series is predictable) * feat: added unittest checking the start and end of historical_forecasts outputs for both retrain=True and retrain=False * feat: adressing review comments, better handling of the potential shift between the predictable and trainable timestamps, more detailed error messages * better handling of the TORCH_AVAILABLE variable (previously, env without torch were not running any historical_forecasts tests) * fix: better granularity in the unittests error catching * add some comments to hist forecasts test for interpretability * minor refactoring * refactor start handling in historical forecasts * fix residuals for models that do not require a minimum of two traning samples * fix an issue with new logic of retrain false at beginning * fix expected forecasting lengths for TFMs which require only 1 train sample * move from start error to warning * handle train length better * update documentation of hist fc, backtest, and gridsearch * revert to old sanity checks for start * improve start santiy check handling and error messages * fix small condition type in unit tests * move regression models out of flavor check in unit tests * make warnings default and use default start if outside of hist fc index * move start reset in historical forecasting --------- Co-authored-by: dennisbader <dennis.bader@gmx.ch> 10 April 2023, 13:29:52 UTC
e4908f7 [Feature] Support a user defined function name in the window transformation output (#1676) * Support user-defined name in window transformation * Update doc string * Add tests * Review: Test respects the built-in function name --------- Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 07 April 2023, 17:45:48 UTC
0307356 [DOC] Improve the explanation on the window parameter (offset) of WindowTransformer (#1666) * Improve doc string to clarify the data type of offset expected by the window parameter of WindowTransformer Add remark to window_transformer file * Add test case to demonstrate the transform behaviors, considering different formats for the parameter window * Review: simply use self.assertRaises * Fix failed test --------- Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 07 April 2023, 17:45:20 UTC
87b2b69 fixes sklearn Parallel issue for sklearn versions < 1.3 (#1697) 07 April 2023, 14:49:46 UTC
21c185d fixes lgb warning when not using any categorical features (#1681) * fixes lgb warning when not using any categorical features * fixes deprecation warning for sklearn Parallel delayed * fix failing unittest for categorical lgbm * Apply suggestions from code review Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> --------- Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 07 April 2023, 14:22:45 UTC
e4a6933 Fix/start value for historical_forecasts in examples (#1693) * Fixing the start value - Changing the start value in the text from 0.75 to 0.6 to match the code below. * fixing typo * Apply suggestions from code review --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 07 April 2023, 14:22:14 UTC
fcd12c2 [DOC] Improve the TFM user guide (#1661) * doc: reorganizing the TFM guide and extending the section about save/load as well as the callbacks * doc: adding command line instruction for tensorboard * doc: more detailed information about the NaNs in predictions * doc: creating a separate section for loading of weights, improved the table of content, added red crosses in covariate support tables * update tfm user guide * update tfm user guide * remove cloud storage section as it does not work --------- Co-authored-by: dennisbader <dennis.bader@gmx.ch> 07 April 2023, 13:33:07 UTC
200ebc6 fix extreme lags from other PR 07 April 2023, 10:31:11 UTC
c67ff16 Merge branch 'master' into fix/ensemble-historical-forecasts 05 April 2023, 13:19:51 UTC
69e83dc fix/historical_fore_fut_cov_notarget_lags (#1685) 02 April 2023, 17:10:46 UTC
0300d84 Merge branch 'master' into fix/ensemble-historical-forecasts 02 April 2023, 15:49:20 UTC
5479108 implementing changes for exposing Lightning Tuner's LR finder (#1609) * implementing changes for exposing Lightning Tuner's LR finder * decouple dataset/loader generation from training * improve decoupling * add unit test and docs * add plotting from unittest * remove lr_finder example * fix minor mistakes in docs * final updates for PR * Update darts/tests/models/forecasting/test_torch_forecasting_model.py Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> * fix Tuner import for PTL<2.0.0 --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 30 March 2023, 09:46:18 UTC
d84ca9a Merge branch 'master' into fix/ensemble-historical-forecasts 29 March 2023, 21:20:15 UTC
14cba78 Merge branch 'fix/ensemble-historical-forecasts' of https://github.com/JanFidor/darts into fix/ensemble-historical-forecasts 29 March 2023, 21:20:01 UTC
1a9e7ed add a test + use switch to tuple 29 March 2023, 21:19:58 UTC
bfbeb7c Fix/warning msg rnn (#1674) * warning * warning * adapt warning --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 29 March 2023, 15:23:04 UTC
ad944fc Fix/explain multimodel msg (#1673) * error msg + unittest add * corections * corrections * Update darts/explainability/shap_explainer.py Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * cleaning unittest shap_explainer --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 29 March 2023, 14:49:37 UTC
028ecc8 Merge branch 'master' into fix/ensemble-historical-forecasts 28 March 2023, 07:57:27 UTC
de94ef4 Functionality to let LightGBM effectively handle categorical features (#1585) * #1580 exploration * #1580 added cat_components to TimeSeries * #1580 _fit_model method LightGBM * #1580 included static covs in dummy unit test * #1580 integration with lgbm * #1580 helper func to method in RegressionModel * #1580 different approach; pass categorical covs to fit method of lgbm directly instead of attributes TimeSeries object * #1580 added few unit tests * #1580 small stuff * #1580 move categorical covs to model constructor * #1580 avoid code duplication in unit tests * #1580 add unit test on forecast quality with cat covs * #1580 add column names check in _get_categorical_covs helper * #1580 docstrings lgbm * #1580 add changelog entry * #1580 change check if ts has static cov * #1580 implemented RegressionModelWithCategoricalCovariates class * #1580 delete redundant test * #1580 replace test_quality_forecast_with_categorical_covariates unit test by suggestion Dennis * #1580 adjustment error messages validation method * #1580 adding categorical feature support for CatBoost * #1580 remove cat support CatBoost and smaller comments Dennis * #1580 finalizing * #1580 use parent _fit_model method * avoid creating lagged data twice * remove empty lines --------- Co-authored-by: Rijk van der Meulen <rijk.vandermeulen@eyeon.nl> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 28 March 2023, 07:55:32 UTC
28d3e2a Fix prediction component name and add assertion to test (#1602) Co-authored-by: David Kleindienst <kleindienst@ximes.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 27 March 2023, 07:53:05 UTC
ba07326 Refactor forecasting models (#1590) 26 March 2023, 19:06:23 UTC
e86bca3 Merge branch 'master' into fix/ensemble-historical-forecasts 26 March 2023, 18:55:29 UTC
847c0d6 change lag priorities 26 March 2023, 18:45:33 UTC
13b84c8 enfore multivariate series for VARIMA (#1657) 25 March 2023, 16:06:37 UTC
3a9c4c7 Merge branch 'master' into fix/ensemble-historical-forecasts 23 March 2023, 10:55:58 UTC
be21ed8 add already existing forecasts param (#1597) 22 March 2023, 11:41:43 UTC
e9ce199 avoid no checkpoint warning when loading from checkpoint (#1658) 21 March 2023, 19:54:08 UTC
537ffce fix/historical_forecasting_tft_futcov (#1652) * Correction in _get_historical_forecastable_time_index + unittests * Corrections unittests --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 21 March 2023, 10:56:17 UTC
1254ff6 Make type hint python 3.7 compatible (#1656) Co-authored-by: David Kleindienst <kleindienst@ximes.com> 21 March 2023, 08:27:56 UTC
bb5b769 Fix/Allow TimeSeries.with_hierarchy to accept strings as parents (#1584) * Convert hierarchy parents to list if string * Add comment Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * Avoid mutating original hierarchy dict Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * Test for equivalence of list&string hierarchy * Fix linting --------- Co-authored-by: David Kleindienst <kleindienst@ximes.com> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 20 March 2023, 19:17:12 UTC
afc2c3c fix failing test when lightning version <2.0.0 (#1654) 20 March 2023, 16:08:54 UTC
c56f9d1 Merge branch 'master' into fix/ensemble-historical-forecasts 20 March 2023, 10:05:19 UTC
8b2df75 Fix/ptl version 200 (#1651) 20 March 2023, 09:57:51 UTC
95f4d4f Reducing testing time (#1625) * Marking slow tests * Group torch tests --------- Co-authored-by: Blazej Nowicki <blazej.nowicki@unit8.co> 19 March 2023, 12:03:00 UTC
5cc2571 Merge branch 'master' into fix/ensemble-historical-forecasts 18 March 2023, 09:44:06 UTC
f7c292a Feature/add feature values to explainability result (#1546) * store feature values and shap.Explanation object in ExplainabilityResult * accounted for is_multioutputregressor * #1545 added entry to CHANGELOG.md * #1545 update docstrings for correctness API reference docs * #1580 create ShapExplainabilityResult subclass and remove decorator * #1580 adjust unit tests to have dedicated with statement per assert + other small stuff * #1580 change asserts in unit test from ExplainabilityResult to ShapExplainabilityResult * #1580 test get_feature_values() against raw output shap * #1580 adjust docstring * #1580 fixing small stuff * #1580 added one assert to unit test * #1545 implement _query_explainability_result() helper to avoid code duplication --------- Co-authored-by: Rijk van der Meulen <rijk.vandermeulen@eyeon.nl> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 12 March 2023, 17:37:24 UTC
301122e warn user if suspicion of wrong index in from_group_dataframe() (#1628) * warn user if suspicion of wrong index in TimeSeries.from_group_dataframe() * imroved warning message --------- Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 11 March 2023, 12:39:44 UTC
fdc5a31 fix failing example notebook from MovingAverage rename (#1637) * fix failing example notebook from MovingAverage rename * rename MovingAverage in README 09 March 2023, 10:38:42 UTC
3c585d4 remove cap from statsforecast requirement (#1633) 09 March 2023, 07:57:01 UTC
6e16594 Fix/literal import (#1630) * fix: import Literal from typing extension to maintain compatibility with python 3.7 * fix: import Literal in a more elegant way 08 March 2023, 08:39:18 UTC
a5d80c7 Merge branch 'master' into fix/ensemble-historical-forecasts 08 March 2023, 00:01:14 UTC
b07aaa8 Add quantile loss metric (#1559) * first implementation of quantile loss * add quantile loss to metrics ___init__ and tests * refactor * rename pinball loss to quantile loss * black * use reduction to aggregate losses and update docs * black + isort * rollback to simple mean instead of reduction param * change overlooked copy-paste comment * black enter * docs changes * flake8 --------- Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 07 March 2023, 22:22:03 UTC
92b74db Add NaiveMovingAverage baseline model (#1557) * implement NaiveMovingAverage model * rename Moving Average Filter * black * add NaiveMovingAverage to test local * delete debug print * black * isort * fix __init__.py file import * rename window param and delete unnecessary check * fix MA test param * add docs changes and deterministic assertion * use more readable assert syntax * add loger to raise_if_not Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> * black (again) --------- Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 07 March 2023, 20:27:44 UTC
8972d2e Refactor/data_transformers (#1409) * Refactored data transformers classes. * Fixed failing data transformer tests. * Fixed minor bug in `test_diff.py` - `~ bool_var` should be `not bool_var`. * Added missing `params` arg to pipeline test mock method. * Added automatic `component_mask`ing of inputs/outputs. * Added tests for data transformer classes. * Refactored data transformers classes. * Fixed failing data transformer tests. * Fixed minor bug in `test_diff.py` - `~ bool_var` should be `not bool_var`. * Added missing `params` arg to pipeline test mock method. * Added automatic `component_mask`ing of inputs/outputs. * Added tests for data transformer classes. * Fixed bug when fewer timeseries specified than training timeseries. * Updated tests to check for 'fewer inputs than training series' behaviour. * Added `global_fit` option to `FittableDataTransformer`. * Refactored `StaticCovariatesTransformer`. * Added `global_fit` option to `BoxCox` and `Scaler` transforms. * Removed `test_window_transformer_iterator` test, since `_transformer_iterator` method unused. * Removed redundant `_*_iterator` methods of data transformers. * Added more data transformer documentation + made `component_mask` argument explicit. * `copy=False` in `apply_component_mask`. * Removed documentation references to `_*_iterators`. * Specified `statsforecast>=1.4,<1.5` to avoid dependency conflict. --------- Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 07 March 2023, 14:51:42 UTC
e56faca Fix/hist forecast non retrain error (#1619) * raise an error in historical_forecasts() when retrain=False and model was not fit before * add unit tests for retrain values * black * fix failing tests * remove torch skip from test that is not required 07 March 2023, 10:00:22 UTC
7abb872 cap statsforecasts dependencies until fixed (#1620) 05 March 2023, 15:14:50 UTC
b92971a Merge branch 'fix/ensemble-historical-forecasts' of https://github.com/JanFidor/darts into fix/ensemble-historical-forecasts 04 March 2023, 16:17:24 UTC
eb92f9c delete logging print 04 March 2023, 16:17:05 UTC
743c6ae Merge branch 'master' into fix/ensemble-historical-forecasts 04 March 2023, 15:28:21 UTC
3c252d9 add required extreme_lags override 04 March 2023, 15:19:21 UTC
84973a3 add correct extreme_lags override and test 04 March 2023, 15:19:05 UTC
d2ba591 Fix/Make reconcilliation order independent (#1592) * unit test for component order independence * remove incorrect assumption from test * Fix get_projection_matrix * minor improvement --------- Co-authored-by: David Kleindienst <kleindienst@ximes.com> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 28 February 2023, 19:09:04 UTC
32ea9a1 add a docstring entry to diff transformer (#1591) Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 28 February 2023, 17:10:48 UTC
803d851 fix: replacing lambda with named function to make model pickable (#1594) * fix: replacing lambda with named function to make model pickable * fix: issue was also occurring with the exponential de-trending function * fix: adding typing * fix: linting --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 28 February 2023, 15:25:52 UTC
c80049b Upgrade isort to version 5.11.5 (#1578) 26 February 2023, 21:38:42 UTC
4110401 Feat/timeseries integer index (#1527) 26 February 2023, 19:46:05 UTC
d6a742b add note for fixing pruning callback issue (#1575) Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 26 February 2023, 09:26:36 UTC
f0ea7e5 Feat/improved training from ckpt (#1501) * feat: new function fit_from_checkpoint that load one chkpt from the mode, allows user to change the optimizer, scheduler or trainer and export the ckpt of this fine-tuned model into another folder. fine-tuning cannot be chained using this method (original model ckpt must be reloaded) * fix: improved the model saving to allow chaining of fine-tuning, better control over the logger, made the function static * feat: allow to save the checkpoint in the same folder (loaded checkpoint is likely to be overwritten if the model is trained with default parameters) * fix: ordered arguments in a more intuitive way * fix: saving model after updating all the parameters to facilitate the chain-fine tuning * feat: support for load_from_checkpoint kwargs, support for force_reset argument * feat: adding test for setup_finetuning * fix: fused the setup_finetuning and load_from_checkpoint methods, added dcostring, updated tests * fix: changed the API/approach, instead of trying to overwrite attributes of an existing model, rather load the weights into a new model (but not the other attributes such as the optimizer, trainer, ... * fix: convertion of hyper-parameters to list when checking compatibility between checkpoint and instantiated model * fix: skip the None attribute during the hp check * fix: removed unecessary attribute initialization * feat: pl_forecasting_module also save the train_sample in the checkpoints * fix: saving only shape instead of the sample itself * fix: restore the self.train_sample in TorchForecastingModel * fix: update fit_called attribute to enable inference without retraining * fix: the mock train_sample must be converted to tuple * fix: tweaked model parameters to improve convergence * fix: increased number of epochs to improve convergence/test stability * fix: addressing review comments; added load_weights method and corresponding tests, updated documentation * fix: changed default checkpoint path name for compatibility with Windows OS * feat: raise error if the checkpoint being loaded does not contain the train_sample_shape entry, to make the break more transparent to users * fix: saving model manually directly after laoding it from checkpoint will retrieve and copy the original .ckpt file to avoid unexpected behaviors * fix: use random_state to fix randomness in tests * fix: restore newlines * fix: casting dtype of PLModule before loading the weights * doc: model_name docstring and code were not consistent * doc: improve phrasing * Apply suggestions from code review Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * fix: removed warning in saving about trainer/ckpt not being found, warning will be raised in the load() call if no weights can be loaded * fix: uniformised filename convention using '_' to separate hours, minutes and seconds, updated doc accordingly * fix: removed typo * Update darts/models/forecasting/torch_forecasting_model.py Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * fix: more consistent use of the path argument during save and load --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> 21 February 2023, 14:38:57 UTC
955e2b5 Fixing logging and errors blocking multi GPU trianing of Torch models (#1509) * added fix for multi GPU as per https://pytorch-lightning.readthedocs.io/en/stable/extensions/logging.html#automatic-logging * trying to add complete logging in case of distributed to avoid deadlock * fixing the logging on epoch end for multigpu training * Black fixes for formatting errors * Added description of multi GPU setup do User Guide. --------- Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 21 February 2023, 12:55:26 UTC
690b6f4 Update make_dists.sh 17 February 2023, 10:20:59 UTC
3a0f1f1 fix: restore Python 3.7 back-compatibility (#1573) * fix: reverting lineterminator to lineterminator for compatibility with python 3.7 * fix: reverting n_init default values for kmeans for compatibility with python 3.7 16 February 2023, 14:18:16 UTC
f2efd00 fix quantile detector when low/high threshold are the same (#1553) * fix quantile detector when low/high threshold are the same * add test * Update darts/ad/detectors/threshold_detector.py Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> * change syntax * pre commit * pre commit --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Julien Herzen <julien@unit8.co> 16 February 2023, 13:42:42 UTC
388d640 Bump ipython from 8.8.0 to 8.10.0 in /requirements (#1558) Bumps [ipython](https://github.com/ipython/ipython) from 8.8.0 to 8.10.0. - [Release notes](https://github.com/ipython/ipython/releases) - [Commits](https://github.com/ipython/ipython/compare/8.8.0...8.10.0) --- updated-dependencies: - dependency-name: ipython dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julien Herzen <julien@unit8.co> 16 February 2023, 12:03:00 UTC
8c1bb2a Fix/solve warnings in unittests (#1502) * fix: warning about deprecated CountryHolidays * fix: precision loss occurend in moment calculation due to catastrophic cancellation by avoiding ts full of nan when computing skew and kurtosis * fix: warning message about logging interval behind to small for logtensorboard * fix: set default value of n_init of Kmeans to auto in anticipation of sklearn 1.4 * fix: adjusted n_cluster value for KMeansScorer to remove warning messages * fix: tweaking kernels length_scale_bounds to improve convergence * feat: added possibility to save last checkpoint without having warning message if model is trained without validation set * doc: added docstring for the additional argument in TorchForecastingModel * fix: updated deprecated keyword line_terminator to lineterminator * fix: removing deprecated freq argument from pd.Timetamp constructor calls * fix: removed deprecated argument freq from Timestamp constructor to remove warning * fix: revert changes related to the save_only_last_checkpoint argument in TorchForecastingModel * fix: remove call to deprecated freq in Timestamp * fix: set the argument n_init to 10, otherwise a test was failing because the new default value is better (AUC ROC increases from 0.9851 to 0.9935) * fix: closing the matplotlib figures to remove warning --------- Co-authored-by: Julien Herzen <julien@unit8.co> 16 February 2023, 11:57:50 UTC
84e8313 Feature: Add support for logistic growth to Prophet (#1419) * Add logistic growth to prophet * Add RangeIndex to typehint and docstring * Fix import order * Move cap & floor to __init__ * Update darts/models/forecasting/prophet_model.py * Fix linting & remove duplicat docstring --------- Co-authored-by: David Kleindienst <kleindienst@ximes.com> Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: Julien Herzen <j.herzen@gmail.com> 16 February 2023, 08:53:14 UTC
e1c8d34 Improvement/statsforecastets: make sf_ets probabilistic + add future_covariate support for sf_ets + add AutoTheta (#1476) * StatsForecastETS now is probabilistic in the same way as StatsForecastAutoARIMA * include future covariates in sf_ets * sf_ets with future_covariates works.. probably it is underestimating the uncertainty because it doesn't take into account the uncertainty of the coef esimation of the OLS * Create separate file for StatsForecast models and extract some functions. * Added AutoTheta from the StatsForecast package. * Deleted sf_auto_arima.py and sf_ets.py, because the code is now included in sf_models.py. * Update darts/models/forecasting/sf_models.py Co-authored-by: Julien Herzen <j.herzen@gmail.com> * Update darts/models/forecasting/sf_models.py Co-authored-by: Julien Herzen <j.herzen@gmail.com> * Moved all statsforecast models to their own .py file. Added some comments explaining the handling of future covariates by StatsForecastETS. Included StatsForecastTheta in the tests. Moved the utility functions that the statsforecast models share to a singly .py file. Added the CES model which is supposed to be probabilistic, but that doesn't work yet eventhough it is supposed to be included in statsforecast 1.4.0. Trying to figure out why it isn't working. Removed sf_models.py. * Beginning of test for fit on residuals for statsforecast ets. * - AutoCES not probablisitc anymore, because that is not yet released in statsforecast 1.4.0 - changed AutoETS to SFAutoETS - added models to the base tests - wrote two units tests for future covariates use for sf_ets * - AutoCES not probablisitc anymore, because that is not yet released in statsforecast 1.4.0 - changed AutoETS to SFAutoETS - added models to the base tests - wrote two units tests for future covariates use for sf_ets * Changed StatsForecastETS to StatsForecastAutoETS. --------- Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: Julien Herzen <j.herzen@gmail.com> 10 February 2023, 15:32:00 UTC
31528a4 fix deprecated references to darts-intro.ipynb / fix a sentence in tft (#1526) * fix deprecated references to darts-intro.ipynb / fix a sentence in tft * tft fixes only * fix tft without auto changed pics * change code-ref to link to 00-quick-start notebook --------- Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> Co-authored-by: Julien Herzen <julien@unit8.co> 10 February 2023, 10:55:48 UTC
c138315 fix model_fit_kwargs by removing none elements (#1520) Co-authored-by: Dennis Bader <dennis.bader@gmx.ch> Co-authored-by: Julien Herzen <julien@unit8.co> 10 February 2023, 10:50:39 UTC
55db01e fix wrong import and default where missing. unify format (backticks) (#1535) Co-authored-by: madtoinou <32447896+madtoinou@users.noreply.github.com> 10 February 2023, 08:51:33 UTC
6887ed5 rename all save_modle/load_model to save/load in docu (#1525) 07 February 2023, 13:55:38 UTC
33d8a33 Fix/backtest multiple series (#1517) * add a unit test capturing a bug * fix a bug in backtesting with multiple series 26 January 2023, 13:24:59 UTC
7753a6b Merge branch 'master' of github.com:unit8co/darts 24 January 2023, 10:05:51 UTC
2c516e1 fix lcm call in tests for Python 3.7 24 January 2023, 10:05:01 UTC
ec4e2cf Fix/allow empty datetimeindexed ts (#1499) * fix: datetime index completeness check is run only for non-empty ts, * fix: slicing method should not return TimeSeries starting before its start argument * fix: added corresponding tests Co-authored-by: Julien Herzen <julien@unit8.co> 23 January 2023, 18:11:35 UTC
2b07b06 handle Literal import in tabularization.py 23 January 2023, 11:19:11 UTC
864d190 Refactorised tabularisation + Jupyter notebook w/ experiments. (#1399) * Refactorised tabularisation + Jupyter notebook w/ experiments. * Added 'moving window' method + refactored 'time intersection' method. * Refactoring/code simplification + bug fixes. * Added `is_training` flag. * Added tests + bug fixes. * More tests + debugging. * Fixed zero lag value not allowed bug + other debugging. * RegressionModel now calls `create_lagged_training_data` + passing tests. * ShapExplainer now uses `create_lagged_prediction_data` + minor test modifications. * Added further documentation, esp to tests. * Moved `_add_static_covariates` from `tabularization.py` to `regression_model.py`. * Static covariates refactorings. * typo fix in test_regression_models.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Removed old `_create_lagged_data` and tests notebook. * Clarification about `check_inputs` in docstring. * Allow `lags_future_covariates` to be `> 0`, and enforce `lags_past_covariates < 0`. * Made `get_feature_times` private, now `_get_feature_times`. * Placed `for` loop back inside `create_lagged_data`; more info in docstrings; test `Sequence[TimeSeries]` inputs and stochasic inputs. * Fixed `bootstrap=True` in `test_regression_models.py`. * Added note about `np.split` in `regression_model.py`. * Fixed repeated static covariates width calculation. * Fixed `shap_explainer` bug. * Amended static covariates test so that values of appended static cov columns are explicitly checked. * Updated docstring error. Co-authored-by: Matthew Bilton <mabilton@pop-os.localdomain> Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> Co-authored-by: Julien Herzen <julien@unit8.co> 23 January 2023, 10:29:01 UTC
5483e2f fix NoneType error for encoder train index generation (#1497) 20 January 2023, 12:36:09 UTC
a82ef5e Fix/tensorboard (#1500) * add tensorboardX to torch reqs * Make some tests deterministic * solve an issue with checking precision 20 January 2023, 10:35:44 UTC
402cae7 Remove tensorboard import from RNN notebook 19 January 2023, 14:02:43 UTC
5c79d96 Remove unused return type (#1486) 18 January 2023, 00:12:15 UTC
cf2d816 Specify `ipython==8.8.0` in `requirements/release.txt` (#1485) 14 January 2023, 07:20:07 UTC
7e6d8ad Release 0.23.1 12 January 2023, 12:46:36 UTC
30844c7 Release 0.23.1 (#1483) * bump u8darts * update changelog * bump u8darts * update changelog * update changelog * update release date in changelog 12 January 2023, 12:44:27 UTC
ff9aa90 fix issue with slice_n_points on integer indexes (#1482) 12 January 2023, 10:53:15 UTC
16f3a9f fix historical forecasts retraining of TFMs (#1465) * fix historical forecasts retraining of TFMs * adapt historical_forecasts to not change underlying model object * fix failing tests * remove path update in quickstart notebook Co-authored-by: Julien Herzen <julien@unit8.co> 12 January 2023, 09:11:43 UTC
ce45c15 Fix/multi forecast fut cov (#1481) * bug correction * add fut cov only in test_historical_forecasts * tests adds 12 January 2023, 08:53:08 UTC
f0035e3 Bug fix - correct for multiple lengths of series in input sequence when adding static covariates to regression models (#1469) * corrects for case where input sequence contains series of different lengths * improved doc string * improved doc string * removed print * changed map name * controlled for the order of the static covariates * controlled for the order of the static covariates * corrected old tests * force copy * added test with different series sizes Co-authored-by: Julien Herzen <julien@unit8.co> 10 January 2023, 13:38:57 UTC
ed83ff8 Fix a few tests for Py37 (#1472) 06 January 2023, 14:07:05 UTC
8f3d510 Update py versions in merge matrix tests 05 January 2023, 09:57:24 UTC
4338da7 Update workflow status badge path 05 January 2023, 09:45:51 UTC
ab2df1a fix deep copying of TFM trainer parameters (#1459) * fix deep copying of TFM trainer parameters * fix failing tests 04 January 2023, 15:04:55 UTC
fab7ddf fix Literal import for python37 (#1449) 29 December 2022, 08:53:53 UTC
c52e9d3 Release 0.23.0 23 December 2022, 09:58:38 UTC
82e5003 Release 0.23.0 (#1440) * Changelog update * Bump u8darts * update changelog * example AD image * Update readme * Update changelog link 23 December 2022, 09:56:10 UTC
9c23beb Fix Tuple type hint issue 22 December 2022, 18:51:56 UTC
67edbeb Anomaly Detection (anomaly model, scorer, detector, aggregator) (#1256) * AD first Ver * AD first Version * added ForecastingAnomalyModel/FilteringAnomalyModel, and scorers: KmeansAnomaly/LocalOutlierFactorAnomaly * implemented GaussianMixtureScorer and allow multiple scorer inputs * Added comments and possibility to input a list of scorers in AnomalyModel * Clean whitespace * Clean whitespace2 * Clean whitespace2 * Clean whitespace with VScode * Changed diff() position and added characteristic_length parameters * renamed submodule * small changes * small improvements * small changes * Accepts all types UTS, MTS, list(UTS or MTS) * move _diff() in child, so that scorers have all the same signature * replaced L1, L2, and Abs_diff with Norm * add component_wise to WassersteinScorer * add component_wise to Kmeans * add component_wise to LOF * add component_wise to GaussianMixture * Accept num_samples for probabilistic models forecasting * Minor changes * add comments, add likelihood * add laplace, + window parameter + parameter alllow_retrain * add cauchy and gamma likelihood * add utils.py, detectors, aggregators * removed show function for now * add show_anomalies() and show_anomalies_from_scores() * small changes * Some docstring improvements to AnomalyModels * corrected Kmeans, LFO and Gaussian Scorer + added input from PR * test commit * negative LFO and gaussian * pre pull * from prediciton structure * improved show_anomalies, changed structure _from_prediction * small mistake in eval_accuracy in utils.py * return type of eval_acc * changed way eval_acc returns in anomaly_model * added test for agg, dect, and scorers. upgrade agg trainable * added parameter return_UTS, and added test for scorers and anomaly_model * small mistake in anomaly_model * New structure in files * Added warnings * small change in wasserstein * filtering_am and forecasting_am * Small improvements * Fix test names * add pyod to requirements * rename scorers * scorers imports * Changed handling of kwargs in AD models * update tests * return single TimeSeries from score() in some cases * small naming improvements * Some improvements to anomaly models * Small improvements to scorers * Some small improvements * Fix tests * Norm scorer docstring * test toy example agg and detectors * small docstring improvements * Add vectorization todos * test toy example scorers * test toy example scorers * test toy example PyOD * test toy example NLL scorers * test toy example poisson nll scorer * test toy example univariate anomaly_models * test toy example univariate covariates forecasting_anomaly_models * update threshold detector docstring * change way to output string messages * first implementation of julien H's PR review * first implementation of julien H's PR review 2 * anomaly_model forecasting multivariate test * anomaly_model multivariate, w=1,2, len()=2 test for NLL scorers * changed NLL scorers: call scipy.stats function * changed in anomaly_models (inner to outer for series and scorers) * Small changes to PyOD detector * improvements to wasserstein scorer docstring * change in eval acc * change in eval acc, new function _eval_accuracy_from_scores * Small improvements to aggregators * Small docstrings improvements * Utils docstring * change in detectors (vectorization and accepts list of param if multivariate) * remove exp in PyODScorer... and updated test * new test with np.testing * agg accept only MTS or sequence of MTS * removed old detectors * new multivariate test for filtering anomaly model * small changes to utils docstrings * test assert_array_almost_equal decimal 2 * test assert_array_almost_equal decimal 1 * test assert_array_almost_equal decimal 1 * second implementation of julien H's PR review * vectorization of NLL scorers * problem with test_univariate_FilteringAnomalyModel * replace abs by __abs__ in test_univariate_covariate_ForecastingAnomalyModel * replace abs by __abs__ in ALL test_univariate_covariate_ForecastingAnomalyModel * Increase coverage of scorers tests * Imports in submodules * Some improvements to utils * Some improvements * significant rework of quantile detector * Rework threshold detector * Rework NLL scorers * Rename NLL scorers files * vectorize windowing in k-means * vectorization of windowing in PyOD and Wasserstein * Docstring improvements * Update darts/ad/anomaly_model/filtering_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/filtering_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/filtering_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/filtering_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/filtering_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/__init__.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/__init__.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/anomaly_model/forecasting_am.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/scorers/__init__.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/scorers/scorers.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/scorers/scorers.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/scorers/scorers.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Update darts/ad/scorers/kmeans_scorer.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * PR comments * Formatting * Update darts/ad/scorers/pyod_scorer.py Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> * Small docstring improvement Co-authored-by: Julien Adda <julienadda@Juliens-MacBook-Pro.local> Co-authored-by: Julien Adda <julienadda@Juliens-MBP.localdomain> Co-authored-by: Julien Herzen <julien@unit8.co> Co-authored-by: Julien Adda <julienadda@juliens-macbook-pro.home> Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com> 22 December 2022, 16:45:09 UTC
919f214 Feat/encoder improvement (#1338) 22 December 2022, 12:20:57 UTC
back to top