Skip to content

Commit

Permalink
fixed minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bckenstler committed Aug 16, 2017
1 parent 7a3b397 commit df3cc11
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions deeplearning2/kmeans_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [default]",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1170,7 +1170,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down
31 changes: 12 additions & 19 deletions deeplearning2/meanshift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 1,
"metadata": {
"collapsed": false,
"deletable": true,
Expand All @@ -40,21 +40,19 @@
"cell_type": "markdown",
"metadata": {
"deletable": true,
"editable": true,
"heading_collapsed": true
"editable": true
},
"source": [
"## Create data"
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {
"collapsed": true,
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"outputs": [],
"source": [
Expand All @@ -66,21 +64,19 @@
"cell_type": "markdown",
"metadata": {
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"source": [
"To generate our data, we're going to pick 6 random points, which we'll call centroids, and for each point we're going to generate 250 random points about it."
]
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 3,
"metadata": {
"collapsed": true,
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"outputs": [],
"source": [
Expand All @@ -94,8 +90,7 @@
"cell_type": "markdown",
"metadata": {
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"source": [
"Below we can see each centroid marked w/ X, and the coloring associated to each respective cluster."
Expand All @@ -107,8 +102,7 @@
"metadata": {
"collapsed": true,
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"outputs": [],
"source": [
Expand All @@ -127,8 +121,7 @@
"metadata": {
"collapsed": false,
"deletable": true,
"editable": true,
"hidden": true
"editable": true
},
"outputs": [
{
Expand Down Expand Up @@ -840,7 +833,7 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [default]",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -854,7 +847,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down
12 changes: 10 additions & 2 deletions deeplearning2/neural-sr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@
"metadata": {
"collapsed": false,
"deletable": true,
"editable": true
"editable": true,
"scrolled": true
},
"outputs": [
{
Expand All @@ -376,6 +377,13 @@
"its = len(arr_hr)//16; its"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"NOTE: Batch size must be a multiple of chunk length."
]
},
{
"cell_type": "code",
"execution_count": 34,
Expand Down Expand Up @@ -763,7 +771,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit df3cc11

Please sign in to comment.