Update Online Prediction with scikit-learn.ipynb
Small cleanup real quick.
"name": "stdout",
"output_type": "stream",
"text": [
- "env: PROJECT_ID=true-ability-192918\n",
- "env: BUCKET_NAME=true-ability-192918\n",
+ "env: PROJECT_ID=PROJECT_ID\n",
+ "env: BUCKET_NAME=BUCKET_NAME\n",
"env: MODEL_NAME=census\n",
"env: VERSION_NAME=v1\n",
"env: REGION=us-central1\n"
}
],
"source": [
- "%env PROJECT_ID true-ability-192918\n",
- "%env BUCKET_NAME true-ability-192918\n",
+ "%env PROJECT_ID PROJECT_ID\n",
+ "%env BUCKET_NAME BUCKET_NAME\n",
"%env MODEL_NAME census\n",
"%env VERSION_NAME v1\n",
"%env REGION us-central1"
"name": "stdout",
"output_type": "stream",
"text": [
- "Created ml engine model [projects/true-ability-192918/models/census].\r\n"
+ "Created ml engine model [projects/PROJECT_ID/models/census].\r\n"
]
}
],
"source": [
"First, we need to create a YAML file to configure our model version.\n",
"\n",
- "__REPLACE:__ `PREVIOUSLY_SPECIFIED_BUCKET_ID` with your `BUCKET_ID`\n"
+ "__REPLACE:__ `PREVIOUSLY_SPECIFIED_BUCKET_NAME` with your `BUCKET_NAME`\n"
]
},
{
],
"source": [
"%%writefile ./config.yaml\n",
- "deploymentUri: \"gs://true-ability-192918/\"\n",
+ "deploymentUri: \"gs://BUCKET_NAME/\"\n",
"runtimeVersion: '1.4'\n",
"framework: \"SCIKIT_LEARN\"\n",
"pythonVersion: \"3.5\""
