https://github.com/unit8co/darts
Revision 62d92007f68d4822fc0da5b92fa1e6719c4c2a89 authored by madtoinou on 01 March 2024, 16:06:07 UTC, committed by GitHub on 01 March 2024, 16:06:07 UTC
* fix: datetime_attribute account for 0 or 1-indexing of the attributes

* feat: 1-indexed date attribute are shifted to enforce 0-indexing for all the generated encodings

* updated changelog

* fix: remove commented lines

* fix: typo in comment

* make ONE_INDEXED_FREQS a constant

* fix: simplified test by using year 2001

* feat: better handling of years with 53 weeks or 366 days

* fix: properly take the index length when adding the extra week

* fix: simplifying test

* fix: update tests to account for the forced 0-indexing of the datetime attributes encoding

* fix: passing lmbda parameter as BoxCox doesn't converge when encodings contains a 0

---------

Co-authored-by: Dennis Bader <dennis.bader@gmx.ch>
1 parent ccd0d42
History
Tip revision: 62d92007f68d4822fc0da5b92fa1e6719c4c2a89 authored by madtoinou on 01 March 2024, 16:06:07 UTC
fix: datetime_attribute account for 0 or 1-indexing of the attributes (#2242)
Tip revision: 62d9200
File Mode Size
.github
conda_recipe
darts
datasets
docs
examples
gradle
requirements
static
.bumpversion.cfg -rw-r--r-- 254 bytes
.coveragerc -rw-r--r-- 38 bytes
.dockerignore -rw-r--r-- 49 bytes
.git-blame-ignore-revs -rw-r--r-- 298 bytes
.gitattributes -rw-r--r-- 153 bytes
.gitignore -rw-r--r-- 362 bytes
.pre-commit-config.yaml -rw-r--r-- 472 bytes
CHANGELOG.md -rw-r--r-- 98.6 KB
CONTRIBUTING.md -rw-r--r-- 4.9 KB
Dockerfile -rw-r--r-- 650 bytes
INSTALL.md -rw-r--r-- 4.3 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 19 bytes
README.md -rw-r--r-- 45.2 KB
build.gradle -rw-r--r-- 4.2 KB
gradlew -rwxr-xr-x 5.6 KB
gradlew.bat -rw-r--r-- 2.9 KB
make_dists.sh -rwxr-xr-x 230 bytes
pyproject.toml -rw-r--r-- 248 bytes
settings.gradle -rw-r--r-- 27 bytes
setup.cfg -rw-r--r-- 149 bytes
setup.py -rw-r--r-- 1.9 KB
setup_u8darts.py -rw-r--r-- 1.9 KB

README.md

back to top