Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix item_id field in provided datasets #566

Merged
merged 3 commits into from
Jan 21, 2020
Merged

Conversation

lostella
Copy link
Contributor

Issue #, if available: #291

Description of changes: This adds an "item_id" field in the provided dataset recipes. Getting the datases with regenerate=True should then fix #291. I set the "item_id" field to be the same incremental integer as the "cat" field, but we could decide of using something slightly different there for clarity (like the "item<N>" string or something like that).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-io
Copy link

codecov-io commented Jan 20, 2020

Codecov Report

Merging #566 into master will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #566      +/-   ##
==========================================
- Coverage   83.27%   83.26%   -0.02%     
==========================================
  Files         178      178              
  Lines        9958     9960       +2     
==========================================
  Hits         8293     8293              
- Misses       1665     1667       +2
Impacted Files Coverage Δ
src/gluonts/dataset/repository/_m4.py 30.43% <ø> (ø) ⬆️
src/gluonts/dataset/repository/_gp_copula_2019.py 59.09% <ø> (ø) ⬆️
src/gluonts/dataset/repository/_lstnet.py 34.92% <ø> (ø) ⬆️
src/gluonts/dataset/repository/_util.py 30.76% <33.33%> (-2.57%) ⬇️

@lostella lostella added this to the v0.5 milestone Jan 20, 2020
@lostella lostella merged commit 1171f9e into awslabs:master Jan 21, 2020
@lostella lostella deleted the fix-item-id branch January 21, 2020 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Item metrics dataframe incorrectly formatted
4 participants