ads.pipeline.builders.infrastructure package

Submodules

ads.pipeline.builders.infrastructure.custom_script module

class ads.pipeline.builders.infrastructure.custom_script.CustomScriptStep(spec: Dict | None = None, **kwargs)[source]

Bases: DataScienceJob

Initialize a custom script step infrastructure.

Example

Here is an example for defining a custom script step infrastructure using builder:

from ads.pipeline import CustomScriptStep
# Define an OCI Data Science custom script step infrastructure
infrastructure = (
    CustomScriptStep()
    .with_shape_name("VM.Standard2.1")
    .with_block_storage_size(50)
)

See also

https

//docs.oracle.com/en-us/iaas/tools/ads-sdk/latest/user_guide/pipeline/index.html

Module contents