* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: working on abstract class
* fix: working on abstract class
* fix: restructuring
* fix: changes per TW needs
* fix: request changes
* fix: before you begin
* feat: task: making cell navigation independent of rules
* fix: review comments
* fix: review comments
* fix: review comments
* fix: review comments
* feat: writeback fixed notebook
* fix: target=_blank detection
* fix: autofixing bad link
* Update stream_update_for_matching_engine.ipynb
change "allow_list" to "allow" for index creation as allow_list is not supported but allow is supported for index creation.
* Update stream_update_for_matching_engine.ipynb
Updated to resolve the comments.
* Updated Google Cloud Notebooks to Workbench AI Notebooks
* Adding PyTorch Torchrun example
* Revert 'Adding PyTorch Torchrun example'
This reverts commit 239b9fe3b7
* Adding PyTorch torchrun ImageNet training example
* Updated CODEOWNERS for PyTorch torchrun example
* Ran Linter
* Updated based on review feedback
* Add feature filter notebook
* Clean code
* Run linter
* Add the notebook to CODEOWNERS
* Remove user flag
* Run linter
* Fix bucket URI
* Run linter
* Simplify the notebook
* adding anomalydetection pipeline
* reviewed notebook
* add code owner
* remove to do
* linter test
* reviewed based on feeback from andy
* linter test passed
* fix links
* linter test passed
* Added pipeline components used in the "Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines" samples.
* Removed Pandas type conversion
* Removed Pandas type conversion
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* remove key_columns variable
* ran linter
* remove key_columns in text
* notebooks/official/model_evaluation/custom_tabular_regression_model_evaluation.ipynb
* modified text
* ran linter
* andrew comments resolved
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* bioler plate changes
* linter test
* made review changes
* linter test
* bioler plate changes
* linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
File came in regression log. Unable to download executed notebook. When ran in local, file executed successfully.
**Changes made**:
Update notebook according to template
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
Changed according to boilerplate requirement.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
* Made changes in accordance with notebook template
* Ran Linter test
* Changed protobuf version
* Ran linter test
* made sklearn to scikit learn
* ran linter
* andrew comments addressed
* ran linter
* ivan comments addressed
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: sudarshan-SpringML <82567512+sudarshan-SpringML@users.noreply.github.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
* made some minor changes
* Ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* changed according to boiler plate requirements
* ran linter test
* changed according to boilerplate requirements
* linter test
* changed file based on boilerplate requirements
* linter test
* biolerplate requirements
* linter test
* changes based on boilerplate
* linter test
* added os library
* linter test
* textual corrections
* linter test
* biolerplate chnages
* linter test
* bioler plate changes
* linter test
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
Hardcoded gcpc version because it fails in newer versions. And this is a request from model eval swe team to hardcode the version.
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [x] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [x] Follow the style and grammar rules outlined in the above notebook template.
- [x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [x] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [x] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [x] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
**Error from regression test**:RuntimeError: Job failed with:
code: 9
message: "The DAG failed because some tasks failed. The failed tasks are: [model-deploy].; Job (project_id = python-docs-samples-tests, job_id = 2073372166241386496) is failed due to the above error.; Failed to handle the job: {project_number = 1012616486416, job_id = 2073372166241386496}"
Changes made:
Just ran notebook in local. It ran fine. Updated notebook according to template
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
Reduce boilerplate for sdk-custom-image-classification-online.ipynb notebook
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
1. Boilerplate changes.
2. Added code for deleting experiment otherwise its throwing experiment name already exist.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
Boilerplate changes.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
* Update notebooks/official/matching_engine/README.md
* Update region tag formatting
* Update README.md format for single notebook
* Remove horizontal-rules for single notebook
* adds the custom tabular classification evaluation notebook
* removes json import
* ran linter test
* fixes the model serving code and adds image
* ran linter test
* adds notebook to the codeowners file
* addresses the review comments: updates text, adds headings
* ran linter test
* boiler-plate reduction, addresses the review comments, adds a constant for table id
* ran linter test
* updates the installation step
* ran linter test
* removes the --user flag while installation
* ran linter test
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Checklist for moving the notebook to the main repo:
- [x] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [x] Follow the style and grammar rules outlined in the above notebook template.
- [x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [x] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/contributing.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [x] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/CODEOWNERS) file under `# Official Notebooks` section, pointing to the author or the author's team.
- [x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
* text correction made
* ran linter
* modified file
* ran linter
* updated file
* ran linter
* addressed comments
* ran linte
* changing component and parameter names as per new gcpc 1.0.26
* ran linter
* updated notebook as per new package changes
* modified notebook
* ran linter
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Cloud Storage bucket permission issues resolved
* Cloud Storage bucket permission issues resolved
* ran linter test
* DAG issues
* linter test
* textual corrections
* ran linter test
* added service account for pipeline job
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* notebook title changed
* ran linter test
* text changes and made review changes
* ran linter test
* made review changes
* linter test
* made review changes
* linter test
* content changes
* ran linter test
* textual corrections and links
* ran linter test
* changed function names bases on latest gcpc version
* ran linter test
* changed function names bases on latest gcpc version
* linter test
* ran linter test
* updated arguments in ModelEvaluationClassificationOp based on new version
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
* adds the custom-model-bq-io-batch-prediction-pipeline notebook to the official folder
* removes the unused libraries and variables
* ran linter test
* adds a raise exception statement to prevent auto-test check as this notebook is just to serve as a template
* resolves review comments: fixes names, removes trailing comma, fixes link format
* removes the raise excpetion step
* ran linter test
* cleans up code, explains sections and renames the notebook
* removes unused variable batch_predict_task
* removes unnecessary imports
* ran linter test
* updates the dependencies
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* file modified
* ran linter
* model evaluation metrics are printed
* ran linter
* notebook modified
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* upgrades gcpc to latest, adds minor textual corrections
* ran linter test
* minor textual corrections
* ran linter test
* fixes sentence cases, unnecessary capitalizations, article corrections and sentence corrections
* ran linter test
* renames the ground_truth_column argument in classificationeval component to target_field_name as per version 1.0.26 and updates the reference link
* ran linter test
* upgrades gcpc to latest, adds minor textual corrections
* ran linter test
* minor textual corrections
* ran linter test
* fixes sentence cases, unnecessary capitalizations, article corrections and sentence corrections
* ran linter test
* renames the ground_truth_column argument in classificationeval component to target_field_name as per version 1.0.26 and updates the reference link
* ran linter test
* fixes the prediction_score_column unsupported error, adds class_labels field, adds the targetfieldremover component, minor structural/textual updates
* ran linter test & updates the image
* removes unnecessary newline
* ran linter test
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Custom pytorch text sentiment classification
* Ran linter test
* Added creating predictor directory
* ran linter test
* Creating python package files from the notebook
* Ran linter test
* cleans up the pytorch-text-classification notebook, renames the directory and removes unnecessary files
* ran linter test
* rectifies the python test version
* ran linter test
* removes the python version line
* ran linter test
* restores the README.md file for official folder
* minor textual edits
* ran linter test
* updates notebook structure, removes unnecessary print statements, moves import statements to one cell, textual updates
* ran linter test
* corrects the Colab link
* ran linter test
* addresses review comments: grammatical/textual corrections
* ran linter test
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made Minor changes
* Ran Linter test
* Made minor changes
* ran linter test
* Madesome Minor changes
* Ran linter test
* Made some minor changes
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added uuid and textual correction
* ran linter test
* made one cell for pip installations
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* made text corrections
* ran linter
* modified notebook
* modified notebook
* ran linter
* modified installation step
* ran linter
* updated component name and parameters
* ran linter
* ran linter
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates featurestore name with uuid to avoid name collisions, elaboration, textual corrections
* ran linter test
* addresses review comments: adds headings + textual corrections
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add doc about using tensorboard in vertex pipeline
* format the doc
* fix format
* set default value to params
* fix format
* fix import
* fix format again
* update colab, github and workbench link
* update according to latest offical notebook template
* update according to comments
These pipelines are:
* Working out of the box (run with zero modifications)
* End-to-end (from nothing to a Vertex Model)
* Feature multiple ML frameworks (TensorFlow, PyTorch, XGBoost, Scikit-learn)
* Feature multiple training objectives: tabular classification and tabular regression
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Add a colab to show how to integrate the training job with Dask.
* Reformat the notebook xgboost_data_parallel_training_on_cpu_using_dask
* Add the code owner of the sample training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Changed the project id to [your-project-id].
* Fixed the issue for Non colab.
* Adding the sample of converting the Vertex Vizier SDK with Open source Vizier.
* Add the owner for conversions_vertex_vizier_and_open_source_vizier.ipynb
* Addressed the comments in the xgboost_data_parallel_training_on_cpu_using_dask
* Fixed the format of xgboost_data_parallel_training_on_cpu_using_dask
* Addressed the comments in the training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Add explanation that Docker is not available on Colab.
* Add before docker command.
* add timeout in the worker to wait for the scheduler.
* Addressed the comments in the pr.
* Addressed the comments in the pr.
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* notebook title changed
* ran linter test
* text changes and made review changes
* ran linter test
* made review changes
* linter test
* made review changes
* linter test
* content changes
* ran linter test
* textual corrections and links
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
* Add a colab to show how to integrate the training job with Dask.
* Reformat the notebook xgboost_data_parallel_training_on_cpu_using_dask
* Add the code owner of the sample training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Changed the project id to [your-project-id].
* Fixed the issue for Non colab.
* Addressed the comments in the xgboost_data_parallel_training_on_cpu_using_dask
* Fixed the format of xgboost_data_parallel_training_on_cpu_using_dask
* Addressed the comments in the training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Add explanation that Docker is not available on Colab.
* Add before docker command.
* add timeout in the worker to wait for the scheduler.
* cleans up the notebook,replaces docker with cloud build, textual edits still in progress
* cleans up the notebook
* ran linter test
* changes tf train/serve version to 2.9
* ran linter test
* adds '=' to fix a typo
* ran linter test
* updates the opencv installation package
* ran linter test
* updates the opencv installation dependencies
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: incorrect linking for index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* feat: added new notebook for PyTorch distributed training on reduction server
* Fixed linter errors
* Addressed review comments
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* resloved tf library issues
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter
* made review changes
* linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Model evaluation for text classification using Automl
* Removed unused library
* Ran Linter Test
* Commented text
* Commented Text
* Ran Linter test
* Made changes suggested in review
* Removed unused import
* Ran Linter Test
* Removed dataflow parameters as mentioned in the review
* Ran Linter Test
* Made review changes and changed notebook links in the beginning of the notebook
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add notebook for Wide & Deep on Vertex Pipelines
* Address comments
* Clear output
* Fix deletion logic
* Run linter
* Rename custom_job and hpt_job to pipeline_job
* Use Vertex SDK for deletion instead of gcloud
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added notebook for TabNet on Vertex Pipelines
* Added notebook for TabNet on Vertex Pipelines
* Added notebook for TabNet on Vertex Pipelines
* Run linter
* Ran linter
* Ran linter again
* Addressed comments
* Addressed more comments
* Remove parameter definitions, reference documentation, add details under CustomJob/HPT job sections
* Address more comments
* Fix tests
* Bug fix
* Rework TabNet HPT job section
* Addressed more comments
* Update documentation links
* Fix tests
* Fix tests
* Linter and some changes
* Address more comments
* Update CustomJob description to align with documentation
* Use bank-marketing dataset instead of safedriver
* Rename variables
* Rename variables
* Update gcs location to official one
* Changes to make notebook run with updated SDK
* Bug fix
* Rewording
* Fix workbench link
* Update notebook format to align with template
* Fix deletion logic
* Run linter
* Rename custom_job and hpt_job to pipeline_job
* Use Vertex SDK for deletion instead of gcloud
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made changes in accordance with Notebook template
* Ran Linter Test
* Attached UUID to BQ_DATSET and use bq to delete dataset
* Removed unused imports
* Ran Linter Test
* Fixed BQ_DATASET
* Fixed BQ_DATASET
* Ran linter test
* Made review changes
* Removed unused library
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook telecom-subscriber-churn-prediction.ipynb
* ran linter
* changes suggested by andrew are done
* ran linter
* changes suggested by andrew done
* ran linter
* resolved error
* ran linter
* fixed a monor bug
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new notebook
* linter test passed
* linter test passed
* andy review
* linter test passed
* add codeowner
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add new notebook
* linter test passed
* clean text
* linter test passed
* add code owner new model registry notebook
* add more description
* linter test passed
* align with new template
* linter test passed
* andy reviews
* linter test passed
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added changes in notebook
* Ran linter test
* Replaced Timestamp with UUID; Added 'delete-bucket' in cleanup; Added condition for repo creation and few other minor changes
* Ran Linter Test
* Made some minor changes to install packages
* Made minor changes to fix linter failed tests
* ran linter test
* Made some minor changes
* ran linter test
* addresses the review comments: fixes container build steps, license year, updates according to the template
* ran linter test
* removes beta from gcloud to avoid timeouts
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: SamyuktaDR <samyukta.dontireddy@springml.com>
Co-authored-by: SamyuktaDR <45586340+SamyuktaDR@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya Movva <krishr2d2@gmail.com>
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
* resolves the shell-output issue + updates the structure based on the template
* ran linter test
* fixes issues from review: textual updates, delete_bucket=False
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook according to notebook_template.
* ran linter
* Added create dataset step
* ran linter
* replaced hardcoded dataset name with a variable
* ran linter
* changes suggested by nadrew done
* ran linter
* followed prolong lin comments, data cleaning now done in bigquery
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Add bqml-vertexai-model-registry notebook
* Run linter
* Add notebook to CODEOWNERS file
* Update the links
* Ran linter again
* Rename bigquey-ml folder to model-registry
* Add bigquery-ml folder
* Moved the notebook
* Deleted folder
* Resolve comments
* Use UUID
* Remove using existing endpoint
* Remove try statement
* Get model sample based on model's name
* Use job.result to check query job status
* Run linter
* Fix dataset not found error by adding region in bq client creation
* Revert changes
* Fix bq bugs
* Run linter
* Resolve comments
* Display dataframe
* Updated the codeowner file
* Updated the links and editted text
* Run linter
* Remove repeated resources
* Run linter
* Resolve comments
* Run linter
* Install pyarrow
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Create a function to get notebook python version for execution
* Inject python version to yaml file
* Fix python version references
* Add python string to python version variable
* add python version extraction script (untested)
* Create a function to get notebook python version for execution
* Inject python version to yaml file
* Fix python version references
* Add python string to python version variable
* Remove one notebook condition
* Remove extra check and use python 3 as default version
* Use python3.9 as default version
* Update python version notebook parser
* Add python version to the notebook template
* Fix bug
* Update python version parser function
* Add python version to a notebook for testing
* Run linter
* Use regex in python version parser function
* Add new notebook for testing
* Use better variable name
* fix typo
* Use f string instead +
* Use python from env instead of using _PYTHON_VERSION
* Use simpler regex
* Add python version test notebook
* Fixed a mistake
* Updated notebook template with python version
* Fixed python version format
* Print log contents to stdout
* Remove failing notebook
* Run linter
* Remove extra steps in the printed log
* Edit comments
* Run linter
* Run linter
* Revert test changes
Co-authored-by: AG Sol <aarongabriel@google.com>
* new changes for sentiment analysis notebook
* new changes for sentiment analysis notebook
* changed back to year 2021 text
* changed back to year 2021 text
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added file
* removed unnecessary imports
* ran linter
* removed extra batch prediction component
* ran linter
* moved file to official
* changed links to point to official
* ran linter
* Jason comments addressed
* ran linter
* comments addressed
* ran linter
* comments addresed
* ran linter
* added predictionschema instance schema files
* ran linter
* Followed Karen Lin's comments
* ran linter
* replaced old prebuilt containers with latest ones
* ran linter
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Update the vizier codelab to replace the gapic library with new Vertex Vizier SDK.
* Added the [project_id] and [region] in the parameter field.
* Fixed the lint errors for vizier sample.
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* clean and update comparing_local_trained_models based on feedback
* linter test passed
* fix libraries
* linter test passed
* andy review fixes
* linter test passed
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* moves the sentiment_analysis notebook from community to official folder after making the updates
* removes unused modules
* ran linter test
* updates the dataset's GCS links and notebook links in the heading
* ran linter test
* fixes the typo(=)
* ran linter test
* removes wait() calls and IS_TESTING condition
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook
* ran linter
* tensorflow was used only for file reading.So replaced tensorflow with pandas
* ran linter
* made text changes
* ran linter
* latest andrew domments addressed
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Replaced timestamp with UUID
* Ran Linter test
* Removed local kernel from metadata
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* add unfinished notebook on hpt using R
* clear output
* add working version of notebook
* finish R HPT notebook
* update CODEOWNERS
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* adds the automl-tabular-classification notebook in model_evaluation folder
* removes unnecessary imports
* adjusts the imports inside the pipeline
* adjusts the imports
* elaborates imports inside pipeline
* modified regression notebook
* renamed pipeline displayname to resolve error
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* modified some text
* added suggested updates from review: remove dataflow params, add/change textual descriptions, add UUID
* removes the output from the notebooks
* removes the extra matplotlib import
* ran linter test
* addressed soheila's comments
* ran linter
* addresses the review comments
* ran linter test
* removes the artifacts comment
* ran linter test
* reviewed comments
* ran linter
* addresses review comments: textual updates, removes unnecessary parameters
* ran linter test
* addressed comments
* ran linter
* removed unwanted variables
* ran linter
* addresses the tech-writer's comments + updates the pipeline image with data-sampler task
* ran linter test
* Update text
* Move model eval folder to official
* Update CODEOWNERS
* Run linter
* Removed problem_type parameter
* Run linter
* addresses Andrew's review comments: textual updates and removes additional gcpc installation
* ran linter test
* comments addressed
* ran linter
* removed trailing comma on last parameter of trainingjob.run
* ran linter
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: notebook for custom text model batch prediction
* feat: notebook for custom text model batch prediction
Co-authored-by: gericdong <itseric@google.com>
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* adds the automl-tabular-classification notebook in model_evaluation folder
* removes unnecessary imports
* adjusts the imports inside the pipeline
* adjusts the imports
* elaborates imports inside pipeline
* modified regression notebook
* renamed pipeline displayname to resolve error
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* modified some text
* added suggested updates from review: remove dataflow params, add/change textual descriptions, add UUID
* removes the output from the notebooks
* removes the extra matplotlib import
* ran linter test
* addressed soheila's comments
* ran linter
* addresses the review comments
* ran linter test
* removes the artifacts comment
* ran linter test
* reviewed comments
* ran linter
* addresses review comments: textual updates, removes unnecessary parameters
* ran linter test
* addressed comments
* ran linter
* removed unwanted variables
* ran linter
* addresses the tech-writer's comments + updates the pipeline image with data-sampler task
* ran linter test
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* move bqml-vertex notebook from community to official
* add to CODEOWNERS official
* fix errors for execution-test
* fix project_id line
* fix linting
* fixes re: comments from sarahcdugan
* fix links at top of notebook from community/ to official/
* added UUID to model name
* fix linting
* fix error in TIMESTAMP --> UUID
* fixing linting double space
* fixes re: ivanmkc comments
* fixed notebook after linting issues
* linting via cloud shell
* simplified run_bq_query function
* linting
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Minor fixes for CPR Pytorch sample: Add missing test data, add auth info to readme, scrub private project and bucket names from config, tolerate missing config.json in unit tests.
* Minor fixes for CPR Pytorch sample: Add missing test data, add auth info to readme, scrub private project and bucket names from config, tolerate missing config.json in unit tests.
* Fix merge conflicts
* fix typo
* Point CPR links to main branch of SDK repo.
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: add notebook for custom tabular batch predict
* feat: add notebook for custom tabular batch predict
* feat: add example for BQ input
* feat: add example for BQ input
* feat: add example for BQ input
* feat: add example for BQ input
* changed to andrew comments
* changes according to andrew comments
* changes according to andrew comments
* review changes
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* samples: Add a new sample for pre-built Pytorch deployments. It's
borrowed from the examples in community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud.
* samples: Removed all training related stuff in the notebooks.
* samples: Fixed comments.
* samples: Updated readme.
* samples: Updated emails for Pytorch launch.
* Added condition to create Featurestore if it doesn't exist
* Ran Linter Test
* Made changes mentioned in review
* Ran Linter Test
* Attached uuid to featurestore_id to avoid error while creating featurestore with existing name
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
less chance for an error and confusion in name clashing with the `datasets` pypi package also used in the notebook.
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Create explore_data_in_bigquery_with_workbench.ipynb
Adding in notebook for exploratory data analysis as part of "Data to AI" effort. See this Colab for what this notebook looks like after it is run: https://colab.research.google.com/drive/1JeNeMtj2A_5P5vo9wxSkrwHQM5JQSoAu. Submitting it with outputs shown since a lot of this about interactive visualization, which can inspire folks to use/read the notebook beyond just the code.
* Update CODEOWNERS
Adding owner for forthcoming exploratory data analysis notebook
* Update CODEOWNERS
* Updating exploratory data analysis notebook with latest updates from linter/review
* Updated notebook formatting to try to pass format test
* Trying again to pass notebook formatting test
* Trying again to pass notebook formatting test
* Trying again to pass notebook formatting test
* Linted version of notebook & better project picker
* Uploading linted version from ivanmkc@
* Update CODEOWNERS with EDA notebook
* Updated notebook w/ Tech Writer edits, re-ran all
* 1-2 minor text updates, try to pass linter again
* Trying w/ updated linted file from ivanmkc@
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new changes of build model notebook
* new changes of build model notebook
* linter test issues
* linter test issues
* review changes
* review changes
* review changes
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added new cell for is_colab condition
* added new cell for is_colab condition
* changes andrew comments
* changes andrew comments
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made minor changes
* Ran linter test
* Made changes mentioned in the review
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Changed prediction_output format from csv to jsonl to support generate_explanations
* ran linter test
* Made the changes as mentioned in the review
* Ran Linter Test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Removed try except blocks from cleanup section
* Ran Linter test
* Made changes mentioned in review and removed globals
* Removed an unused variable
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new notebook of classification beans
* new notebook of classification beans
* changes on andrew comments
* changes on andrew comments
* json file issues
* json file issue
* fixes issues from reviews: adds parameter descriptions, fixes clean up, textual updates and replaces gapic functionality
* ran linter test
* adds the missing machine-type parameter
* ran linter test
* retreives the metrics using dict method
* removes unused variables
* ran linter test
* replaces old code for resource-name with new one
* ran linter test
* updates fetching the resourceName from the training artifacts
* ran linter test
* adds wait method for endpoint deployment
* ran linter test
* removes the wait method
* ran linter test
* adds wait gcp resources component
* ran linter test
* updates colab link, removes wait component, sets force to true in delete endpoint step
* ran linter test
* adds endpoint.wait() method
* ran linter test
* moves model deletion down the endpoint deletion and removes endpoint.wait() method
* ran linter test
Co-authored-by: Krishna Chaitanya Movva <krishr2d2@gmail.com>
Co-authored-by: Krishna Chaitanya Movva <krishna.movva@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add bqml-vertexai-model-registry notebook
* Run linter
* Add notebook to CODEOWNERS file
* Update the links
* Ran linter again
* Rename bigquey-ml folder to model-registry
* Add bigquery-ml folder
* Moved the notebook
* Deleted folder
* Resolve comments
* Use UUID
* Remove using existing endpoint
* Remove try statement
* Get model sample based on model's name
* Use job.result to check query job status
* Run linter
* Fix dataset not found error by adding region in bq client creation
* Revert changes
* Fix bq bugs
* Run linter
* Resolve comments
* Display dataframe
* Updated the codeowner file
* fix: notebook template tuning
* fix: notebook template tuning
* fix: possible confusion on when to wait for the email notification
* fix: possible confusion on when to wait for the email notification
* adds the updated predictive-maintenance (managed)notebook from community to official folder
* ran linter test
* resubmitting during phase2
* ran linter test
* addresses the review comments: updates based on the new template, sets delete_bucket to False
* ran linter test
* replaces timestamp with uuid
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fixes tensorflow version, replaces timestamp with uuid, adds service-account and minor textual changes
* removes second defnition of random library
* ran linter test
* uncomments the user flag and updates the installation command
* ran linter test
* removes the extra backslash
* ran linter test
* updates the installation step to fix long running compatibility checks
* ran linter test
* updates the METADATA path during installation steps
* ran linter test
* adds google-api-core version in the installation
* ran linter test
* removes METADATA step during installation
* ran linter test
* updates google api-core & auth versions
* ran linter test
* fixes tensorflow version, replaces timestamp with uuid, adds service-account and minor textual changes
* removes second defnition of random library
* ran linter test
* uncomments the user flag and updates the installation command
* ran linter test
* removes the extra backslash
* ran linter test
* updates the installation step to fix long running compatibility checks
* ran linter test
* updates the METADATA path during installation steps
* ran linter test
* adds google-api-core version in the installation
* ran linter test
* removes METADATA step during installation
* ran linter test
* updates google api-core & auth versions
* ran linter test
* fixes the issues from review: cell descriptions, parameter definitions, tense changes, 3rd person --> 2nd person, list model after pipeline run
* ran linter test
* removes the METADATA hack and updates the installations
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* changed based on andrew review comments
* changed based on andrew review comments
* import library issues
* import library issues
* import issues
* import issues
* modified notebook
* modified notebook
* added new notebook
* added new notebook
* new auto_ml_text_classifiation
* new auto_ml_text_classifiation
* new automl text classification
* linter test
* linter test
* changes on andrew comments
* changes on andrew comments
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fixing links to open notebook - main and images
* linter test changes
* fixes the papermill execution error(hard-coded bucket link was the cause)
* ran linter test
* adds minor textual changes
* ran linter test
* fixes issues from review: future tense, copyright year, section placement, latest sdk methods, new updates from the template
* ran linter test
Co-authored-by: Manuel Amunategui <manuel.amunategui@springml.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* made changes
* made changes
* ran linter test
* made changes
* ran linter
* made changes
* ran linter
* changes suggested by andrew done
* ran linter
* replaced timestamp with uuid
* ran linter
* changed bucket creation command according to template
* ran linter
* changed text in overview
* changed region cell from markdown to code
* made changes
* replaced dataset from constant to a variable
* replaced constant dataset_id with a variable
* ran linter
* changed suggested by andrew done
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* adds the missing delete_bucket variable, adds steps to configure SERVICE_ACCOUNT
* removes unnecessary random import
* ran linter test
* removes the src folder dependency to run on Colab, adds the pipeline.wait step, updates the cleanup steps
* ran linter test
* fixed issues from review: section posistions, tense changes, section descriptions, template updates
* ran linter test
* Added matching engine notebook official
* Ran linter
* Added matching engine to .cloud-build/test_notebook_vm.txt
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new notebook of custom image classification
* new notebook of custome image classification
* andrew commented changes
* andrew commented changes
* andrew commented changes
* andrew commented changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fixes exception(reg-test), replaces timestamp with uuid, minor changes
* ran linter test
* resolved review comments: license year, Vertex AI SDK, dataset after objective and future tense
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* deleted file in community and added file in official folder
* renamed file
* ran linter test
* renamed file
* ran linter
* made changes
* ran linter test
* made changes
* ran linter test
* made changes
* ran linter test
* made changes
* ran linter
* made change
* ran linter test
* changes suggested by andrew done
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook according to notebook_template.
* ran linter
* Added create dataset step
* ran linter
* replaced hardcoded dataset name with a variable
* ran linter
* changes suggested by nadrew done
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* done UUID changes
* ran lintertest
* made changes in cleanup section
* ran lintertest
* done UUID changes
* ran lintertest
* made changes in cleanup section
* ran lintertest
* made changes in cleanup section
* Ran linter test
* made UUID changes
* RAN linter test
* Made Some minor Chanages notebook
* Ran Linter Test
* small changes made
* Ran Linter Test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook according to template, tensorflow library is used only for file opening so instead of tf we used bucket.blob.download_as_string()
* ran linter
* all changes requested by andrew are done
* cleared all outputs
* making changes to run linter test
* making changes to run linter test
* ran linter
* removed region text in create bucket step
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the configuring steps, replaces timestamp with uuid, expands the imports
* ran linter test
* separates the vertex-ai and bigquery initialization steps
* adds comment to cell_24
* adds blank line to cell_24:7:1
* adds blank line to cell_24:7:1
* ran linter test
* fixes aiplatform+bigquery installation compatibility issue
* ran linter test
* fixes installation dependencies
* ran linter test
* fixes the issues from the review: future tense, section positions, updates from the latest template
* ran linter test
* fixes the issues from the review: Code formatting, delete redundant cells, resource name changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Created spark notebook with test code
* Implemented experimental code for poly_view
* implemented the table
* WIP-notebook
* moved experimental to tutorial
* delete experimental code and rename the notebook
* clear all outputs
* fix: delete outputs again
* fix: changed template to the newer one
* fix: modify link on workbench
* add creating a cluster
* Completed Before you begin part
* Change execution sequence
* completed write back process
* change order that switching kernel goes top
* modify pie chart to bar chart
* Completed write up part
* WIP: adding description and comments.
* WIP: delete outputs
* fix: nbqa done
* Completed the first draft
* Delete %%time from cells
* Apply changes as per the code review from Brad except SparkSql
* delete outputs
* Change SparkSQL to Spark API
* change label to xlabel
* fix: description in Dataset
* fix: change BUCKET_NAME to DATASET_NAME, link for the region, and add descriptions and examples for frequency table
* fix: move normalize_name to top of the cell
* fix: refactor udf functions and descriptions
* fix: add link for udf
* fix: description in Dataset
* fix: grammer
* fix: add declared in the sentence
* fix: small changes on grammar
* fix: delete string
* fix: change UserDefinedFunction to udf
* fix: as per TW's code review
* fix: reorder REGION and TIMESTAMP under Creating a GCS bucket
* fix: lint
* chore: add bmiro@ as a codeowner of this doc
* fix: change the variable to fix a bug
* fix: as per TW's second review
* fix: add installation part to pass the ci test
* fix: url for links to main
* fix: delete disabling API since it doesn't affect to the pricing
* fix: add conditions for CI test
* fix: changed jar for testing
* fix: add gcs connector
* fix: change writing method to direct
* fix: delete gcs connector
* fix: specify java folder
* fix: change java_home location
* fix: change unzip instruction
* fix: delete mono_ranking_avg_bytes from testing env
* fix: delete frequency_table from testing env
* fix: delete GCS bucket part
* fix: as per Brad's review
* fix: lint
* fix: add version
* fix: change comment
* fix: add package due to switching the kernel
* fix: delete dataproc cluster command
* fix: change link
* fix: change link
* fix: revert cluster deletion command
* fix: change parenthesis to encoded character
* fix: change the name of the notebook
* fix: change timestamp to UUID
* fix: change the link and add description
* fix: change metadata
* replaces timestamp with uuid #create *task #tag1 replace the TIMESTAMP with uuid in other official notebooks
* ran linter test
* updates the uuid code
* fixes the comment style highlighted through linter-test
* ran linter test
* adds length argument to uuid function defaulted to 8
* ran linter test
* Start a new branch for TabNet tutorial.
* format lint
* Clean version Created using Colaboratory
* Remove unused import
* Remove unused import
* Created using Colaboratory
* add import
* Add visualization for TabNet
* add gcs
* run format
* reformat
* reformat
* Rmove the - file
* run linter
* run linter
* Update the objective and data section
* Update the link.
* Update data description.
* Update data description.
Co-authored-by: Long Le <longtle@google.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added notebook demonstrating Tensorboard Custom Training with custom container.
* Added notebook demonstrating Tensorboard Custom Training with custom container.
* update codeowners file
* call Vertex API instead of gapic API
* resolve comments for custom container
* resolve comments and format
* resolve comments
* using --quiet for delete doctor repository
* address more comments
Co-authored-by: gericdong <itseric@google.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added notebook demonstrating Tensorboard Custom Training with prebuilt container
* Added notebook demonstrating Tensorboard Custom Training with prebuilt container
* small fix
* address comments
* format
* update project id to be [your-project-id], and populate tensorboard resource name automatically
* Added notebook demonstrating Tensorboard Custom Training with prebuilt container
* Added notebook demonstrating Tensorboard Custom Training with prebuilt container
* small fix
* address comments
* format
* fix typo for service account
* use vertex api instead of gapic api
* address comments
* minor fix
* minor fix for link
* minor fix
* resolve more comments
* a minor fix for comment
* format the notebook
* resolve comments
* address more comments
Co-authored-by: gericdong <itseric@google.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added notebook
* Made changes in installing packages code cell
* Ran linter test
* fixes the installation issues and updates some textual content
* fixes the # formatting for comments
* ran linter test
* adds pyarrow to the packages
* ran linter test
* replaces timestamp with uuid
* ran linter test
* updates the uuid code
* fixes the comment style highlighted through linter-test
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
* notebook refresh from vertex ai sdk project
* linter test
* notebook refresh from vertex ai sdk project with trainer folder
* linter test
* add pyarrow
* modified notebook
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@gmail.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook
* small changes done
* modified notebook and moved notebook to official folder
* ran linter test
* resolved comments
* ran linter test
* sentence case heading added for some more text
* ran linter test
* made changes
* ran linter test
* made changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* multi_node_ddp_gloo_vertex_training_with_custom_container refresh and related trainer folder
* linter test
* various fixes and colab update
* linter test
* modified notebook
* modified notebook
* ran linter test
* Update multi_node_ddp_gloo_vertex_training_with_custom_container.ipynb
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* moving REGION up
* moving REGION up and csv file name
* fix: changed bucket URL to console
* removing TODOs from Tabnet notebook
* adding notebook and editing CODEOWNERS file
* fixing links
* adding to community because of test issue
* removing CODEOWNERS
* reverting CODEOWNERS
* linting?
* adding fixes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* fix: pinning
* fix: pinning
* adding new notebook on BQML online pred via Model Registry
* minor changes
* fixes to linting
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: autodiscover
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: autodiscover
* feat: autodiscover
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* fix: title
* fix: title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: auto-discover
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* update: tune title
* update: tune title
* feat: import automl tabular model
* feat: import automl tabular model
* feat: HPT for non-TF
* feat: HPT for non-TF
* fix: split guidelines from template
* fix: split guidelines from template
* fix: split guidelines from template
* upgrade: updates for new release
* upgrade: updates for new release
* New notebook to demonstrate how to enable TensorBoard Profiler
* Reformatted with Lint
* Changed service account handling and added a step to monitor job state
* Addressed review comments
* Addressed technical writerreview comments
* Addressed Ivan review comments
* Switched from GAPIC to Vertex SDK
* Removed an unused package
* Addressed review comments
* Add an example use case for custom prediction routines.
* Addressing some PR comments: reworded the readme in a few places, added a 'probe' command to build.py that sends a sample predict request, and pinned versions in requirements. Also fixed a bug where the artifacts_uri passed in during deployment on Vertex AI was not recognized as a directory.
* Autoformat code with black and fix a couple of typing errors.
* Addressing PR comments: Add deployment machine type to the config and add docstring to probe_prediction method.
* Update example to work with new LocalModel interface.
* Update example to work with new LocalModel interface.
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* Added a service account injection
* Revert this
* Added service account injection
* Fixed cloud build file
* Added gcloud version debug info
* Fixed sa injection
* Removed test file
* Revert CODEOWNERS
* google_cloud_pipeline_components_bqml_pipeline_demand_forecasting notebook
* linter test to check with andy
* google_cloud_pipeline_components_bqml_pipeline_demand_forecasting notebook
* linter test to check with andy
* merge
* linter test minor fails. check with andy
* add code owner
* minor changes
* remove components
* linter test passed
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* moving REGION up
* moving REGION up and csv file name
* fix: changed bucket URL to console
* removing TODOs from Tabnet notebook
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* experiments cuj1 notebook release
* add andy reviews
* linter test passed
* align notebooks
* linter test passed
* minor changes
* linter test passed
* minor changes
* linter test passed
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Currently, there is no kernel_name. Hence, the execution test cannot run for notebooks that don't have kernels defined in their .ipynb file.
Side-note: We should use lint to remove the kernel_name from .ipynb as well, as it could include info specific to the author's environment.
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* Added new Stage 1 notebook to create unlabelled
Vertex AI AutoML text entity extraction dataset
from collection of PDF files on Google Cloud Storage
* Linted notebook
* Removed TODOs
* Updates per PR comments
* Revered to multiple imports per line
* upgrade: current notebook standard
* upgrade: current notebook standard
* Update sdk_automl_tabular_binary_classification_batch_explain.ipynb
* fix: bucket nit
* upgrade: current notebook standard
* upgrade: current notebook standard
* Update google_cloud_pipeline_components_automl_tabular.ipynb
* fix: bucket
* fix: bucket
* upgrade: current notebook standard
* upgrade: current notebook standard
* Update google_cloud_pipeline_components_automl_images.ipynb
* fix: bucket
* fix: bucket
* feat: add example of import from dataframe
* feat: add example of import from dataframe
* update: change in required perms
* update: change in required perms
* review: updates from review
* review: updates from review
* updates: fine tuning
* feat: add example of import from dataframe
* feat: add example of import from dataframe
* update: change in required perms
* update: change in required perms
* review: updates from review
* review: updates from review
* feat: add example of import from dataframe
* feat: add example of import from dataframe
* update: change in required perms
* update: change in required perms
* Added official version of tabular regression batch bq
* Ran linter
* Fixed cleanup
* Additional cleanup
* Added working version
* Refactored and made work
* Ran linter and cleaned up
* Renamed aip to aiplatform
* Replaced online with batch
* Renamed notebook
* Ran linter and cleaned up
* Fixed bug
* Fixed SQL by adding backticks
* Install google-cloud-bigquery[all]
* Refactored datasets
* Ran linter
* Removed GCS cells
* Fixed import file
* Fixed SQL issues and added cleanup of training dataset
* Fixed hardcorded table
* Fixed brand names
* Fixed header
* Fixed results table
* Addressed tech writing review comments
* Ran linter
* added MLPerf benchmark reference and updated Criteo sample to use GRPC for stock containers
* addressed feedback for BERT sample and did similar changes to Criteo sample
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates and adds the telecom-subscriber-churn-prediction notebook to official and removes from the community
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* adds manual-scaling config and explanation to the notebook
* ran linter test after installing linter requirement updates
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Delete revised version
* Copy notebook from /notebooks/official
* Renamed base notebook
* Added first version by mansari@
* Updated to revised version by andrewferlitsch@
* Added author / reviewer information
Added sample files
* Updated CODEOWNERS
* Fixed links for opening the notebook in Colab/Github/Vertex
Removed installation of and references to pandas
Fixed gcs_annotation_file_name string reference
* Fixed the links for opening notebook (again!)
* Added attribution and references
* Removed references as covered at top
* Updated installation commands to match
* Updated Vertex AI region name to be more clear
* Added db-types dependency for pandas operations
that are now failing
* Minor edits
* Combined package installation and
added a note to ignore the errors
* Minor edit to message
* Added special thanks to andrewferlitsch@
* Updated andrewferlitsch@ GithHub profile link
* Updated sample files URLs to absolute URLs
* Removed empty code block
* Added additional attribution (and the one that did not make it into previous commit!)
* Fixed multi-package import formatting
Switched to pandas instead of db-dtypes
* Fixed isort issue
* Removed unnecessary pandas import
* Formatted the notebook with nbfmt
* Additional notebook formatting
* Updated link to open in Vertex AI Workbench
to point to raw .ipynb file
* Fixed lint issues
* Formatting changes
Added additional APIs to be enabled
* Fixed sample dataset link to point to public version
* Fixed linting issues
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Commit for lint
* Commit after name change
* Commit of notebook and CODEOWNERS
Added custom container with xai notebook, and explainable_ai folder in the community folder
* Removed extra copy of file
* Remove extra file
* Updated per review from DPE
* Lint test updates
* linter ran
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
When opening a PR, the CODEOWNERS and instructions hyperlinks throw a 404 error because they point to a URL that has been changed. Fixing these hyperlinks.
* fix: new template review updates
* fix: new template review updates
* mport -> import
* fix: dummy code sample required an import
dummy code samples (not otherwise part of template) -- should be self contained since they will be deleted by the template user.
* fix: added install for self-contained code passes ingestion test
* fix: example code (not otherwise part of template) not self-contained.
* fix: continue update so code example is self-contained
* update: numpy already installed in test env
* Delete revised version
* Copy notebook from /notebooks/official
* Renamed base notebook
* Added first version by mansari@
* Updated to revised version by andrewferlitsch@
* Added author / reviewer information
Added sample files
* Updated CODEOWNERS
* Fixed links for opening the notebook in Colab/Github/Vertex
Removed installation of and references to pandas
Fixed gcs_annotation_file_name string reference
* Fixed the links for opening notebook (again!)
* Added attribution and references
* Removed references as covered at top
* Updated installation commands to match
* Updated Vertex AI region name to be more clear
* Added db-types dependency for pandas operations
that are now failing
* Minor edits
* Combined package installation and
added a note to ignore the errors
* Minor edit to message
* Added special thanks to andrewferlitsch@
* Updated andrewferlitsch@ GithHub profile link
* Updated sample files URLs to absolute URLs
* Removed empty code block
* Added additional attribution (and the one that did not make it into previous commit!)
* Fixed multi-package import formatting
Switched to pandas instead of db-dtypes
* Fixed isort issue
* Removed unnecessary pandas import
* Formatted the notebook with nbfmt
* Additional notebook formatting
* Updated link to open in Vertex AI Workbench
to point to raw .ipynb file
* Fixed lint issues
* Formatting changes
Added additional APIs to be enabled
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Delete revised version
* Copy notebook from /notebooks/official
* Renamed base notebook
* Added first version by mansari@
* Updated to revised version by andrewferlitsch@
* Added author / reviewer information
Added sample files
* Updated CODEOWNERS
* Fixed links for opening the notebook in Colab/Github/Vertex
Removed installation of and references to pandas
Fixed gcs_annotation_file_name string reference
* Fixed the links for opening notebook (again!)
* Added attribution and references
* Removed references as covered at top
* Updated installation commands to match
* Updated Vertex AI region name to be more clear
* Added db-types dependency for pandas operations
that are now failing
* Minor edits
* Combined package installation and
added a note to ignore the errors
* Minor edit to message
* Added special thanks to andrewferlitsch@
* Updated andrewferlitsch@ GithHub profile link
* Updated sample files URLs to absolute URLs
* Removed empty code block
* Added additional attribution (and the one that did not make it into previous commit!)
* Fixed multi-package import formatting
Switched to pandas instead of db-dtypes
* Fixed isort issue
* Removed unnecessary pandas import
* Formatted the notebook with nbfmt
* Additional notebook formatting
* Updated link to open in Vertex AI Workbench
to point to raw .ipynb file
* Fixed lint issues
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* update: ModelEvaluation SDK
* update: ModelEvaluation SDK
* feat: matching engine
* feat: matching engine
* feat: wip: twotowers
* feat: wip: twotowers
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* update: ModelEvaluation SDK
* update: ModelEvaluation SDK
* feat: matching engine
* feat: matching engine
* Delete revised version
* Copy notebook from /notebooks/official
* Renamed base notebook
* Added first version by mansari@
* Updated to revised version by andrewferlitsch@
* Added author / reviewer information
Added sample files
* Updated CODEOWNERS
* Fixed links for opening the notebook in Colab/Github/Vertex
Removed installation of and references to pandas
Fixed gcs_annotation_file_name string reference
* Fixed the links for opening notebook (again!)
* Added attribution and references
* Removed references as covered at top
* Updated installation commands to match
* Updated Vertex AI region name to be more clear
* Added db-types dependency for pandas operations
that are now failing
* Minor edits
* Combined package installation and
added a note to ignore the errors
* Minor edit to message
* Added special thanks to andrewferlitsch@
* Updated andrewferlitsch@ GithHub profile link
* Updated sample files URLs to absolute URLs
* Removed empty code block
* Added additional attribution (and the one that did not make it into previous commit!)
* Fixed multi-package import formatting
Switched to pandas instead of db-dtypes
* Fixed isort issue
* Removed unnecessary pandas import
* Formatted the notebook with nbfmt
* Additional notebook formatting
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* update: ModelEvaluation SDK
* update: ModelEvaluation SDK
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* fix: check for workbench
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* fix: check for workbench
* fix: check for workbench
* Delete revised version
* Copy notebook from /notebooks/official
* Renamed base notebook
* Added first version by mansari@
* Updated to revised version by andrewferlitsch@
* Added author / reviewer information
Added sample files
* Updated CODEOWNERS
* Fixed links for opening the notebook in Colab/Github/Vertex
Removed installation of and references to pandas
Fixed gcs_annotation_file_name string reference
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: triton server
* feat: triton server
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: triton server
* feat: triton server
* feat: using Vision API for preprocessing data
* feat: using Vision API for preprocessing data
* feat: component vs job resource settings
* feat: component vs job resource settings
* feat: add colab code for docker
* feat: add colab code for docker
* fix: add colab support for docker
* fix: add colab support for docker
* fix: delete tmp BQ model
* fix: delete tmp BQ model
* feat: GAPIC->SDK for private endpoints
* feat: GAPIC->SDK for private endpoints
* fix: add IS_COLAB flag
* fix: add IS_COLAB flag
* fix: add IS_COLAB flag
* fix: add IS_COLAB flag
* fix: add IS_COLAB flag
* fix: add IS_COLAB flag
* fix: IS_COLAB
* fix: IS_COLAB
* fix: IS_COLAB
* fix: IS_COLAB
* fix: IS_COLAB
* feat: more model eval work
* feat: more model eval work
* made changes
* ran linter test
* added minor changes
* ran linter test
* made changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* made changes
* ran linter test
* made minor changes
* ran linter test
* made changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* changes made
* ran linter test
* made minor changes
* ran linter test
* made changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add minor changes to get_started_with_dataflow_pipeline_components
* minor changes and tested
* remove variable dataflow_wait_op, since not used in other places.
* remove variable dataflow_wait_op, since not used in other places
* removed unused import
* Run linter test
* Add gcloud project set when using colab
* Run linter
* correct anem toColab logo Run in Colab
* run linter
* correct the list of items to remove
* Run linter
* Run liinter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added vertexai notebook
* Ran the linter test
* Made the required changes based on the comments
* Ran linter test again
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: add colab code for docker
* feat: add colab code for docker
* fix: add colab support for docker
* fix: add colab support for docker
* fix: delete tmp BQ model
* fix: delete tmp BQ model
* Add minor changes to get_started_vertex_datasets notebook
* run linter
* Run Linter test
* Add google authentication cell for colab execution
* run linter
* correct the project id definition
* Run linter
* Add project id cell
* run liner
* Added imports that are required
* run linter test
* Add gcloud project set
* Run linter
* add linter run
* Running linter test
* run linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* adds the ml_ops/stage2/get_Started_bqml_training notebook to official and removes the same from community folder
* ran linter test
* updates the textual content
* ran linter test
* moves the updated stage2/get-started-bqml notebook back to the communit folder
* ran linter test
* updates the header according to the template
* ran linter test
* adds colab part and minor changes
* ran linter test
* retains the newly added code lost in conflicts
* ran linter test
* converts vertex to vertex ai
* ran linter test
* moves deletion of temporary BQ table outside delete_storage condition
* ran linter test
* adds bigquery-storage dependency to the notebook tested on Colab
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified file
* modified file
* ran linter test
* deleted file in community folder
* ran linter test
* changed folder name in links
* ran linter test
* resolved comments
* ran linter test
* modified file
* ran linter test
* deleted file in community folder
* modified notebook
* ran linter test
* renamed managed_notebooks folder to workbench
* ran linter
* resolved comments
* ran linter test
* pulled new version of branch
* ran linter again
* resolved comments
* ran linter test
* removed %%time and added --user flag to all pip installs
* ran linter test
* added debug statements
* ran linter test
* added verbose
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the get-started-vertex-experiments notebook in the community folder
* ran linter test
* adds the costs section
* ran linter test
* adds colab part and minor changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the get-started-automl-training notebook
* ran linter test
* adds --user flag during installation step
* ran linter test
* updates the clean up step
* ran linter test
* adds colab part and minor changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* adds the updated mlops-stage1-get_started_bq_datasets notebook to the official branch and removes it from the community branch
* removes second instance of create_bigquery_dataset() function
* ran linter test successfully
* adds costs section
* ran linter test successfully
* updates the dependency installation step and GCS bucket explanation
* ran linter test
* adds pyarrow to the installations
* ran linter test
* removes unnecessary installations + adds silent install + moves the notebook back from official to community folder + adds IS_TESTING condition during clean-up
* ran linter test
* resolves the move up?? comment and builtin comment
* ran linter test
* updates textual content about package installation
* ran linter test
* resolves the future-tense and dependency installations comments
* ran linter test
* updates the header according to template
* ran linter test
* adds Colab part and minor changes
* ran linter test
* updates the enable apis step in setup project section
* ran linter test
* changes vertex to vertex ai
* ran linter test
* moves temporary BQ table deletion outside the delete_storage condition
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified file
* made linter changes
* made changes
* linter test issues resolved
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Start a new branch for TabNet tutorial.
* Clean version Created using Colaboratory
* Created using Colaboratory
* Remove unused import
* format lint
* Remove unused import
* Created using Colaboratory
* Remove unused import
* Fix the first iteration of reviewing except the image location
* add import
* Update the image to vertex
* Force delete the BQ to avoid waiting
* Add codeowner for TabNet
* Remove - from folder name
* Add deployment in Vertex AI
* Add delete the resource
Co-authored-by: Long Le <longtle@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* minor changes made to notebook
* ran lintertest
* added coment
* ran lintertest
* made changes sujjested in git review
* ran linter test
* changes done as per review
* ran lintertest
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* adding Vertex AI optimized TensorFlow runtime samples
* updated URLs, added code to import benchmark.py
* fixed 'Open in Vertex AI Workbench' links
* final cleanup
* added @vlasesnkoalexey as an owner of notebooks/community/vertex_endpoints/optimized_tensorflow_runtime
* rerun linter
* updates the get-started-automl-pipelines in the mlops/stage3 folder inside community folder
* replaces the unused variable deploy_op with _
* removes the unused Model import
* adds the costs section
* ran linter test
* adds Colab part to the notebook
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the mlops/stage3/get_started_with_kubeflow_pipelines.ipynb notebook
* fixes unused variables
* fixes conflicting function names
* ran linter test
* adds colab changes
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates: adds delete-batch code + adds colab part + updates textual content
* sets delete_bucket to False as default
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates get-started-featurestore notebook in mlops/stage2
* ran linter test
* adds the colab changes and minor textual changes
* ran linter test
* adds the colab changes to the notebook and minor textual changes
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified file
* run linter test
* run in colab
* added coment
* run lintertest
* changed as per review coments
* ran lintertest
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add new notebook version
* linter test done. passed
* simple fix
* add images
* linter test done
* fix image name
* fix file name in the notebook
* linter code run. done
* linter code run. done
* name fixes. linter code done. passed.
* fix project id and region
* test done
* format
* linter test done.
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the mlops/stage3/get_started_with_kubeflow_pipelines.ipynb notebook
* fixes unused variables
* fixes conflicting function names
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the get-started-automl-pipelines in the mlops/stage3 folder inside community folder
* replaces the unused variable deploy_op with _
* removes the unused Model import
* adds the costs section
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook
* linter test issues resolved
* ran linter test
* added colab option
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates the get-started-automl-training notebook
* ran linter test
* adds --user flag during installation step
* ran linter test
* updates the clean up step
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* add dataproc components tabular notebook
* add src package
* add codeowner
* linter test done. almost ok except for the flake8 E231. need to follow up with andy
* fix typos based on andy review
* linter test done. review with andy
* hyperparameter_tuning_op fix
* project name
* add delete repo
* fix image
* linter test done
* fix image reference
* fix typo image reference
* minor fixes
* karl fixes
* karl fixes on links
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* add new notebook version
* linter test done. passed
* simple fix
* add images
* linter test done
* fix image name
* fix file name in the notebook
* linter code run. done
* linter code run. done
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* feat: add notebook for FastAPI server
* feat: add notebook for FastAPI server
* feat: add notebook for FastAPI server
* feat: notebook for private endpoints
* feat: notebook for private endpoints
* license tweak
* remove unused import json
* fixed a missing import
* add sleep(300) to test my theory
* add missing newline
* put sleep behind a conditional
* revert new notebook name to previous name for compatibility with extant links
* fix quoting syntax error
* reformatted due to relint
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* Add example using auto scale
* Format with nbqa
* Complete sentence
* Give the sample for CreateFeaturestoreRequest only, instead of actual call to create FS to avoid duplicate resource or extra cleanup.
* Remove unused import
* Remove version pinning
* Add try block to avoid error when test was not cleanup properly.
* Lint
* Fix import
* Merge print lro result with the call in the same try block
* Fix typo
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Morgan Du <morgandu@google.com>
In "Step by Step Guide to Building Reinforcement Learning Applications using Vertex AI", the replay_buffer was unbound if training_data_spec_transformation_fn was provided to the train() function
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* fix: reconfigure endpoint
* fix: reconfigure endpoint
* feat: add get started with TF serving functions
* feat: add get started with TF serving functions
* feat: notebook for TF Serving
* feat: notebook for TF Serving
* bqml pipeline notebook for official blog
* add notebook to CODEOWNERS
* add author name
* requirements commenting fix
* linter test done
* unpin the maintenance version for kfp
* fix: install conflicts
* Update google_cloud_pipeline_components_bqml_text.ipynb
* add karl fix
* lint test done
* add andy fixes
* linter test done
* flip order of the special METADATA fix
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@gmail.com>
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* fix: reconfigure endpoint
* fix: reconfigure endpoint
* feat: add get started with TF serving functions
* feat: add get started with TF serving functions
* Ml ops 7v2 (#429)
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* Update README.md
* Add files via upload
* Update README.md
* Delete stage6b.png
* Delete stage6c.png
* Add files via upload
* Delete stage6b.png
* Delete stage6c.png
* Add files via upload
* Delete stage6b.png
* feat: new notebook on endpoints (#430)
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* wrong location
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* fix: links
* fix: title
* fix: example for reconfiguring the traffic split (#431)
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* fix: reconfigure endpoint
* fix: reconfigure endpoint
* Add section on granting Dataproc IAM roles.
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@gmail.com>
Co-authored-by: Win Woo <wwoo@google.com>
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* fix: reconfigure endpoint
* fix: reconfigure endpoint
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: workaround for blocking issue
* update: workaround for blocking issue
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* update: more details to objective on endpoint notebook
* feat: add data labeling notebook
* feat: add data labeling notebook
* update: details on dsl.Condition
* update: details on dsl.Condition
* feat: add TFHub model example
* feat: add TFHub model example
help="The GCP region. This is used to inject a variable value into the notebook before running.",
required=True,
)
parser.add_argument(
"--variable_service_account",
type=str,
help="A service account. This is used to inject a variable value into the notebook before running. This is not the account that will run the notebook.",
required=True,
)
parser.add_argument(
"--variable_vpc_network",
type=str,
help="The full VPC network name. See https://cloud.google.com/compute/docs/networks-and-firewalls#networks. Format is projects/{project}/global/networks/{network}, where {project} is a project number, as in '12345', and {network} is network name. See <https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert> for details. This is used to inject a variable value into the notebook before running.",
required=False,
)
parser.add_argument(
"--staging_bucket",
type=str,
@@ -73,6 +86,13 @@ parser.add_argument(
help="The GCP directory for storing executed notebooks.",
"**_NOTE_**: This notebook has been tested in the following environment:\n",
"\n",
"* Python version = 3.7\n",
"\n",
"**The following steps are required, regardless of your notebook environment.**\n",
"\n",
"1. [Select or create a Google Cloud project](https://console.cloud.google.com/cloud-resource-manager). When you first create an account, you get a $300 free credit towards your compute/storage costs.\n",
"\n",
"1. [Make sure that billing is enabled for your project](https://cloud.google.com/billing/docs/how-to/modify-project).\n",
"\n",
"1. [Enable the Vertex AI API and Compute Engine API](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com,compute_component).\n",
"\n",
"1. If you are running this notebook locally, you will need to install the [Cloud SDK](https://cloud.google.com/sdk).\n",
"\n",
"1. Enter your project ID in the cell below. Then run the cell to make sure the\n",
"Cloud SDK uses the right project for all the commands in this notebook.\n",
"\n",
"**Note**: Jupyter runs lines prefixed with `!` as shell commands, and it interpolates Python variables prefixed with `$` into these commands."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "c6516f90311b"
},
"outputs": [],
"source": [
"# test if the right python version is being used\n",
If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
--- YOUR PR SUMMARY GOES HERE ---
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [ ] Use the [notebook template](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [ ] Follow the style and grammar rules outlined in the above notebook template.
- [ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [ ] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/contributing.md#code-quality-checks).
- [ ] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [ ] This notebook has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/CODEOWNERS) file under `# Official Notebooks` section, pointing to the author or the author's team.
- [ ] This notebook has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
If you are opening a PR for `Community Notebooks` under the [notebooks/community](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/community) folder:
- [ ] This notebook has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/CODEOWNERS) file under the `# Community Notebooks` section, pointing to the author or the author's team.
- [ ] Passes all the required formatting and linting checks. You can locally test with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/contributing.md#code-quality-checks).
2.If you are opening a PR for `Community Notebooks` under the [notebooks/community](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/community) folder:
- [ ] This notebook has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/CODEOWNERS) file under the `Community Notebooks` section, pointing to the author or the author's team.
- [ ] Passes all the required formatting and linting checks. You can locally test with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
If you are opening a PR for `Community Content` under the [community-content](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/community-content) folder:
<br>
3. If you are opening a PR for `Community Content` under the [community-content](https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/community-content) folder:
- [ ] Make sure your main `Content Directory Name` is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
- [ ] The main content directory has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/CODEOWNERS) file under the `# Community Content` section, pointing to the author or the author's team.
- [ ] Passes all the required formatting and linting checks. You can locally test with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/contributing.md#code-quality-checks).
- [ ] The main content directory has been added to the [CODEOWNERS](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/community-content/CODEOWNERS) file under the `Community Content` section, pointing to the author or the author's team.
- [ ] Passes all the required formatting and linting checks. You can locally test with these [instructions](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
CPR ([custom prediction routines](https://github.com/googleapis/python-aiplatform/blob/main/google/cloud/aiplatform/prediction/README.md)) is a framework designed by Google Cloud developers to make it easier to combine machine learning models with custom preprocessing and postprocessing logic in a real-time serving application.
## Using this example
This code is a self-contained example of a custom model server project built using CPR.
As is, you can use it to serve the ViT-Small image classification model from Ross Wightman's [`timm`](https://github.com/rwightman/pytorch-image-models) library of image model implementations in PyTorch. Both CPU and GPU are supported.
You can also consider using the code here as a template for your own CPR project if you want to use a different model from `timm`, a different PyTorch model, or an entirely different framework.
### Requirements
In order to use this example, you'll need Docker and Python 3 installed on your system.
To get started, first create a virtual environment in an empty directory:
```sh
mkdir cpr-example
python3 -m venv cpr-example
cd cpr-example &&source bin/activate
```
Then, clone the [vertex-ai-samples repo](https://github.com/GoogleCloudPlatform/vertex-ai-samples) in that directory:
The `TimmPredictor` class in `timm_serving/predictor.py` implements most of the important logic for the server.
-`load(artifacts_dir)`: The predictor's `load` method is called when the server starts up in order to set up the predictor, usually by loading model weights and any artifacts needed for preprocessing and postprocessing. In this example, we initialize the saved model from the `state_dict.pth` file located inside the `artifacts_dir` folder and create the preprocessing transform from the model config.
-`preprocess`, `predict`, `postprocess`: These methods are applied in sequence to the deserialized JSON data from each request.
-`preprocess` decodes images from base64 and apply cropping, scaling and normalizing transforms.
-`predict` runs the ViT-Small model on the preprocessed images and returns class scores.
-`postprocess` finds the top five classes and packs the class names, probabilities, and indices in a serializable result.
### Building the container
To build the model server locally, run the build command:
```sh
python build.py build
```
You can edit configuration values such as the model server's base image, the name and tag assigned to the image, and the path where model weights are stored locally.
When you run the build command, model weights are downloaded and the model server container is built.
### Running local tests
`test.py` contains a suite of unit tests for the predictor as well as end-to-end tests for the model server.
- The infamous [mandrill](https://commons.wikimedia.org/wiki/File:Wikipedia-sipi-image-db-mandrill-4.2.03.png)
### Deploying to Vertex AI
Before uploading or deploying the container, you'll need to modify `config.py` to set appropriate values for:
-`project_id`: Your GCP project id.
-`region`: Region where the model will be uploaded and deployed.
-`repository`: [Artifact Registry repository](https://cloud.google.com/artifact-registry/docs/repositories/create-repos) in your project where the container image will be uploaded.
-`artifacts_gcs_dir`: Folder in a [Google Cloud Storage bucket](https://cloud.google.com/storage/docs/creating-buckets) where the model weights will be uploaded.
Once this is done, first upload the model:
```sh
python build.py upload
```
Then deploy it:
```sh
python build.py deploy
```
If you run the deploy command again, it will create a new endpoint. If you want to undeploy the model, you can do so using the Vertex AI dashboard on the Google Cloud console, or use `gcloud ai endpoints undeploy` from the command line.
After deploying successfully, you can run `python build.py probe` to send a sample request to the deployed model.
_parser = argparse.ArgumentParser(prog='Train logistic regression model using scikit learn from CSV', description='Train logistic regression model using Scikit-learn')
raise TypeError('Value "{}" has type "{}" instead of str.'.format(str(str_value), str(type(str_value))))
return str_value
import argparse
_parser = argparse.ArgumentParser(prog='Deploy model to endpoint for Google Cloud Vertex AI Model', description='Deploys Google Cloud Vertex AI Model to a Google Cloud Vertex AI Endpoint.')
# Checking whether the URI points to a single blob, a directory or a URI pattern
# URI points to a blob when that URI does not end with slash and listing that URI only yields the same URI
if [[ "$uri" != */ ]] && (gsutil ls "$uri" | grep --fixed-strings --line-regexp "$uri"); then
mkdir -p "$(dirname "$output_path")"
gsutil -m cp -r "$uri" "$output_path"
else
mkdir -p "$output_path" # When source path is a directory, gsutil requires the destination to also be a directory
gsutil -m rsync -r "$uri" "$output_path" # gsutil cp has different path handling than Linux cp. It always puts the source directory (name) inside the destination directory. gsutil rsync does not have that problem.
# PyTorch Deployment on Google Cloud: Text Classification
**This is an Experimental release**, covered by the Pre-GA Offerings Terms of your Google Cloud Platform [Terms of Service](https://cloud.google.com/terms).
Experiments are focused on validating a prototype and are not guaranteed to be released. They are not intended for production use or covered by any SLA, support obligation, or deprecation policy and might be subject to backward-incompatible changes.
**Kindly drop us a note before you run any scale tests.**
**Do not hesitate to contact vertexai-prediction-preview-feedback@google.com if you have any questions or run into any issues.**
The projects need to be added to the allowlist in order to deploy PyTorch models using Vertex AI Prediction pre-built PyTorch images. If you are interested in the feature, please send an email to vertexai-prediction-preview-feedback@google.com to provide your project numbers OR project ids.
## Overview
In the PyTorch on Google Cloud series of blog posts, we aim to share how to deploy PyTorch models at scale on [Vertex AI](https://cloud.google.com/vertex-ai).
This tutorial on text classification shows how to deploy a PyTorch based text classification model on [Vertex AI](https://cloud.google.com/vertex-ai/docs/start/client-libraries#python) using Vertex SDK and [`gcloud ai`](https://cloud.google.com/sdk/gcloud/reference/beta/ai).
## Notebooks
| <h4>Notebook</h4> | <h4>Description</h4> |
| :-------- | :------- |
| [pytorch-text-classification-vertex-ai-deploy.ipynb](./pytorch-text-classification-vertex-ai-deploy.ipynb) | Notebook to show deploying a PyTorch model on Vertex AI |
## Folders
| <h4>Folder Name</h4> | <h4>Description</h4> |
| :-------- | :------- |
| [`predictor`](./predictor) | Folder with custom prediction handler to deploy a PyTorch model to Vertex Prediction. In the [notebook](./pytorch-text-classification-vertex-ai-deploy.ipynb), this folder is used for deploying a PyTorch model on Vertex AI using Vertex Prediction pre-built PyTorch images |
"The `datasets` object itself is [`DatasetDict`](https://huggingface.co/docs/datasets/package_reference/main_classes.html#datasetdict), which contains one key for the training, validation and test set."
"The `dataset` object itself is [`DatasetDict`](https://huggingface.co/docs/datasets/package_reference/main_classes.html#datasetdict), which contains one key for the training, validation and test set."
]
},
{
@@ -681,12 +681,12 @@
"source": [
"print(\n",
" \"Total # of rows in training dataset {} and size {:5.2f} MB\".format(\n",
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.