class_docstr: Contains a lazy reference to a training, testing, and validation dataset.
class_docstr_tok: ["Contains","a","lazy","reference","to","a","training",",","testing",",","and","validation","dataset","."]
docstr: Initialize the dataset.
  
  :param training_path: Path to the training triples file or training triples file.
  :param testing_path: Path to the testing triples file or testing triples file.
  :param validation_path: Path to the validation triples file or validation triples file.
  :param literals_path: Path to the literals triples file or literal triples file
  :param eager: Should the data be loaded eagerly? Defaults to false.
  :param create_inverse_triples: Should inverse triples be created? Defaults to false.
docstr_tok: ["Initialize","the","dataset",".",":","param","training_path",":","Path","to","the","training","triples","file","or","training","triples","file",".",":","param","testing_path",":","Path","to","the","testing","triples","file","or","testing","triples","file",".",":","param","validation_path",":","Path","to","the","validation","triples","file","or","validation","triples","file",".",":","param","literals_path",":","Path","to","the","literals","triples","file","or","literal","triples","file",":","param","eager",":","Should","the","data","be","loaded","eagerly","?","Defaults","to","false",".",":","param","create_inverse_triples",":","Should","inverse","triples","be","created","?","Defaults","to","false","."]
code: def __init__(
      self,
      training_path: Union[str, pathlib.Path, TextIO],
      testing_path: Union[str, pathlib.Path, TextIO],
      validation_path: Union[str, pathlib.Path, TextIO],
      literals_path: Union[str, pathlib.Path, TextIO],
      eager: bool = False,
      create_inverse_triples: bool = False,
  ) -> None:
      """Initialize the dataset.
  
      :param training_path: Path to the training triples file or training triples file.
      :param testing_path: Path to the testing triples file or testing triples file.
      :param validation_path: Path to the validation triples file or validation triples file.
      :param literals_path: Path to the literals triples file or literal triples file
      :param eager: Should the data be loaded eagerly? Defaults to false.
      :param create_inverse_triples: Should inverse triples be created? Defaults to false.
      """
      self.training_path = training_path
      self.testing_path = testing_path
      self.validation_path = validation_path
      self.literals_path = literals_path
  
      self._create_inverse_triples = create_inverse_triples
  
      if eager:
          self._load()
          self._load_validation()
  
file_path: pykeen/src/pykeen/datasets/literal_base.py
imports: import pathlib
  from typing import TextIO, Union
  from .base import LazyDataset
  from ..triples import TriplesNumericLiteralsFactory
label_desc: Use image node_id 1 to create a new NumericPathDataset object from inherited base classes: LazyDataset with example: obj = NumericPathDataset(training_path, testing_path, validation_path, literals_path, eager, create_inverse_triples)