File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1094,7 +1094,8 @@ def __init__(
10941094
10951095 Args:
10961096 data_source (TimeSeriesDataSet): timeseries dataset.
1097- drop_last (bool): if to drop last mini-batch from a group if it is smaller than batch_size. Defaults to False.
1097+ drop_last (bool): if to drop last mini-batch from a group if it is smaller than batch_size.
1098+ Defaults to False.
10981099 shuffle (bool): if to shuffle dataset. Defaults to False.
10991100 batch_size (int, optional): Number of samples in a mini-batch. This is rather the maximum number
11001101 of samples. Because mini-batches are grouped by prediction time, chances are that there
Original file line number Diff line number Diff line change 77import pytest
88from sklearn .preprocessing import StandardScaler
99import torch
10- from torch .utils .data import dataset
1110
1211from pytorch_forecasting .data import (
1312 EncoderNormalizer ,
1413 GroupNormalizer ,
1514 NaNLabelEncoder ,
1615 TimeSeriesDataSet ,
17- TimeSynchronizedBatchSampler ,
1816)
1917from pytorch_forecasting .data .examples import get_stallion_data
2018
You can’t perform that action at this time.
0 commit comments