syne_tune.blackbox_repository.conversion_scripts.blackbox_recipe module

class syne_tune.blackbox_repository.conversion_scripts.blackbox_recipe.BlackboxRecipe(name, cite_reference, hash=None)[source]

Bases: object

generate(s3_root=None)[source]

Generates the blackbox on disk then upload it on s3 if AWS is available. :type s3_root: Optional[str] :param s3_root: s3 root where to upload to s3, default to s3://{sagemaker-bucket}/blackbox-repository. If AWS is not available, this step is skipped and the dataset is just persisted locally. :return: