def METHOD_NAME(self, directory: Path) -> None:
    """
    Serializes all predictos managed by the fit result into the given
    directory. Predictor `i` is saved to subdirectory `model_<i>`.
    Args:
        directory: The directory where the predictors should be serialized to.
    """
    for i, predictor in enumerate(self.predictors):
        logging.info(
            "Serializing predictor %d/%d...", i + 1, len(self.predictors)
        )
        path = directory / f"model_{i}"
        path.mkdir(parents=True, exist_ok=True)
        self.config.save_predictor(predictor, path)