Skip to content

Commit

Permalink
review mle questions
Browse files Browse the repository at this point in the history
  • Loading branch information
eavelardev committed Nov 24, 2022
1 parent abec8d1 commit 5d2f3ac
Show file tree
Hide file tree
Showing 6 changed files with 2,725 additions and 2,579 deletions.
File renamed without changes.
99 changes: 60 additions & 39 deletions mle_certificate/certification_exam_guide.ipynb

Large diffs are not rendered by default.

71 changes: 11 additions & 60 deletions mle_certificate/mle_exam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -14,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,17 +23,9 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Number of total questions: 235\n"
]
}
],
"outputs": [],
"source": [
"print(f'Number of total questions: {len(questions)}')\n",
"questions = random.sample(questions, len(questions))\n",
Expand All @@ -45,7 +37,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -74,7 +66,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -95,7 +87,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -125,59 +117,18 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Your company runs a big retail website. You develop many ML models for all the business activities.\n",
"You migrated to Google Cloud. Your models are developed with PyTorch, TensorFlow and BigQueryML.\n",
"You are now working on an international project with other partners.\n",
"You need to let them use your Vertex AI dataset in Cloud Storage for a different organization.\n",
"What can you do?\n",
"\n",
"* Exporting metadata and annotations in a CSV file\n",
"\n",
"* Copy the data in a removable storage\n",
"\n",
"* Give access (Service account or signed URL) to the Cloud Storage file\n",
"\n",
"* Let them use your GCP Account\n",
"\n",
"* Exporting metadata and annotations in a JSONL file\n"
]
}
],
"outputs": [],
"source": [
"i, c = get_question(i)"
]
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"* Exporting metadata and annotations in a JSONL file\n",
"\n",
"* Give access (Service account or signed URL) to the Cloud Storage file\n",
"\n",
"You can export a Dataset; when you do that, no additional copies of data are generated. The result is only JSONL files with all the useful information, including the Cloud Storage files URIs.\n",
"But you have to grant access to these Cloud Storage files with a Service account or a signed URL, if to be used outside GCP.\n",
"* Let them use your GCP Account, Copy the data in a removable storage are wrong mainly for security reasons.\n",
"* Annotations are written in JSON files.\n",
"\n",
"* https://cloud.google.com/vertex-ai/docs/datasets/export-metadata-annotations\n",
"* https://cloud.google.com/vertex-ai/docs/datasets/datasets\n",
"* https://codelabs.developers.google.com/codelabs/vertex-ai-custom-code-training\n"
]
}
],
"outputs": [],
"source": [
"c = get_answers(i, c)"
]
Expand Down
Loading

0 comments on commit 5d2f3ac

Please sign in to comment.