Last active
August 27, 2021 10:09
-
-
Save SaschaHeyer/a232fee9310f9b6952cddbcd85e4ef67 to your computer and use it in GitHub Desktop.
Vertex AI Pipeline - Artifacts Input Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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