unit8co / darts

A python library for user-friendly forecasting and anomaly detection on time series.
https://unit8co.github.io/darts/
Apache License 2.0
7.89k stars 854 forks source link

[Question] Batch size, number samples, number Timeseries #872

Closed leyp1 closed 2 years ago

leyp1 commented 2 years ago

Hi,

I have a couple of questions and would be thankful for any aid to help me understand what is going on behind the scences.

From what I read on the NBEATS model description (https://unit8co.github.io/darts/generated_api/darts.models.forecasting.nbeats.html?highlight=batch%20size) the batch size changes the amount of samples in one batch however changes nothing about the number of Timeseries in each batch, is this correct? If yes, then is there a parameter that changes the number of Timeseries in a batch, since at the moment from what I have seen it always seems to take all of the Timeseries when calling fit(...).

Additonally I have noticed that there is a difference between passing a list of Timeseries to fit(...) as the training set or one multivariate Timeseries, but I do not understand why. The amount of batches changes when I do this.

hrzn commented 2 years ago

Hi, There are a few concepts to untangle in your question.

Hope this helps.

leyp1 commented 2 years ago

Yes ok, this makes sense. Thank you for clarifying and answering so quickly!