Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

docs: add samples from tables/automl #54

Merged
merged 45 commits into from Aug 13, 2020

Commits on Aug 13, 2020

  1. Tables Notebooks [(#2090)](GoogleCloudPlatform/python-docs-samples#2090)

    * initial commit
    * update census
    * update notebooks
    sirtorry authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    057a325 View commit details
    Browse the repository at this point in the history
  2. remove the reference to a bug [(#2100)](GoogleCloudPlatform/python-do…

    …cs-samples#2100)
    
    as the bug has been fixed in the public client lib
    merla18 authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    6c8a34f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ac5f06a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    dad4ebf View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    be272ea View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    3e1eae6 View commit details
    Browse the repository at this point in the history
  7. Rename census_income_prediction.ipynb to getting_started_notebook.ipy…

    …nb [(#2115)](GoogleCloudPlatform/python-docs-samples#2115)
    
    renaming the notebooks as Getting Started (will be in sync with the doc). It will be great if the folder could be renamed too
    merla18 authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    eed69e3 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    bef66e7 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    d7498ca View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    4e29670 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    81f2a34 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    6d7ec03 View commit details
    Browse the repository at this point in the history
  13. updated readme for support Jupyter [(#2336)](GoogleCloudPlatform/pyth…

    …on-docs-samples#2336)
    
    to approve with the updated notebook supporting jupyter
    merla18 authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    482211a View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    cbb9685 View commit details
    Browse the repository at this point in the history
  15. conversion of notebook for jupyter/Colab [(#2338)](GoogleCloudPlatfor…

    …m/python-docs-samples#2338)
    
    conversion of the notebook to support both Jupyter and Colab + bug fixes
    merla18 authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    aaea837 View commit details
    Browse the repository at this point in the history
  16. [BLOCKED] AutoML Tables: Docs samples updated to use new (pending) cl…

    …ient [(#2276)](GoogleCloudPlatform/python-docs-samples#2276)
    
    * AutoML Tables: Docs samples updated to use new (pending) client
    
    * Linter warnings
    lwander authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    7c23e1d View commit details
    Browse the repository at this point in the history
  17. add product recommendation for automl tables notebook [(#2257)](Googl…

    …eCloudPlatform/python-docs-samples#2257)
    
    * added colab filtering notebook
    
    * update to tables client
    
    * update readme
    
    * tell user to restart kernel for automl
    TheMichaelHu authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    48bc7d2 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    142261e View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    af31274 View commit details
    Browse the repository at this point in the history
  20. fix problems with automl docs [(#2501)](GoogleCloudPlatform/python-do…

    …cs-samples#2501)
    
    Today when we try to use the function `batch_predict` follow the docs we receive and error saying: `the paramaters should be a pandas.Dataframe` it’s happens because the first parameter of the function `batch_predict` is a pandas.Dataframe. To solve this problem we need to use de named parameters of python.
    alefhsousa authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    fe2e911 View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    47e5801 View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    d0a2d74 View commit details
    Browse the repository at this point in the history
  23. feat(tables): update samples to show explainability [(#2523)](GoogleC…

    …loudPlatform/python-docs-samples#2523)
    
    * show xai
    
    * local feature importance
    
    * use updated client
    
    * use fixed library
    
    * use new model
    sirtorry authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    aa86fbc View commit details
    Browse the repository at this point in the history
  24. Auto-update dependencies. [(#2005)](GoogleCloudPlatform/python-docs-s…

    …amples#2005)
    
    * Auto-update dependencies.
    
    * Revert update of appengine/flexible/datastore.
    
    * revert update of appengine/flexible/scipy
    
    * revert update of bigquery/bqml
    
    * revert update of bigquery/cloud-client
    
    * revert update of bigquery/datalab-migration
    
    * revert update of bigtable/quickstart
    
    * revert update of compute/api
    
    * revert update of container_registry/container_analysis
    
    * revert update of dataflow/run_template
    
    * revert update of datastore/cloud-ndb
    
    * revert update of dialogflow/cloud-client
    
    * revert update of dlp
    
    * revert update of functions/imagemagick
    
    * revert update of functions/ocr/app
    
    * revert update of healthcare/api-client/fhir
    
    * revert update of iam/api-client
    
    * revert update of iot/api-client/gcs_file_to_device
    
    * revert update of iot/api-client/mqtt_example
    
    * revert update of language/automl
    
    * revert update of run/image-processing
    
    * revert update of vision/automl
    
    * revert update testing/requirements.txt
    
    * revert update of vision/cloud-client/detect
    
    * revert update of vision/cloud-client/product_search
    
    * revert update of jobs/v2/api_client
    
    * revert update of jobs/v3/api_client
    
    * revert update of opencensus
    
    * revert update of translate/cloud-client
    
    * revert update to speech/cloud-client
    
    Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
    Co-authored-by: Doug Mahugh <dmahugh@gmail.com>
    3 people authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    59bd0cb View commit details
    Browse the repository at this point in the history
  25. Update dependency google-cloud-automl to v0.10.0 [(#3033)](GoogleClou…

    …dPlatform/python-docs-samples#3033)
    
    Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
    Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
    3 people committed Aug 13, 2020
    Copy the full SHA
    12e24d4 View commit details
    Browse the repository at this point in the history
  26. Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…

    …ples#2806)
    
    * chore(deps): update dependency requests to v2.23.0
    
    * Simplify noxfile and add version control.
    
    * Configure appengine/standard to only test Python 2.7.
    
    * Update Kokokro configs to match noxfile.
    
    * Add requirements-test to each folder.
    
    * Remove Py2 versions from everything execept appengine/standard.
    
    * Remove conftest.py.
    
    * Remove appengine/standard/conftest.py
    
    * Remove 'no-sucess-flaky-report' from pytest.ini.
    
    * Add GAE SDK back to appengine/standard tests.
    
    * Fix typo.
    
    * Roll pytest to python 2 version.
    
    * Add a bunch of testing requirements.
    
    * Remove typo.
    
    * Add appengine lib directory back in.
    
    * Add some additional requirements.
    
    * Fix issue with flake8 args.
    
    * Even more requirements.
    
    * Readd appengine conftest.py.
    
    * Add a few more requirements.
    
    * Even more Appengine requirements.
    
    * Add webtest for appengine/standard/mailgun.
    
    * Add some additional requirements.
    
    * Add workaround for issue with mailjet-rest.
    
    * Add responses for appengine/standard/mailjet.
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    2 people authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    b119f72 View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    184930a View commit details
    Browse the repository at this point in the history
  28. automl: tables code sample clean-up [(#3571)](GoogleCloudPlatform/pyt…

    …hon-docs-samples#3571)
    
    * delete unused tables_dataset samples
    
    * delete args code associated with unused automl_tables samples
    
    * delete tests associated with unused automl_tables samples
    
    * restore get_dataset method/yargs without region tagging
    
    * Restore update_dataset methodsa without region tagging
    
    Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
    Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
    3 people authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    f87fc01 View commit details
    Browse the repository at this point in the history
  29. add example of creating AutoML Tables client with non-default endpoin…

    …t ('new' sdk) [(#3929)](GoogleCloudPlatform/python-docs-samples#3929)
    
    * add example of creating client with non-default endpoint
    
    * more test file cleanup
    
    * move connectivity print stmt out of test fn
    
    Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
    Co-authored-by: Torry Yang <sirtorry@users.noreply.github.com>
    3 people authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    1224e5e View commit details
    Browse the repository at this point in the history
  30. Copy the full SHA
    a13cdb2 View commit details
    Browse the repository at this point in the history
  31. chore(deps): update dependency google-cloud-automl to v1 [(#4127)](Go…

    …ogleCloudPlatform/python-docs-samples#4127)
    
    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [google-cloud-automl](https://togithub.com/googleapis/python-automl) | major | `==0.10.0` -> `==1.0.1` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-automl</summary>
    
    ### [`v1.0.1`](https://togithub.com/googleapis/python-automl/blob/master/CHANGELOG.md#&#8203;101-httpswwwgithubcomgoogleapispython-automlcomparev100v101-2020-06-18)
    
    [Compare Source](https://togithub.com/googleapis/python-automl/compare/v0.10.0...v1.0.1)
    
    </details>
    
    ---
    
    ### Renovate configuration
    
    :date: **Schedule**: At any time (no schedule defined).
    
    :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox.
    
    :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
    renovate-bot authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    9b4d162 View commit details
    Browse the repository at this point in the history
  32. Copy the full SHA
    7bea599 View commit details
    Browse the repository at this point in the history
  33. samples: Automl table batch test [(#4267)](GoogleCloudPlatform/python…

    …-docs-samples#4267)
    
    * added rtest req.txt
    
    * samples: added automl batch predict test
    
    * added missing package
    
    * Update tables/automl/batch_predict_test.py
    
    Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
    
    Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
    munkhuushmgl and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    a690cba View commit details
    Browse the repository at this point in the history
  34. samples: fixed wrong format on GCS input Uri [(#4270)](GoogleCloudPla…

    …tform/python-docs-samples#4270)
    
    ## Description
    
    Current predict sample indicates that it can multiples GCS URI inputs but it should be singular.
    
    ## Checklist
    - [X] Please **merge** this PR for me once it is approved.
    munkhuushmgl authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    aa48046 View commit details
    Browse the repository at this point in the history
  35. chore(deps): update dependency pytest to v5.4.3 [(#4279)](GoogleCloud…

    …Platform/python-docs-samples#4279)
    
    * chore(deps): update dependency pytest to v5.4.3
    
    * specify pytest for python 2 in appengine
    
    Co-authored-by: Leah Cole <coleleah@google.com>
    2 people authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    4f6f978 View commit details
    Browse the repository at this point in the history
  36. Update automl_tables_predict.py with batch_predict_bq sample [(#4142)](

    …GoogleCloudPlatform/python-docs-samples#4142)
    
    Added a new method `batch_predict_bq` demonstrating running batch_prediction using BigQuery.
    Added notes in comments about asynchronicity for `batch_predict` method.
    
    The region `automl_tables_batch_predict_bq` will be used on cloud.google.com (currently both sections for GCS and BigQuery use the same sample code which is incorrect).
    
    Fixes #4141
    
    Note: It's a good idea to open an issue first for discussion.
    
    - [x] Please **merge** this PR for me once it is approved.
    evil-shrike authored and busunkim96 committed Aug 13, 2020
    Copy the full SHA
    784d0cc View commit details
    Browse the repository at this point in the history
  37. Copy the full SHA
    cab6955 View commit details
    Browse the repository at this point in the history
  38. chore: exclude notebooks

    busunkim96 committed Aug 13, 2020
    Copy the full SHA
    b6a236d View commit details
    Browse the repository at this point in the history
  39. chore: update templates

    busunkim96 committed Aug 13, 2020
    Copy the full SHA
    c5720e8 View commit details
    Browse the repository at this point in the history
  40. Copy the full SHA
    c398641 View commit details
    Browse the repository at this point in the history
  41. Copy the full SHA
    f0362bb View commit details
    Browse the repository at this point in the history
  42. chore: fix tables client

    busunkim96 committed Aug 13, 2020
    Copy the full SHA
    b83ea49 View commit details
    Browse the repository at this point in the history
  43. Copy the full SHA
    d0e251d View commit details
    Browse the repository at this point in the history
  44. test: fix unit tests

    busunkim96 committed Aug 13, 2020
    Copy the full SHA
    ebb30b0 View commit details
    Browse the repository at this point in the history
  45. Merge branch 'add-tables-samples' of github.com:busunkim96/python-aut…

    …oml into add-tables-samples
    busunkim96 committed Aug 13, 2020
    Copy the full SHA
    d0efc69 View commit details
    Browse the repository at this point in the history