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","."]
code: def _load_validation(self) -> None:
      # don't call this function by itself. assumes called through the `validation`
      # property and the _training factory has already been loaded
      assert self._training is not None
      self._validation = self.triples_factory_cls.from_path(
          path=self.validation_path,
          path_to_numeric_triples=self.literals_path,
          entity_to_id=self._training.entity_to_id,  # share entity index with training
          relation_to_id=self._training.relation_to_id,  # share relation index with training
      )
  
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 3 for calling the NumericPathDataset obj's underlying member method code with example usage: obj._load_validation() without return types