-
Notifications
You must be signed in to change notification settings - Fork 749
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
remove pandas-related FutureWarning #88
Conversation
Job PR-88/1 is complete. |
Job PR-88/2 is complete. |
Codecov Report
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 78.63% 78.64% +<.01%
==========================================
Files 110 110
Lines 6282 6283 +1
==========================================
+ Hits 4940 4941 +1
Misses 1342 1342
|
Is this fix already installable via pip install --upgrade gluonts? I am running python 3.7.3 and I am still getting this issue when I am trying to train a feedforward model. |
@rherbrich74 not yet, we will make a new release tomorrow probably. In the meantime you can
|
@lostella: That worked - thanks! I have one more question on the semantics of make_evaluation_predictions and the parameter num_eval_samples: If I follow the tutorial, the first element of the forecasts array contains 100 sample paths and they are all around the target values: forecasts[0].samples But the second element of this array is a factor of five too high: forecasts[1].samples Also, I do not understand the logic of this parameter. The number of sample paths for the predictor are initialized in the constructor estimator = SimpleFeedForwardEstimator( Can you help clarify? |
@rherbrich74 sure:
tss[0][-plot_length:].plot(ax=ax) # plot the time series
forecasts[0].plot(prediction_intervals=prediction_intervals, color='g') into tss[1][-plot_length:].plot(ax=ax) # plot the time series
forecasts[1].plot(prediction_intervals=prediction_intervals, color='g') to do the right comparison.
|
Thanks for the quick response, @lostella ! I still don't get the right output; this is what I see I made the code publicly available at https://github.com/rherbrich74/gluon-ts-experiments/; maybe there is something obvious I am doing wrong. |
That does look funny. Thanks for the sample. FYI |
Issue #, if available: #87
Description of changes: addressed pandas complaints.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.