Skip to content

Commit 864a66d

Browse files
fix typos
1 parent 35ab4e0 commit 864a66d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

00_tensorflow_fundamentals.ipynb

+11-11
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"\n",
4949
"TensorFlow is vast. But the main premise is simple: turn data into numbers (tensors) and build machine learning algorithms to find patterns in them.\n",
5050
"\n",
51-
"In this notebook we cover some of the most fundamental TensorFlow operations, more specificially:\n",
51+
"In this notebook we cover some of the most fundamental TensorFlow operations, more specifically:\n",
5252
"* Introduction to tensors (creating tensors)\n",
5353
"* Getting information from tensors (tensor attributes)\n",
5454
"* Manipulating tensors (tensor operations)\n",
@@ -481,9 +481,9 @@
481481
"* **scalar**: a single number.\n",
482482
"* **vector**: a number with direction (e.g. wind speed with direction).\n",
483483
"* **matrix**: a 2-dimensional array of numbers.\n",
484-
"* **tensor**: an n-dimensional arrary of numbers (where n can be any number, a 0-dimension tensor is a scalar, a 1-dimension tensor is a vector). \n",
484+
"* **tensor**: an n-dimensional array of numbers (where n can be any number, a 0-dimension tensor is a scalar, a 1-dimension tensor is a vector). \n",
485485
"\n",
486-
"To add to the confusion, the terms matrix and tensor are often used interchangably.\n",
486+
"To add to the confusion, the terms matrix and tensor are often used interchangeably.\n",
487487
"\n",
488488
"Going forward since we're using TensorFlow, everything we refer to and use will be tensors.\n",
489489
"\n",
@@ -543,7 +543,7 @@
543543
"id": "A4WrQ8c2ux15"
544544
},
545545
"source": [
546-
"Now let's try to change one of the elements of the changable tensor."
546+
"Now let's try to change one of the elements of the changeable tensor."
547547
]
548548
},
549549
{
@@ -673,7 +673,7 @@
673673
"source": [
674674
"### Creating random tensors\n",
675675
"\n",
676-
"Random tensors are tensors of some abitrary size which contain random numbers.\n",
676+
"Random tensors are tensors of some arbitrary size which contain random numbers.\n",
677677
"\n",
678678
"Why would you want to create random tensors? \n",
679679
"\n",
@@ -809,7 +809,7 @@
809809
"\n",
810810
"Wait, why would you want to do that?\n",
811811
"\n",
812-
"Let's say you working with 15,000 images of cats and dogs and the first 10,000 images of were of cats and the next 5,000 were of dogs. This order could effect how a neural network learns (it may overfit by learning the order of the data), instead, it might be a good idea to move your data around."
812+
"Let's say you working with 15,000 images of cats and dogs and the first 10,000 images were of cats and the next 5,000 were of dogs. This order could effect how a neural network learns (it may overfit by learning the order of the data), instead, it might be a good idea to move your data around."
813813
]
814814
},
815815
{
@@ -1108,7 +1108,7 @@
11081108
"source": [
11091109
"## Getting information from tensors (shape, rank, size)\n",
11101110
"\n",
1111-
"There will be times when you'll want to get different pieces of information from your tensors, in particuluar, you should know the following tensor vocabulary:\n",
1111+
"There will be times when you'll want to get different pieces of information from your tensors, in particular, you should know the following tensor vocabulary:\n",
11121112
"* **Shape:** The length (number of elements) of each of the dimensions of a tensor.\n",
11131113
"* **Rank:** The number of tensor dimensions. A scalar has rank 0, a vector has rank 1, a matrix is rank 2, a tensor has rank n.\n",
11141114
"* **Axis** or **Dimension:** A particular dimension of a tensor.\n",
@@ -1450,7 +1450,7 @@
14501450
"source": [
14511451
"## Manipulating tensors (tensor operations)\n",
14521452
"\n",
1453-
"Finding patterns in tensors (numberical representation of data) requires manipulating them.\n",
1453+
"Finding patterns in tensors (numerical representation of data) requires manipulating them.\n",
14541454
"\n",
14551455
"Again, when building models in TensorFlow, much of this pattern discovery is done for you."
14561456
]
@@ -1463,7 +1463,7 @@
14631463
"source": [
14641464
"### Basic operations\n",
14651465
"\n",
1466-
"You can perform many of the basic mathematical operations directly on tensors using Pyhton operators such as, `+`, `-`, `*`."
1466+
"You can perform many of the basic mathematical operations directly on tensors using Python operators such as, `+`, `-`, `*`."
14671467
]
14681468
},
14691469
{
@@ -2067,7 +2067,7 @@
20672067
"\n",
20682068
"### The dot product\n",
20692069
"\n",
2070-
"Multiplying matrices by eachother is also referred to as the dot product.\n",
2070+
"Multiplying matrices by each other is also referred to as the dot product.\n",
20712071
"\n",
20722072
"You can perform the `tf.matmul()` operation using [`tf.tensordot()`](https://www.tensorflow.org/api_docs/python/tf/tensordot). "
20732073
]
@@ -3750,4 +3750,4 @@
37503750
]
37513751
}
37523752
]
3753-
}
3753+
}

0 commit comments

Comments
 (0)