[go: nahoru, domu]

Skip to content

Commit

Permalink
the first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cfregly committed Mar 1, 2020
0 parents commit 2589dc0
Show file tree
Hide file tree
Showing 938 changed files with 281,261 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.ipynb_checkpoints/
96 changes: 96 additions & 0 deletions 01_setup/01_Setup.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1. Create S3 Bucket"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"export S3_BUCKET=sagemaker-$(aws configure get region)-$(aws sts get-caller-identity | jq -r '.Account')\n",
"echo \"export S3_BUCKET=${S3_BUCKET}\" | tee -a ~/.bash_profile\n",
"\n",
"# Create a new S3 bucket and upload the dataset. \n",
"aws s3 mb s3://${S3_BUCKET}\n",
"\n",
"echo \"Completed\"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 2. Verify S3_BUCKET Env Variable"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"source ~/.bash_profile\n",
"\n",
"echo \"${S3_BUCKET}\"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 3. Verify S3_BUCKET Bucket Creation"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"source ~/.bash_profile\n",
"\n",
"aws s3 ls s3://${S3_BUCKET}\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "conda_python3",
"language": "python",
"name": "conda_python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
39 changes: 39 additions & 0 deletions 02_intro/Intro.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![](img/outline.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "conda_python3",
"language": "python",
"name": "conda_python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
324 changes: 324 additions & 0 deletions 03_ingest/00_Ingest_Dataset.ipynb

Large diffs are not rendered by default.

215 changes: 215 additions & 0 deletions 03_ingest/01_Explore_Redshift.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 2589dc0

Please sign in to comment.