{"id":15158602,"url":"https://github.com/googlecloudplatform/cloudml-samples","last_synced_at":"2025-09-30T08:31:54.596Z","repository":{"id":43328252,"uuid":"69576253","full_name":"GoogleCloudPlatform/cloudml-samples","owner":"GoogleCloudPlatform","description":"Cloud ML Engine repo. Please visit the new Vertex AI samples repo at https://github.com/GoogleCloudPlatform/vertex-ai-samples","archived":true,"fork":false,"pushed_at":"2021-12-17T01:37:36.000Z","size":86306,"stargazers_count":1532,"open_issues_count":0,"forks_count":851,"subscribers_count":97,"default_branch":"main","last_synced_at":"2025-04-19T22:18:12.774Z","etag":null,"topics":["cloudml","cloudml-samples","gcp","keras","keras-tensorflow","samples"],"latest_commit_sha":null,"homepage":"https://cloud.google.com/ai-platform/docs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2016-09-29T14:36:12.000Z","updated_at":"2025-04-19T07:42:31.000Z","dependencies_parsed_at":"2022-08-31T13:53:39.650Z","dependency_job_id":null,"html_url":"https://github.com/GoogleCloudPlatform/cloudml-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GoogleCloudPlatform/cloudml-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloudml-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloudml-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloudml-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloudml-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/cloudml-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloudml-samples/sbom","scorecard":{"id":57891,"data":{"date":"2025-08-11","repo":{"name":"github.com/GoogleCloudPlatform/cloudml-samples","commit":"efddc4a9898127e55edc0946557aca4bfaf59705"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":9,"reason":"Found 29/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: chainer/containers/quickstart/mnist/Dockerfile:16: pin your Docker image by updating chainer/chainer:v5.4.0-python2 to chainer/chainer:v5.4.0-python2@sha256:f63879e26110e0e8312fa7f9eae1548be42125a5137c62350d8d66c505eda3e4","Warn: containerImage not pinned by hash: pytorch/containers/custom_container/Dockerfile:16: pin your Docker image by updating pytorch/pytorch:1.2-cuda10.0-cudnn7-runtime to pytorch/pytorch:1.2-cuda10.0-cudnn7-runtime@sha256:c8d372e59b86104cf1ffa859b58fada30248a9689cd6e446d06134c9bad52e77","Warn: containerImage not pinned by hash: pytorch/containers/hp_tuning/Dockerfile:16: pin your Docker image by updating pytorch/pytorch:1.2-cuda10.0-cudnn7-runtime to pytorch/pytorch:1.2-cuda10.0-cudnn7-runtime@sha256:c8d372e59b86104cf1ffa859b58fada30248a9689cd6e446d06134c9bad52e77","Warn: containerImage not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile:16: pin your Docker image by updating python:2.7.16-jessie to python:2.7.16-jessie@sha256:ac92238de3bbb6cbfb5d68690c2c6d9cef89c85cb59d6091f0e836bcb3ba4e6e","Warn: containerImage not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile-gpu:16","Warn: containerImage not pinned by hash: tensorflow/containers/unsupported_runtime/Dockerfile:16: pin your Docker image by updating tensorflow/tensorflow:nightly to tensorflow/tensorflow:nightly@sha256:dcbecef5d3a2e69f3a1bdd320bf9a17428cad5741339d5478e4dab4cd7899e35","Warn: pipCommand not pinned by hash: chainer/containers/quickstart/mnist/Dockerfile:29","Warn: pipCommand not pinned by hash: pytorch/containers/custom_container/Dockerfile:20","Warn: pipCommand not pinned by hash: pytorch/containers/hp_tuning/Dockerfile:20","Warn: pipCommand not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile:20","Warn: pipCommand not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile:24","Warn: pipCommand not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile-gpu:26-29","Warn: pipCommand not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile-gpu:34","Warn: pipCommand not pinned by hash: pytorch/containers/quickstart/mnist/Dockerfile-gpu:38","Warn: pipCommand not pinned by hash: tensorflow/containers/unsupported_runtime/Dockerfile:21","Warn: pipCommand not pinned by hash: .kokoro/tests/run_tests.sh:68","Warn: pipCommand not pinned by hash: .kokoro/tests/run_tests.sh:109","Warn: downloadThenRun not pinned by hash: tensorflow/standard/legacy/flowers/sample.sh:89","Warn: pipCommand not pinned by hash: tools/setup_cloud_shell.sh:31","Warn: pipCommand not pinned by hash: tools/setup_cloud_shell.sh:32","Warn: pipCommand not pinned by hash: tools/setup_cloud_shell.sh:34","Warn: pipCommand not pinned by hash: tools/setup_cloud_shell.sh:38","Warn: pipCommand not pinned by hash: tools/setup_docker.sh:24","Info:   0 out of   6 containerImage dependencies pinned","Info:   1 out of  17 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"218 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-23hm-7w47-xw72","Warn: Project is vulnerable to: GHSA-2475-53vw-vp25","Warn: Project is vulnerable to: GHSA-247x-2f9f-5wp7","Warn: Project is vulnerable to: GHSA-24x4-6qmh-88qg","Warn: Project is vulnerable to: GHSA-24x6-8c7m-hv3f","Warn: Project is vulnerable to: GHSA-26j7-6w8w-7922","Warn: Project is vulnerable to: GHSA-278g-rq84-9hmg","Warn: Project is vulnerable to: GHSA-27j5-4p9v-pp67","Warn: Project is vulnerable to: GHSA-27qf-jwm8-g7f3","Warn: Project is vulnerable to: GHSA-27rc-728f-x5w2","Warn: Project is vulnerable to: GHSA-2cpx-427x-q2c6","Warn: Project is vulnerable to: GHSA-2gfx-95x2-5v3x","Warn: Project is vulnerable to: GHSA-2p25-55c9-h58q","Warn: Project is vulnerable to: GHSA-2p9q-h29j-3f5v","Warn: Project is vulnerable to: GHSA-2r2f-g8mw-9gvr","Warn: Project is vulnerable to: GHSA-2r8p-fg3c-wcj4","Warn: Project is vulnerable to: GHSA-2vv3-56qg-g2cf","Warn: Project is vulnerable to: GHSA-2wmv-37vq-52g5","Warn: Project is vulnerable to: GHSA-2xgj-xhgf-ggjv","Warn: Project is vulnerable to: GHSA-34f9-hjfq-rr8j","Warn: Project is vulnerable to: GHSA-368v-7v32-52fx","Warn: Project is vulnerable to: GHSA-36vm-xw34-x4pj","Warn: Project is vulnerable to: GHSA-374m-jm66-3vj8","Warn: Project is vulnerable to: GHSA-37jf-mjv6-xfqw","Warn: Project is vulnerable to: GHSA-393f-2jr3-cp69","Warn: Project is vulnerable to: GHSA-397c-5g2j-qxpv","Warn: Project is vulnerable to: GHSA-3ff2-r28g-w7h9","Warn: Project is vulnerable to: GHSA-3h8m-483j-7xxm","Warn: Project is vulnerable to: GHSA-3hxh-8cp2-g4hg","Warn: Project is vulnerable to: GHSA-3mw4-6rj6-74g5","Warn: Project is vulnerable to: GHSA-3qgw-p4fm-x7gf","Warn: Project is vulnerable to: GHSA-3qxp-qjq7-w4hf","Warn: Project is vulnerable to: GHSA-3rcw-9p9x-582v","Warn: Project is vulnerable to: GHSA-3w67-q784-6w7c","Warn: Project is vulnerable to: GHSA-428x-9xc2-m8mj","Warn: Project is vulnerable to: GHSA-43jf-985q-588j","Warn: Project is vulnerable to: GHSA-43q8-3fv7-pr5x","Warn: Project is vulnerable to: GHSA-44qp-9wwf-734r","Warn: Project is vulnerable to: GHSA-452g-f7fp-9jf7","Warn: Project is vulnerable to: GHSA-49rq-hwc3-x77w","Warn: Project is vulnerable to: GHSA-49rx-x2rw-pc6f","Warn: Project is vulnerable to: GHSA-4c4g-crqm-xrxw","Warn: Project is vulnerable to: GHSA-4f99-p9c2-3j8x","Warn: Project is vulnerable to: GHSA-4fg4-p75j-w5xj","Warn: Project is vulnerable to: GHSA-4g9f-63rx-5cw4","Warn: Project is vulnerable to: GHSA-4hrh-9vmp-2jgg","Warn: Project is vulnerable to: GHSA-4hvf-hxvg-f67v","Warn: Project is vulnerable to: GHSA-4hvv-7x94-7vq8","Warn: Project is vulnerable to: GHSA-4j82-5ccr-4r8v","Warn: Project is vulnerable to: GHSA-4p4p-www8-8fv9","Warn: Project is vulnerable to: GHSA-4pc4-m9mj-v2r9","Warn: Project is vulnerable to: GHSA-4v5p-v5h9-6xjx","Warn: Project is vulnerable to: GHSA-4vf2-4xcg-65cx","Warn: Project is vulnerable to: GHSA-4vrf-ff7v-hpgr","Warn: Project is vulnerable to: GHSA-4w68-4x85-mjj9","Warn: Project is vulnerable to: GHSA-4xfp-4pfp-89wg","Warn: Project is vulnerable to: GHSA-545v-42p7-98fq","Warn: Project is vulnerable to: GHSA-54ch-gjq5-4976","Warn: Project is vulnerable to: GHSA-54pp-c6pp-7fpx","Warn: Project is vulnerable to: GHSA-558h-mq8x-7q9g","Warn: Project is vulnerable to: GHSA-57wx-m983-2f88","Warn: Project is vulnerable to: GHSA-5889-7v45-q28m","Warn: Project is vulnerable to: GHSA-59q2-x2qc-4c97","Warn: Project is vulnerable to: GHSA-5crj-c72x-m7gq","Warn: Project is vulnerable to: GHSA-5f2r-qp73-37mr","Warn: Project is vulnerable to: GHSA-5gqf-456p-4836","Warn: Project is vulnerable to: GHSA-5hj3-vjjf-f5m7","Warn: Project is vulnerable to: GHSA-5hx2-qx8j-qjqm","Warn: Project is vulnerable to: GHSA-5qw5-89mw-wcg2","Warn: Project is vulnerable to: GHSA-5v77-j66x-4c4g","Warn: Project is vulnerable to: GHSA-5w96-866f-6rm8","Warn: Project is vulnerable to: GHSA-5wpj-c6f7-24x8","Warn: Project is vulnerable to: GHSA-5xwc-mrhx-5g3m","Warn: Project is vulnerable to: GHSA-627q-g293-49q7","Warn: Project is vulnerable to: GHSA-62gx-355r-9fhg","Warn: Project is vulnerable to: GHSA-63xm-rx5p-xvqr","Warn: Project is vulnerable to: GHSA-6445-fm66-fvq2","Warn: Project is vulnerable to: GHSA-647v-r7qq-24fh","Warn: Project is vulnerable to: GHSA-64jg-wjww-7c5w","Warn: Project is vulnerable to: GHSA-66vq-54fq-6jvv","Warn: Project is vulnerable to: GHSA-67pf-62xr-q35m","Warn: Project is vulnerable to: GHSA-689c-r7h2-fv9v","Warn: Project is vulnerable to: GHSA-68v3-g9cm-rmm6","Warn: Project is vulnerable to: GHSA-6f84-42vf-ppwp","Warn: Project is vulnerable to: GHSA-6f89-8j54-29xf","Warn: Project is vulnerable to: GHSA-6gmv-pjp9-p8w8","Warn: Project is vulnerable to: GHSA-6gv8-p3vj-pxvr","Warn: Project is vulnerable to: GHSA-6hg6-5c2q-7rcr","Warn: Project is vulnerable to: GHSA-6hpv-v2rx-c5g6","Warn: Project is vulnerable to: GHSA-6j9c-grc6-5m6g","Warn: Project is vulnerable to: GHSA-6p5r-g9mq-ggh2","Warn: Project is vulnerable to: GHSA-6qgm-fv6v-rfpv","Warn: Project is vulnerable to: GHSA-6wfh-89q8-44jq","Warn: Project is vulnerable to: GHSA-6x99-gv2v-q76v","Warn: Project is vulnerable to: GHSA-75c9-jrh4-79mc","Warn: Project is vulnerable to: GHSA-75f6-78jr-4656","Warn: Project is vulnerable to: GHSA-762h-vpvw-3rcx","Warn: Project is vulnerable to: GHSA-772j-h9xw-ffp5","Warn: Project is vulnerable to: GHSA-772p-x54p-hjrv","Warn: Project is vulnerable to: GHSA-77gp-3h4r-6428","Warn: Project is vulnerable to: GHSA-786j-5qwq-r36x","Warn: Project is vulnerable to: GHSA-79fv-9865-4qcv","Warn: Project is vulnerable to: GHSA-79h2-q768-fpxr","Warn: Project is vulnerable to: GHSA-7cqx-92hp-x6wh","Warn: Project is vulnerable to: GHSA-7fvx-3jfc-2cpc","Warn: Project is vulnerable to: GHSA-7ghq-fvr3-pj2x","Warn: Project is vulnerable to: GHSA-7j3m-8g3c-9qqq","Warn: Project is vulnerable to: GHSA-7jvm-xxmr-v5cw","Warn: Project is vulnerable to: GHSA-7pxj-m4jf-r6h2","Warn: Project is vulnerable to: GHSA-7r94-xv9v-63jw","Warn: Project is vulnerable to: GHSA-7v94-64hj-m82h","Warn: Project is vulnerable to: GHSA-7x4v-9gxg-9hwj","Warn: Project is vulnerable to: GHSA-7xwj-5r4v-429p","Warn: Project is vulnerable to: GHSA-828c-5j5q-vrjq","Warn: Project is vulnerable to: GHSA-828x-qc2p-wprq","Warn: Project is vulnerable to: GHSA-844w-j86r-4x2j","Warn: Project is vulnerable to: GHSA-84jm-4cf3-9jfm","Warn: Project is vulnerable to: GHSA-84mw-34w6-2q43","Warn: Project is vulnerable to: GHSA-87v6-crgm-2gfj","Warn: Project is vulnerable to: GHSA-8c89-2vwr-chcq","Warn: Project is vulnerable to: GHSA-8cxv-76p7-jxwr","Warn: Project is vulnerable to: GHSA-8fvv-46hw-vpg3","Warn: Project is vulnerable to: GHSA-8gv3-57p6-g35r","Warn: Project is vulnerable to: GHSA-8jj7-5vxc-pg2q","Warn: Project is vulnerable to: GHSA-8pmx-p244-g88h","Warn: Project is vulnerable to: GHSA-8r7c-3cm2-3h8f","Warn: Project is vulnerable to: GHSA-8rcj-c8pj-v3m3","Warn: Project is vulnerable to: GHSA-8rm6-75mf-7r7r","Warn: Project is vulnerable to: GHSA-8w5g-3wcv-9g2j","Warn: Project is vulnerable to: GHSA-8wwm-6264-x792","Warn: Project is vulnerable to: GHSA-93vr-9q9m-pj8p","Warn: Project is vulnerable to: GHSA-94mm-g2mv-8p7r","Warn: Project is vulnerable to: GHSA-95xm-g58g-3p88","Warn: Project is vulnerable to: GHSA-9697-98pf-4rw7","Warn: Project is vulnerable to: GHSA-977j-xj7q-2jr9","Warn: Project is vulnerable to: GHSA-97p7-w86h-vcf9","Warn: Project is vulnerable to: GHSA-97wf-p777-86jq","Warn: Project is vulnerable to: GHSA-98j8-c9q4-r38g","Warn: Project is vulnerable to: GHSA-98p5-x8x4-c9m5","Warn: Project is vulnerable to: GHSA-9942-r22v-78cp","Warn: Project is vulnerable to: GHSA-9c78-vcq7-7vxq","Warn: Project is vulnerable to: GHSA-9c84-4hx6-xmm4","Warn: Project is vulnerable to: GHSA-9c8h-2mv3-49ww","Warn: Project is vulnerable to: GHSA-9c8h-vvrj-w2p8","Warn: Project is vulnerable to: GHSA-9cr2-8pwr-fhfq","Warn: Project is vulnerable to: GHSA-9crf-c6qr-r273","Warn: Project is vulnerable to: GHSA-9fpg-838v-wpv7","Warn: Project is vulnerable to: GHSA-9gwq-6cwj-47h3","Warn: Project is vulnerable to: GHSA-9j4v-pp28-mxv7","Warn: Project is vulnerable to: GHSA-9mqp-7v2h-2382","Warn: Project is vulnerable to: GHSA-9p77-mmrw-69c7","Warn: Project is vulnerable to: GHSA-9px9-73fg-3fqp","Warn: Project is vulnerable to: GHSA-9v8w-xmr4-wgxp","Warn: Project is vulnerable to: GHSA-9vpm-rcf4-9wqw","Warn: Project is vulnerable to: GHSA-9vqj-64pv-w55c","Warn: Project is vulnerable to: GHSA-9w2p-5mgw-p94c","Warn: Project is vulnerable to: GHSA-9xh4-23q4-v6wr","Warn: Project is vulnerable to: GHSA-c45w-2wxr-pp53","Warn: Project is vulnerable to: GHSA-c545-c4f9-rf6v","Warn: Project is vulnerable to: GHSA-c582-c96p-r5cq","Warn: Project is vulnerable to: GHSA-c5x2-p679-95wc","Warn: Project is vulnerable to: GHSA-c6fh-56w7-fvjw","Warn: Project is vulnerable to: GHSA-c94w-c95p-phf8","Warn: Project is vulnerable to: GHSA-c968-pq7h-7fxv","Warn: Project is vulnerable to: GHSA-c9f3-9wfr-wgh7","Warn: Project is vulnerable to: GHSA-c9qf-r67m-p7cg","Warn: Project is vulnerable to: GHSA-cfpj-3q4c-jhvr","Warn: Project is vulnerable to: GHSA-cfx7-2xpc-8w4h","Warn: Project is vulnerable to: GHSA-cg88-rpvp-cjv5","Warn: Project is vulnerable to: GHSA-cgfm-62j4-v4rf","Warn: Project is vulnerable to: GHSA-ch4f-829c-v5pw","Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: GHSA-cjgq-5qmw-rcj6","Warn: Project is vulnerable to: GHSA-x4wf-678h-2pmq","Warn: Project is vulnerable to: PYSEC-2023-163 / GHSA-f73w-4m7g-ch9x","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2020-107 / GHSA-jjw5-xxj6-pcv5","Warn: Project is vulnerable to: PYSEC-2024-110 / GHSA-jw8x-6495-233v","Warn: Project is vulnerable to: PYSEC-2020-108","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq","Warn: Project is vulnerable to: GHSA-3wvg-mj6g-m9cv","Warn: Project is vulnerable to: GHSA-3xv8-3j54-hgrp","Warn: Project is vulnerable to: GHSA-43fq-w8qq-v88h","Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3","Warn: Project is vulnerable to: GHSA-4fx9-vc88-q2xc","Warn: Project is vulnerable to: GHSA-57h3-9rgr-c24m","Warn: Project is vulnerable to: GHSA-5gm3-px64-rw72","Warn: Project is vulnerable to: GHSA-7534-mm45-c74v","Warn: Project is vulnerable to: GHSA-77gc-v2xv-rvvh","Warn: Project is vulnerable to: GHSA-7r7m-5h27-29hp","Warn: Project is vulnerable to: GHSA-8843-m7mw-mxqm","Warn: Project is vulnerable to: GHSA-8ghj-p4vj-mr35","Warn: Project is vulnerable to: GHSA-8vj2-vxx3-667w","Warn: Project is vulnerable to: GHSA-8xjq-8fcg-g5hw","Warn: Project is vulnerable to: GHSA-95q3-8gr9-gm8w","Warn: Project is vulnerable to: GHSA-98vv-pw6r-q6q4","Warn: Project is vulnerable to: GHSA-9hx2-hgq2-2g4f","Warn: Project is vulnerable to: GHSA-9j59-75qj-795w","Warn: Project is vulnerable to: GHSA-cqhg-xjhh-p8hf","Warn: Project is vulnerable to: GHSA-f4w8-cv6p-x6r5","Warn: Project is vulnerable to: GHSA-f5g8-5qq7-938w","Warn: Project is vulnerable to: GHSA-g6rj-rv7j-xwp4","Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T01:07:51.080Z","repository_id":43328252,"created_at":"2025-08-15T01:07:51.081Z","updated_at":"2025-08-15T01:07:51.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277652937,"owners_count":25854385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudml","cloudml-samples","gcp","keras","keras-tensorflow","samples"],"created_at":"2024-09-26T21:00:45.906Z","updated_at":"2025-09-30T08:31:49.587Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"Python","readme":"# AI Platform Training and Prediction\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\nWelcome to the [AI Platform Training and Prediction](https://cloud.google.com/ml-engine/docs/) sample code repository. This repository contains samples for how to use AI Platform for model training and serving.\n\n## Attention: **Visit our new Vertex AI repo [vertex-ai-samples](https://github.com/GoogleCloudPlatform/vertex-ai-samples)**\n\n\n## Google Machine Learning Repositories\n\n- [ML on GCP](https://github.com/GoogleCloudPlatform/ml-on-gcp), which has guides on how to bring your code from various ML frameworks to [Google Cloud Platform](https://cloud.google.com/) using things like [Google Compute Engine](https://cloud.google.com/compute/) or [Kubernetes](https://kubernetes.io/).\n- [Keras Idiomatic Programmer](https://github.com/GoogleCloudPlatform/keras-idiomatic-programmer) This repository contains content produced by Google Cloud AI Developer Relations for machine learning and artificial intelligence. The content covers a wide spectrum from educational, training, and research, covering from novices, junior/intermediate to advanced.\n- [Professional Services](https://github.com/GoogleCloudPlatform/professional-services), common solutions and tools developed by Google Cloud's Professional Services team.\n\nOverview\n----------\n\nThe repository is organized by tasks: \n\n - [Training](#ai-platform-training)\n - [Prediction](#ai-platform-prediction-online-predictions)\n - [Training and Prediction](#complete-guide-model-training-and-prediction-on-ai-platform)\n \nEach task can be broken down to general usage `(CPU/GPU)` to specific features: \n\n - [Hyperparameter Tuning](#hyperparameter-tuning-hp-tuning)\n - [TPUs](#cloud-tpu) \n \nScroll down to see what we have available, each task may provide a notebook or code solution. Where the code solution will have a `README` guide and the notebook solution is a full walkthrough. Our code guides are designed to provide you with the code and instructions on how to run the code, but leave you to do the digging, where our notebook tutorials try to walk you through the whole process by having the code available in the notebook throughout the guide.\n\nIf you don’t see something for the task you’re trying to complete, please head down to our section [What do you want to see?](#what-do-you-want-to-see)\n\nSetup\n-------\nFor installation instructions and overview, please see [the documentation](https://cloud.google.com/ml-engine/docs/). Please refer to `README.md` in each sample directory for more specific instructions.\n\nGetting Started\n---------------\nIf this is your first time using [AI Platform](https://cloud.google.com/ml-engine/docs/), we suggest you take a look at the [Introduction to AI Platform](https://cloud.google.com/ml-engine/docs/technical-overview) docs to get started.\n\n## AI Platform Training\n\n#### Notebook Tutorial:\n* [scikit-learn: Random Forest Classifier](notebooks/scikit-learn/TrainingWithScikitLearnInCMLE.ipynb) - How to train a Random Forest Classifier in scikit-learn using a text based dataset, Census, to predict a person’s income level.\n* [XGBoost](notebooks/xgboost/TrainingWithXGBoostInCMLE.ipynb) - How to train an XGBoost model using a text based dataset, Census, to predict a person’s income level.\n\n#### Code Guide:\n* [Tensorflow: Linear Classifier with Stochastic Dual Coordinate Ascent (SDCA) Optimizer / Deep Neural Network Classifier](tensorflow/standard/legacy/criteo_tft) - How to train a Linear Classifier with SDCA and a DNN using a text (discrete feature) based dataset, Criteo, to predict how likely a person is to click on an advertisement.\n* [Tensorflow: Linear Regression with Stochastic Dual Coordinate Ascent (SDCA) / Deep Neural Network Regressor](tensorflow/standard/legacy/reddit_tft) - How to train a Linear Regressor with SDCA and a DNN using the a text based dataset of Reddit Comments to predict the score of a Reddit thread using a wide and deep model.\n* [Tensorflow: ResNet](https://github.com/tensorflow/models/tree/master/tutorials/image/cifar10_estimator) - How to train a model for image recognition using the CIFAR10 dataset to classify image content (training on one CPU, a single host with multiple GPUs, and multiple hosts with CPU or multiple GPUs).\n\n### Cloud TPUs\n\nTensor Processing Units (TPUs) are Google’s custom-developed ASICs used to accelerate machine-learning workloads. You can run your training jobs on AI Platform, using Cloud TPU.\n\n* [Tensorflow: ResNet](tpu/training/resnet) - Using the ImageNet dataset with Cloud TPUs on AI Platform.\n* [Tensorflow: HP Tuning - ResNet](tpu/hptuning/resnet-hptuning) - How to run hyperparameter tuning jobs on AI Platform with Cloud TPUs using TensorFlow's tf.metrics.\n* [Tensorflow: Hypertune - ResNet](tpu/hptuning/resnet-hypertune) - How to run hyperparameter tuning jobs on AI Platform with Cloud TPUs using the cloudml-hypertune package.\n* [Tensorflow: Cloud TPU Templates](tpu/templates) - A collection of minimal templates that can be run on Cloud TPUs on Compute Engine, Cloud Machine Learning, and Colab.\n\n### Hyperparameter Tuning (HP Tuning)\n\n#### Notebook Tutorial:\n* [scikit-learn: Lasso Regressor](notebooks/scikit-learn/HyperparameterTuningWithScikitLearnInCMLE.ipynb) - How to train a Lasso Regressor in scikit-learn using a text based dataset, auto mpg, to predict a car's miles per gallon.\n* [XGBoost: XGBRegressor](notebooks/xgboost/HyperparameterTuningWithXGBoostInCMLE.ipynb) - How to train a Regressor in XGBoost using a text based dataset, auto mpg, to predict a car's miles per gallon.\n\n### Containers\n* [Keras: Sequential / Dense](tensorflow/containers/unsupported_runtime) - How to train a Keras model using the Nightly Build of TensorFlow on AI Platform using a structured dataset, sonar signals, to predict whether the given sonar signals are bouncing off a metal cylinder or off a cylindrical rock.\n* [PyTorch: Deep Neural Network](pytorch/containers/quickstart) - How to train a PyTorch model on AI Platform using a custom container with a image dataset, mnist, to classify handwritten digits.\n* [PyTorch: Sequential](pytorch/containers/custom_container) - How to train a PyTorch model on AI Platform using a custom container with a structured dataset, sonar signals, to predict whether the given sonar signals are bouncing off a metal cylinder or off a cylindrical rock.\n* [PyTorch: Sequential / HP Tuning](pytorch/containers/hp_tuning) - How to train a PyTorch model on AI Platform using a custom container and Hyperparameter Tuning with a structured dataset, sonar signals, to predict whether the given sonar signals are bouncing off a metal cylinder or off a cylindrical rock.\n\n## AI Platform Prediction (Online Predictions)\n\n#### Notebook Tutorial:\n* [scikit-learn: Model Serving](notebooks/scikit-learn/OnlinePredictionWithScikitLearnInCMLE.ipynb) - How to train a Random Forest Classifier in scikit-learn on your local machine using a text based dataset, Census, to predict a person’s income level and deploy it on AI Platform to create predictions.\n* [XGBoost: Model Serving](notebooks/xgboost/OnlinePredictionWithXGBoostInCMLE.ipynb) -  How to train an XGBoost model on your local machine using a text based dataset, Census, to predict a person’s income level and deploy it on AI Platform to create predictions.\n\n## Complete Guide: Model Training and Prediction on AI Platform\n\n#### Code Guide:\n* [Tensorflow: Deep Neural Network Regressor](molecules) - How to train a DNN on a text based molecular dataset from Kaggle to predict the molecular energy.\n* [Tensorflow: Softmax / Fully-connected layer](flowers) - How to train a fully connected model with softmax using an image dataset of flowers to recognize the type of a flower from its image.\n\n### Hyperparameter Tuning (HP Tuning)\n\n#### Code Guide:\n\n* [Keras: Sequential / Dense](census/keras) - [Keras](https://keras.io/) - How to train a Keras sequential and Dense model using a text based dataset, Census, to predict a person’s income level using a single node model.\n* [Tensorflow Pre-made Estimator: Deep Neural Network Linear Combined Classifier](census/estimator) -How to train a DNN using Tensorflow’s Pre-made Estimators using a text based dataset, Census, to predict a person’s income level. [TensorFlow Pre-made Estimator](https://www.tensorflow.org/programmers_guide/estimators#pre-made_estimators), an estimator is “a high-level TensorFlow API that greatly simplifies machine learning programming.”\n* [Tensorflow Custom Estimator: Deep Neural Network](census/customestimator) - How to train a DNN using Tensorflow’s Custom Estimators using a text based dataset, Census, to predict a person’s income level. [TensorFlow Custom Estimator](https://www.tensorflow.org/programmers_guide/estimators#custom_estimators), which is when you write your own model function. \n* [Tensorflow: Deep Neural Network](census/tensorflowcore) - How to train a DNN using TensorFlow’s low level APIs to create your DNN model on a single node using a text based dataset, Census, to predict a person’s income level.\n* [Tensorflow: Matrix Factorization / Deep Neural Network with Softmax](tensorflow/standard/legacy/movielens) - How to train a Matrix Factorization and DNN with Softmax using a text based dataset, MovieLens 20M, to make movie recommendations.\n\nTemplates\n---------\n\n* [TensorFlow Estimator Trainer Package Template](cloudml-template) - When training a Tensorflow model, you have to create a trainer package, here we have a template that simplifies creating a trainer package for AI Platform. Take a look at this list with some introductory [examples](cloudml-template/examples/). \n\n* [Tensorflow: Cloud TPU Templates](tpu/templates) - A collection of minimal templates that can be run on Cloud TPUs on Compute Engine, Cloud Machine Learning, and Colab.\n\n* [Scikit-learn Pipelines Trainer Package Template](sklearn/sklearn-template/template) - You can use this as starter code to develop a scikit-learn model for training and prediction on AI Platform. [Examples](sklearn/sklearn-template/examples) to be added.\n\n\nAdditional Resources\n--------------------\n\n- ### Cloud TPU \nPlease see the [Cloud TPU guide](tpu) for how to use Cloud TPU.\n\n- ### Google Samples\n\n  * [Genomics Ancestry Inference](https://github.com/googlegenomics/cloudml-examples) - Genomics ancestry inference using 1000 Genomes dataset\n\n\n## What do you want to see?\n\nIf you came looking for a sample we don’t have, please file an issue using the [Sample / Feature Request](https://github.com/GoogleCloudPlatform/cloudml-samples/issues/new?template=sample-feature-request.md) template on this repository. Please provide as much detail as possible about the AI Platform sample you were looking for, what framework (Tensorflow, Keras, scikit-learn, XGBoost, PyTorch...), the type of model, and what kind of dataset you were hoping to use! \n\nJump below if you want to contribute and add that missing sample.\n\nHow to contribute?\n------------------\n\nWe welcome external sample contributions! To learn more about contributing new samples, checkout our [CONTRIBUTING.md](CONTRIBUTING.md) guide. Please feel free to add new samples that are built in notebook form or code form with a README guide. \n\nWant to contribute but don't have an idea? Check out our [Sample Request Page](https://github.com/GoogleCloudPlatform/cloudml-samples/issues?q=is%3Aissue+is%3Aopen+label%3ASAMPLE_REQUEST) and assign the issue to yourself so we know you're working on it!\n\nDocumentation\n-------------\n\nWe host AI Platform documentation [here](https://cloud.google.com/ml-engine/docs/)\n\n\nDisclaimer\n-------------\n\nThe content in the `CloudML-Samples` repository is not officially maintained by Google.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloudml-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fcloudml-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloudml-samples/lists"}