def METHOD_NAME(self, directory: Path) -> None:
    generate_m4_dataset(
        dataset_path=directory / self.dataset_name,
        m4_freq=self.freq,
        pandas_freq=self.freq[0],
        prediction_length=M4_PREDICTION_LENGTHS[self.freq],
        category=self.category,
    )