Skip to content

Instantly share code, notes, and snippets.

@SaschaHeyer
Last active August 27, 2021 10:09
Show Gist options
  • Select an option

  • Save SaschaHeyer/a232fee9310f9b6952cddbcd85e4ef67 to your computer and use it in GitHub Desktop.

Select an option

Save SaschaHeyer/a232fee9310f9b6952cddbcd85e4ef67 to your computer and use it in GitHub Desktop.
Vertex AI Pipeline - Artifacts Input Output
def train_model(
parameter_a: str,
dataset_artifact: Input[Dataset],
model_artifact: Output[Model]
):
data = pd.read_csv(dataset_artifact.path)
model.save_model(model_artifact.path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment