class_docstr: A dataset split provides all the representations for a particular split
  (train/val/test) of a dataset.
docstr: Returns the GluonTS dataset for the dataset split.
  
  This loads the associated JSON file and is, thus, potentially slow.
docstr_tok: ["Returns","the","GluonTS","dataset","for","the","dataset","split",".","This","loads","the","associated","JSON","file","and","is",",","thus",",","potentially","slow","."]
code: def gluonts(self) -> Dataset:
      """
      Returns the GluonTS dataset for the dataset split.
  
      This loads the associated JSON file and is, thus, potentially slow.
      """
      return FileDataset(
          self._directory / "gluonts" / self._split,
          freq=self._metadata.freq,
      )
  
imports: from __future__ import annotations
  import json
  import shutil
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import cast, Dict, Tuple, Union
  import numpy
  import pandas
  from gluonts.dataset.common import Dataset, FileDataset, MetaData
  from numpy import ma
  from tsbench.constants import DEFAULT_DATA_CATCH22_PATH, DEFAULT_DATA_PATH, DEFAULT_DATA_STATS_PATH
label_desc: Use image node_id 1 for calling the DatasetSplit obj's underlying member method code with example usage: obj.gluonts() and returns: FileDataset