In [ ]:
workspace_path = '/content/datalab/workspace/census'
!rm -fr {workspace_path}
In [ ]:
import google.datalab as datalab
import os
storage_bucket = 'gs://' + datalab.Context.default().project_id + '-datalab-workspace/'
workspace_path = os.path.join(storage_bucket, 'census')
!gsutil -m rm -rf {workspace_path}
In [ ]:
model_name = 'census'
model_version = 'v1'
!gcloud ml-engine versions delete {model_version} --model {model_name}
!gcloud ml-engine models delete {model_name}
In [ ]: