https://github.com/nixtla logo
#neural-forecast
Title
# neural-forecast
m

Manuel Chabier Escolá Pérez

06/27/2023, 4:46 PM
Hi all! I am working with a dataset whose ds is in intervals of 15 minutes (see picture bellow). The predictions must be made in the same format. I am working with NBEATSx and NHITS. Before fitting the models, it is necessary to set the class, in which I need to introduce the frequency "freq" (e.g., nf = NeuralForecast(models=models, freq='H')). Considering that this dataset is not daily or hourly, but in intervals of 15 minutes, what "freq" should I set? Is there any page with documentation for this frequency argument? Thank you very much.
m

Max (Nixtla)

06/27/2023, 4:54 PM
NeuralForecast stores the data in pandas dataframes, so you can specify any frequency available in pandas. For instance, you can set
frequency='15min'
for 15 minute frequency.
m

Manuel Chabier Escolá Pérez

06/27/2023, 5:49 PM
Thank you very much, Max