Questions tagged [gluonts]

9 questions
3
votes
0 answers

Can DeepAR handle multiple time series different length?

Assume I have 100 time series with different start and end dates but the same frequency hence they mostly have different lengths.Each time series is stored as a form of dataframe. They all look like the following: date item_id …
user59419
  • 893
  • 8
  • 20
1
vote
0 answers

module mxnet has no attribute nd

I am trying to use gluonts library. I installed gluonts 0.12.2 and when I try to import gluonts it says 'module mxnet has no attribute nd'. mxnet was installed by dependence with version 1.6.0. I am using macos, m1 pro. how can I solve this…
0
votes
0 answers

Error when installing modeltime.gluonts::install_gluonts() in RStudio

I received an error when installing Python dependency for GluonTS Deep Learning in RStudio using modeltime.gluonts::install_gluonts(). I am new to using RStudio to run deep learning models. When loading the library, I received this message: >…
0
votes
0 answers

How to use a sliding window for test pairs in GluonTS?

I am new to GluonTS and I am trying to understand how the concept works. On the documentation website, under the section "Splitting datasets into training and test" they define a mechanism to split the train and test data as…
0
votes
1 answer

How to prepare my data to avoid being unable to infer frequency

The following code from pandas/tseries/frequencies.py is causing my code to fall over: if not self.is_monotonic or not self.index._is_unique: return None delta = self.deltas[0] ppd = periods_per_day(self._creso) if delta and _is_multiple(delta,…
serlingpa
  • 12,024
  • 24
  • 80
  • 130
0
votes
0 answers

Struggling to create a unique datetime index in Pandas dataset

I have a dataframe that has a time property. This property is in seconds, but with nanosecond precision. I was struggling to make this unique, but with help from a robot, managed to come up with this: # Convert the time column to nanoseconds and add…
serlingpa
  • 12,024
  • 24
  • 80
  • 130
0
votes
1 answer

How Can I Fix the Error I'm Getting When Using Pandas in Jupyter?

I have an error Subsetting a data frame in pandas. Here's my code: `import pandas as pd import matplotlib.pyplot as plt import scipy from gluonts.dataset.pandas import PandasDataset from gluonts.dataset.split import split from gluonts.torch import…
0
votes
0 answers

Why Temporal Fusion Transform performs poorly in short-term time series forecasting?

I am using a probabilistic forecasting model for quantile forecasting, specifically the Temporal Fusion Transformer (TFT), in my work. I have fixed the history length to 72 and evaluated the model's performance at different prediction horizons by…
0
votes
0 answers

How to resolve ModuleNotFoundError: No module named 'gluonts.torch.modules.distribution_output'?

I am working on a project and I am trying to run the code from this repository: https://github.com/jc-audet/WOODS I was able to get past this step: python3 -m woods.scripts.download_datasets {dataset} \ --data_path…
Evan Gertis
  • 1,796
  • 2
  • 25
  • 59