forked from GoogleCloudPlatform/professional-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifying kubeflow pipeline so anybody can run it on their own projec…
…ts. (GoogleCloudPlatform#170) * Making component reusable * Modifying pipeline so anybody can run it on their own project (to publish on AI HUB) * Reading data from competition site * Adding comments to code * taking out hardcoded project * castinf as timestamp * casting as timestamp * instructions to deploy cluster
- Loading branch information
alan-krumholz
authored and
Jacob Ferriero
committed
Apr 28, 2019
1 parent
fecf71a
commit 422c459
Showing
8 changed files
with
276 additions
and
656 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
838 changes: 187 additions & 651 deletions
838
...loudml-energy-price-forecasting/kubeflow_pipeline/Energy Price Forecasting Pipeline.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
examples/cloudml-energy-price-forecasting/kubeflow_pipeline/copy-table.component.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: google.com/cloud/pipelines/component/v1 | ||
name: Copy table | ||
inputs: | ||
- {name: dataset, type: str} | ||
outputs: | ||
- {name: output} | ||
implementation: | ||
container: | ||
image: gcr.io/energy-forecasting/component-copy-table:latest | ||
args: | ||
- {value: dataset} | ||
- {output: output} |
Binary file added
BIN
+1.98 KB
examples/cloudml-energy-price-forecasting/kubeflow_pipeline/energy-forecasting.tar.gz
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
examples/cloudml-energy-price-forecasting/kubeflow_pipeline/export-table.component.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: google.com/cloud/pipelines/component/v1 | ||
name: Export table | ||
inputs: | ||
- {name: inp, type: str} | ||
- {name: table, type: str} | ||
- {name: file, type: str} | ||
outputs: | ||
- {name: output} | ||
implementation: | ||
container: | ||
image: gcr.io/energy-forecasting/component-export-table:latest | ||
args: | ||
- {value: inp} | ||
- {value: table} | ||
- {value: file} | ||
- {output: output} |
20 changes: 20 additions & 0 deletions
20
...s/cloudml-energy-price-forecasting/kubeflow_pipeline/run-git-python-script.component.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: google.com/cloud/pipelines/component/v1 | ||
name: Run git python script | ||
inputs: | ||
- {name: inp, type: str} | ||
- {name: code_repo, type: str} | ||
- {name: code_folder, type: str} | ||
- {name: script, type: str} | ||
- {name: script_args, type: str} | ||
outputs: | ||
- {name: output} | ||
implementation: | ||
container: | ||
image: gcr.io/energy-forecasting/component-run-git-python-script:latest | ||
args: | ||
- {value: inp} | ||
- {value: code_repo} | ||
- {value: code_folder} | ||
- {value: script} | ||
- {value: script_args} | ||
- {output: output} |
36 changes: 36 additions & 0 deletions
36
...es/cloudml-energy-price-forecasting/kubeflow_pipeline/train-git-cmle-model.component.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: google.com/cloud/pipelines/component/v1 | ||
name: Train git cmle model | ||
inputs: | ||
- {name: tr_inp, type: str} | ||
- {name: va_inp, type: str} | ||
- {name: code_repo, type: str} | ||
- {name: code_folder, type: str} | ||
- {name: project, type: str} | ||
- {name: bucket, type: str} | ||
- {name: package_folder, type: str} | ||
- {name: cmle_folder, type: str} | ||
- {name: scale_tier, type: str} | ||
- {name: python_module, type: str} | ||
- {name: region, type: str} | ||
- {name: runtime_version, type: str} | ||
- {name: cmle_args, type: str} | ||
outputs: | ||
- {name: output} | ||
implementation: | ||
container: | ||
image: gcr.io/energy-forecasting/component-train-git-cmle-model:latest | ||
args: | ||
- {value: tr_inp} | ||
- {value: va_inp} | ||
- {value: code_repo} | ||
- {value: code_folder} | ||
- {value: project} | ||
- {value: bucket} | ||
- {value: package_folder} | ||
- {value: cmle_folder} | ||
- {value: scale_tier} | ||
- {value: python_module} | ||
- {value: region} | ||
- {value: runtime_version} | ||
- {value: cmle_args} | ||
- {output: output} |